Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209117 - Request: package dev-util/netbeans-6.1
Summary: Request: package dev-util/netbeans-6.1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Miroslav Šulc
URL:
Whiteboard:
Keywords: InOverlay
Depends on: 208013 209344 209347
Blocks:
  Show dependency tree
 
Reported: 2008-02-06 11:10 UTC by Miroslav Šulc
Modified: 2008-11-21 01:36 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2008-02-06 11:10:19 UTC
This is a tracker bug. Netbeans 6.1 should be released in March.

Latest ebuild is in java-experimental overlay. Currently it is p.mask'd. Atm, only netbeans platform and 'harness' clusters compile without problem and without bundled stuff (except tomcat-webserver-3.2.jar which we do not plan to unbundle). Currently I work on 'ide' cluster, and dev-java/netbeans-svnclientadapter needs to be packaged now.

Path to ebuild in java-experimental overlay: http://overlays.gentoo.org/proj/java/browser/java-experimental/dev-util/netbeans

Only ebuilds >= netbeans-6.1_alpha20080127134700 are the newest ones, previous ebuilds are still based on CVS repository. The latest ebuild is based on mercurial repository (netbeans moved from CVS to mercurial few weeks ago).

Any help, especially with packaging needed deps and testing is appreciated.
Comment 1 Miroslav Šulc gentoo-dev 2008-04-30 09:21:53 UTC
Now netbeans-6.1 with all the bundled stuff is available in java-experimental overlay. No p.masking is applied now. All netbeans clusters are buildable atm. I need to unbundle the jars now.
Comment 2 Michael 2008-06-23 11:00:12 UTC
Could 6.1 -please- finally be moved into the main portage tree?
Comment 3 Mark Nowiasz 2008-07-30 14:50:11 UTC
(In reply to comment #2)
> Could 6.1 -please- finally be moved into the main portage tree?
> 

Yes, please - 6.1 has been out for a couple of months.

Is there any chance that 6.1 will be moved into the main portage tree this year or do I have to install it directly from netbeans.org? (Using java-experimental is not an option for a couple of reasons).

Thanks in advance,
Mark


Comment 4 Miroslav Šulc gentoo-dev 2008-07-31 10:33:48 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Could 6.1 -please- finally be moved into the main portage tree?
> > 
> 
> Yes, please - 6.1 has been out for a couple of months.
> 
> Is there any chance that 6.1 will be moved into the main portage tree this year
> or do I have to install it directly from netbeans.org? (Using java-experimental
> is not an option for a couple of reasons).
> 
> Thanks in advance,
> Mark
> 

If that would be that easy, nb 6.1 would already be in tree. I'd suggest you install nb from upstream, it will take some time to get nb 6.1 to tree and I am the only developer working on this ebuild and currenty short of time.
Comment 5 Mark Nowiasz 2008-07-31 17:42:09 UTC
(In reply to comment #4)

> If that would be that easy, nb 6.1 would already be in tree. I'd suggest you
> install nb from upstream, it will take some time to get nb 6.1 to tree and I am
> the only developer working on this ebuild and currenty short of time.

Ah, thanks. I didn't mean to wind you up - just wanted to know if makes sense to install it from upstream :-)

(In fact, installing it via netbeans org did work very well - I haven't encountered any problem).

Thanks for your work,
Mark


Comment 6 Michael 2008-09-12 00:48:38 UTC
I am very concerened about maintaining a 'clean' system. Can anyone tell me what problems I might experience with and upstream installation?
Comment 7 Marek Sapota 2008-09-12 08:59:27 UTC
Can't you use the ebuild from overlay? Worked fine for me. Only problems with upstream install that I can imagine are:
- not met dependences as they are not installed automatically
- netbeans binaries being compiled against other versions of libraries than you use, but as others successfully used it, it shouldn't be a problem
- higher chance that something will be left when you remove this package
Comment 8 Mark Nowiasz 2008-09-12 14:27:14 UTC
(In reply to comment #7)
> Can't you use the ebuild from overlay? Worked fine for me. 

Didn't work fine with me :-( Whenever I tried to open a new project, netbeans (from overlay) crashed.
> - not met dependences as they are not installed automatically

No problem at all

> - netbeans binaries being compiled against other versions of libraries than you
> use, but as others successfully used it, it shouldn't be a problem

Yup - again: no problem.

> - higher chance that something will be left when you remove this package

Nope: when you install netbeans from upstream, it installs itself in $HOME/netbeans-6.1. The system itself isn't touched in any way. Removing it should be piece of cake: rm -rf $HOME/netbeans-6.1

There's a distinct advantage installing it from upstream which I haven't considered before:

Since netbeans is able to update parts of itself, it's *very* convenient to do so (since all files reside in your home directory). If installed via portage this isn't so easy - because in *that* case root owns netbeans and one has to run netbeans as root to upgrade (which isn't a very good idea).

The drawback: it's only installed for one user (instead of system wide).

I can live with that - in fact, I like the update feature so much I won't install netbeans via portage, even if it's available.
Comment 9 Miroslav Šulc gentoo-dev 2008-09-12 16:00:09 UTC
(In reply to comment #8)
> ...
> There's a distinct advantage installing it from upstream which I haven't
> considered before:
> 
> Since netbeans is able to update parts of itself, it's *very* convenient to do
> so (since all files reside in your home directory). If installed via portage
> this isn't so easy - because in *that* case root owns netbeans and one has to
> run netbeans as root to upgrade (which isn't a very good idea).
> ...

I don't agree with this. AFAIK, netbeans can either install the updates as shared (that's really not possible in gentoo because of the root permissions) or locally just for the user running netbeans. So even if you install netbeans using ebuild, you can install new plugins and upgrade older ones.
Comment 10 Michael 2008-10-12 22:59:03 UTC
Yup, installing it from upstream puts it as far as I see cleanly in ~/netbeans-x.x
This is completly sufficent for me, keeps my system clean anyways.

For any single-user system I would recommend the upstream installation.
Comment 11 Harrison Metzger 2008-11-02 13:15:36 UTC
Any chance 6.1 is going to wind up in the main gentoo repository soon?
Comment 12 Miroslav Šulc gentoo-dev 2008-11-02 13:25:19 UTC
No, but you can expect netbeans 6.5 being in tree in the second half of November if everything goes well.
Comment 13 Miroslav Šulc gentoo-dev 2008-11-21 01:36:03 UTC
netbeans 6.5 is in the main tree, you are encouraged to use it instead of netbeans 6.1. I removed netbeans 6.1 from overlay as it is obsoleted by netbeans 6.5.