Re: [gentoo-user] eclipse portage package

2009-11-28 Thread Chuck Robey
Alan McKinnon wrote:
 On Wednesday 25 November 2009 19:20:43 Chuck Robey wrote:
 I need to get an up-to-date version of eclipse working on my gentoo
  box.  First question is, is there a Galileo (3.5+) version of eclipse
  available as a portage package?  I can't find it, so I'd really appreciate
  a pointer.  The only thing I can see is a fairly old eclipse version (I
  think a year or more out of date).

 Second question, at the eclipse website, I see a binary version of the
  latest Linux-eclipse (the version I'm after).  If I *can't* get a portage
  package version of Galileo-eclipse, then if I install the binary package
  (non-portage) from the eclipse website, can I get (and how can I get)
  portage to consider this package as supplying any dependency which would
  be otherwise supplied by the latest (ganymede, 3.4+) portage version of
  the eclipse tool

Several comments about answers here.  First, to Marcus Wanner, yes, the first
two eclipse packages work for 3.5, but they AREN'T eclipse, they are plugins for
eclipse (plugins for what I really want).  The 3rd is eclipse-sdk, the only one
you don't cover and the only one I really need.  Of course I know how to handle
them, but without having eclipse itself, it's not useful.

It *seems to me that Mark Knecht is telling me that there's no way the binary
from the eclipse site would work, so he tells me how to install the two which do
me no good.  Again, this isn't helpful.  The 3rd package is (in your own mail)
still stuck at 3.4.x, and that's the real eclipse sdk.

Alan McKinnon's response, below, seems to be telling me that I really should go
ahead and try to use the binary from the eclipse site, and not to worry about
getting into dependency problems with portage.  Normally, most package tools
from any OS get truly destructive if you fail to their tools ONLY, so I was
hoping to find some way to effectively lie to portage, keep portage from getting
upset.  Seeing as I've gotten no advice on how to hoodwink portage, I just went
ahead and used the 3.5.1 (x86-64) version of their Linux(x86-64) binary eclipse
package, and it's working just fine.  I had to get the sun-jdk installed
(portage at least didn't offer me any problems here) and (at least until I run
into more eclipse packages) it all seems to be working.

If think that perhaps I can mask off everything from portage regarding any
eclipse package, and maybe that will lessen my chances of having portage step on
my system for me.  This just occurred to me, and maybe it's the only thing I 
can do.

 
 Have you considered simply installing the binary eclipse into ~ and 
 maintaining it using the bundled eclipse tools? This removes portage out of 
 the equation entirely - no fooling around with *provided
 
 That is the method used by most Linux users and it's highly unlikely it won't 
 work - gentoo doesn't do weird things with where libs etc are stored.
 
 Plus, you have the advantage of being to install plugins directly from 
 eclipse 
 without having to become root and run emerge. It the same order of magnitude 
 as using Firefox to install it's own plugins.
 




Re: [gentoo-user] eclipse portage package

2009-11-28 Thread Alan McKinnon
On Saturday 28 November 2009 22:18:06 Chuck Robey wrote:
 Alan McKinnon's response, below, seems to be telling me that I really
  should go ahead and try to use the binary from the eclipse site, and not
  to worry about getting into dependency problems with portage.  Normally,
  most package tools from any OS get truly destructive if you fail to their
  tools ONLY, so I was hoping to find some way to effectively lie to
  portage, keep portage from getting upset.  Seeing as I've gotten no advice
  on how to hoodwink portage, I just went ahead and used the 3.5.1 (x86-64)
  version of their Linux(x86-64) binary eclipse package, and it's working
  just fine.  I had to get the sun-jdk installed (portage at least didn't
  offer me any problems here) and (at least until I run into more eclipse
  packages) it all seems to be working.
 

eclipse, netbeans, android-sdk and a few other development environments come 
with their own maintenance environments. If you install them into /usr/ they 
might cause some trouble (but this is most unlikely)

If you install them into ~/ (where just you can use them) or /usr/local/ 
(where all users can use them), then you are almost certain to not cause any 
problems whatsoever.

There is no need to try to fool portage in any way. All you are doing is the 
exact same principle as using Firefox to manage it's own plugins and 
extensions, just on a larger scale. This is why you got no responses on that 
matter - you are concerned about  problem that does not exist.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] eclipse portage package

2009-11-28 Thread Marcus Wanner

On 11/28/2009 3:18 PM, Chuck Robey wrote:
Several comments about answers here. First, to Marcus Wanner, yes, the 
first

two eclipse packages work for 3.5, but they AREN'T eclipse, they are plugins for
eclipse (plugins for what I really want).  The 3rd is eclipse-sdk, the only one
you don't cover and the only one I really need.  Of course I know how to handle
them, but without having eclipse itself, it's not useful.
  

In that case, you would follow my instructions, except change the
ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-ecj
command to
ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-sdk
and the
emerge -av eclipse-ecj
command to
emerge -av eclipse-sdk

However, if you have it working, you can disregard my advice entirely.

Marcus

Marcus




Re: [gentoo-user] eclipse portage package

2009-11-26 Thread Florian Philipp
Chuck Robey schrieb:
 I was checking to see what version of eclipse seems to have a portage package,
 and I was kinda shocked that the package seems a bit outdated.  3.4 is the
 current portage package, but eclipse has been at 3.5 for a good while now.
 Seeing as the eclipse website has a linux binary 3.5+ package, unless I've
 overlooked something available from gentoo (I would be overjoyed to have made
 that mistake) then I'm going to be forced to see how to coax portage to allow 
 me
 to use that eclipse site binary package to sub for ALL eclipse packages.
 
 Anyone know how to get portage to make externally supplied binaries to supply
 portage eclipse dependencies?  All of the huge number of eclipse plugins can 
 be
 done without using portage just fine, but the eclipse itself, that I would
 really rather use a portage ebuild for installation.
 
 

While I totally buy into the whole package managing and distribution
system and consider it the best thing since sliced bread, I suggest you
make an exception for eclipse.

The problem is that eclipse contains its own package management for its
plugins. This doesn't work very well with a global installation in /opt
or /usr where a normal user should not have write rights.

It is much better to have every user download and install eclipse into
their home-directories. This has the advantage that every user can
contain its own set of plugins and extensions.

I personally have several versions of eclipse installed: One for J2EE
and a much leaner version for C++. Having one version with all plugins
would make eclipse unbearably slow.

Hope this helps
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] eclipse portage package

2009-11-26 Thread David Relson
On Wed, 25 Nov 2009 13:14:39 -0500
Marcus Wanner wrote:

 On 11/25/2009 12:20 PM, Chuck Robey wrote:
  Mark Knecht wrote:

  m...@dragonfly ~/Desktop $ eix eclipse
  * dev-java/ant-eclipse-ecj
   Available versions:
  (3.3)   3.3.0-r1
  (3.4)   3.4
  (3.5)   ~3.5.1
  {elibc_FreeBSD}
   Homepage:http://www.eclipse.org/
   Description: Ant Compiler Adapter for Eclipse Java
  Compiler
 
  
 This shows that 3.5.1 is available, but is masked by a ~arch keyword. 
 This means that the ebuild for 3.5.1 is not stable yet, and is not 
 guaranteed to work (though it most likely will).
  * dev-java/eclipse-ecj
   Available versions:
  (3.3)   3.3.0-r3
  (3.4)   3.4-r4
  (3.5)   ~3.5.1
  {ant elibc_FreeBSD java6}
   Homepage:http://www.eclipse.org/
   Description: Eclipse Compiler for Java
 
  
 Same for eclipse-ecj...
  * dev-util/eclipse-sdk
   Available versions:  (3.4)  3.4-r2
  {doc elibc_FreeBSD java6}
   Homepage:http://www.eclipse.org/
   Description: Eclipse Tools Platform
 
  
 But not eclipse-sdk.
  dragonfly ~ # emerge -pv eclipse-ecj
 
  These are the packages that would be merged, in order:
 
  Calculating dependencies... done!
  [ebuild  N] app-admin/eselect-ecj-0.3  0 kB
  [ebuild  N] dev-java/eclipse-ecj-3.4-r4  USE=-java6 1,251 kB
 
  Total: 2 packages (2 new), Size of downloads: 1,251 kB
  
 Here, he shows what would be installed if you ran emerge elipse-ecj.
  dragonfly ~ # ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-ecj
 
  These are the packages that would be merged, in order:
 
  Calculating dependencies... done!
  [ebuild  N] dev-python/pyxml-0.8.4-r2  USE=-doc -examples 0
  kB [ebuild  N] dev-java/javatoolkit-0.3.0-r3  17 kB
  [ebuild  N] dev-java/ant-core-1.7.1-r4  USE=-doc -source
  6,828 kB [ebuild  N] app-admin/eselect-ecj-0.3  0 kB
  [ebuild  N] dev-java/eclipse-ecj-3.5.1  USE=ant 1,268 kB
  [ebuild  N] dev-java/ant-eclipse-ecj-3.5.1  0 kB
 
  Total: 6 packages (6 new), Size of downloads: 8,111 kB
  
 This is what would happen if you temporarily told the system to allow 
 the installation of ~arch packages. Temporarily setting ~arch is a
 Bad Idea!
  I need to get an up-to-date version of eclipse working on my gentoo
  box.  First question is, is there a Galileo (3.5+) version of
  eclipse available as a portage package?  I can't find it, so I'd
  really appreciate a pointer.  The only thing I can see is a fairly
  old eclipse version (I think a year or more out of date). 
 That is because the newer version is keyworded with ~arch. Emerge
 will not tell you that there is a newer, keyworded version available.
  Second question, at the eclipse website, I see a binary version of
  the latest Linux-eclipse (the version I'm after).  If I *can't* get
  a portage package version of Galileo-eclipse,
 Don't worry, I'll show you how in a little bit!
  then if I install the binary package (non-portage)
  from the eclipse website, can I get (and how can I get) portage to
  consider this package as supplying any dependency which would be
  otherwise supplied by the latest (ganymede, 3.4+) portage version
  of the eclipse tool 
 As far as I know of, that is not possible without ugly hacks.
  Unless I'm completely misreading your stuff, your examples tell me
  how to install the (too old) portage version, which is in all cases
  just too old for me, so my 2 questions boil down to (1) must I?,
  and (2) How do I? 
 I don't know what you mean by must I?, but the answer to How do
 I? is right here:
 First, you need to create a folder called /etc/portage as root. Then, 
 create a file called package.keywords in that directory. When you
 want to install a keyworded package (dev-java/eclipse-ecj-3.5.1 in
 this case), you run
 
 ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-ecj
 
 to see what packages are needed for the keyworded version. Then, you 
 copy the the package names mentioned to package.keywords. In the
 example above, the command outputted:
 
 [ebuild  N] dev-python/pyxml-0.8.4-r2  USE=-doc -examples 0 kB
 [ebuild  N] dev-java/javatoolkit-0.3.0-r3  17 kB
 [ebuild  N] dev-java/ant-core-1.7.1-r4  USE=-doc -source 6,828
 kB [ebuild  N] app-admin/eselect-ecj-0.3  0 kB
 [ebuild  N] dev-java/eclipse-ecj-3.5.1  USE=ant 1,268 kB
 [ebuild  N] dev-java/ant-eclipse-ecj-3.5.1  0 kB
 
 So you would add this:
 
 dev-python/pyxml-0.8.4-r2
 dev-java/javatoolkit-0.3.0-r3
 dev-java/ant-core-1.7.1-r4
 app-admin/eselect-ecj-0.3
 dev-java/eclipse-ecj-3.5.1
 dev-java/ant-eclipse-ecj-3.5.1
 
 to the package.keywords file (note that this will probably be
 different for your system, you should run the command yourself and
 use that output to find out what you should put in the file). I would
 also put a note above the lines to say why and when they were added,
 in case I forget.
 
 Then 

Re: [gentoo-user] eclipse portage package

2009-11-26 Thread Marcus Wanner

On 11/26/2009 12:55 PM, David Relson wrote:

Alternatively, one can use the autounmask command, for example:

autounmask dev-java/eclipse-ecj-3.5.1

On my AMD64 system, which has /etc/portage/package.keywords (as a
directory, rather than a file) autounmask generated file:

/etc/portage/package.keywords/autounmask-eclipse-ecj

which contains:

   # ---
   # BEGIN: dev-java/eclipse-ecj-3.5.1
   # ---
   =dev-java/eclipse-ecj-3.5.1 ~amd64
   =dev-java/ant-eclipse-ecj-3.5.1 ~amd64
   # ---
   # END: dev-java/eclipse-ecj-3.5.1
   # ---
  

I wish I had known about that command :|

Marcus



Re: [gentoo-user] eclipse portage package

2009-11-25 Thread Chuck Robey
Mark Knecht wrote:
 On Tue, Nov 24, 2009 at 7:52 PM, Chuck Robey chu...@telenix.org wrote:
 I was checking to see what version of eclipse seems to have a portage 
 package,
 and I was kinda shocked that the package seems a bit outdated.  3.4 is the
 current portage package, but eclipse has been at 3.5 for a good while now.
 Seeing as the eclipse website has a linux binary 3.5+ package, unless I've
 overlooked something available from gentoo (I would be overjoyed to have made
 that mistake) then I'm going to be forced to see how to coax portage to 
 allow me
 to use that eclipse site binary package to sub for ALL eclipse packages.

 Anyone know how to get portage to make externally supplied binaries to supply
 portage eclipse dependencies?  All of the huge number of eclipse plugins can 
 be
 done without using portage just fine, but the eclipse itself, that I would
 really rather use a portage ebuild for installation.



 
 I don't know about installing binary stuff - probably wouldn't work
 unless you have exactly the right libraries and what not. Anyway, I
 seem to see a 3.5 version masked with ~ . Note that I would unmask it
 in portage.keywords and not the way I'm showing it below.
 
 HTH,
 Mark
 
 m...@dragonfly ~/Desktop $ eix eclipse
 * dev-java/ant-eclipse-ecj
  Available versions:
 (3.3)   3.3.0-r1
 (3.4)   3.4
 (3.5)   ~3.5.1
 {elibc_FreeBSD}
  Homepage:http://www.eclipse.org/
  Description: Ant Compiler Adapter for Eclipse Java Compiler
 
 * dev-java/eclipse-ecj
  Available versions:
 (3.3)   3.3.0-r3
 (3.4)   3.4-r4
 (3.5)   ~3.5.1
 {ant elibc_FreeBSD java6}
  Homepage:http://www.eclipse.org/
  Description: Eclipse Compiler for Java
 
 * dev-util/eclipse-sdk
  Available versions:  (3.4)  3.4-r2
 {doc elibc_FreeBSD java6}
  Homepage:http://www.eclipse.org/
  Description: Eclipse Tools Platform
 
 Found 3 matches.
 m...@dragonfly ~/Desktop $
 
 
 dragonfly ~ # emerge -pv eclipse-ecj
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild  N] app-admin/eselect-ecj-0.3  0 kB
 [ebuild  N] dev-java/eclipse-ecj-3.4-r4  USE=-java6 1,251 kB
 
 Total: 2 packages (2 new), Size of downloads: 1,251 kB
 dragonfly ~ # ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-ecj
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild  N] dev-python/pyxml-0.8.4-r2  USE=-doc -examples 0 kB
 [ebuild  N] dev-java/javatoolkit-0.3.0-r3  17 kB
 [ebuild  N] dev-java/ant-core-1.7.1-r4  USE=-doc -source 6,828 kB
 [ebuild  N] app-admin/eselect-ecj-0.3  0 kB
 [ebuild  N] dev-java/eclipse-ecj-3.5.1  USE=ant 1,268 kB
 [ebuild  N] dev-java/ant-eclipse-ecj-3.5.1  0 kB
 
 Total: 6 packages (6 new), Size of downloads: 8,111 kB
 dragonfly ~
 

Mark, I could be responsible for this (the fact that it seems that neither of
the things I really wanted to know are covered) because sometimes I am not clear
in what I'm asking, so let me try again.

I need to get an up-to-date version of eclipse working on my gentoo box.  First
question is, is there a Galileo (3.5+) version of eclipse available as a portage
package?  I can't find it, so I'd really appreciate a pointer.  The only thing I
can see is a fairly old eclipse version (I think a year or more out of date).

Second question, at the eclipse website, I see a binary version of the latest
Linux-eclipse (the version I'm after).  If I *can't* get a portage package
version of Galileo-eclipse, then if I install the binary package (non-portage)
from the eclipse website, can I get (and how can I get) portage to consider this
package as supplying any dependency which would be otherwise supplied by the
latest (ganymede, 3.4+) portage version of the eclipse tool
.

Unless I'm completely misreading your stuff, your examples tell me how to
install the (too old) portage version, which is in all cases just too old for
me, so my 2 questions boil down to (1) must I?, and (2) How do I?

Thanks for your time, Mark.



Re: [gentoo-user] eclipse portage package

2009-11-25 Thread Marcus Wanner

On 11/25/2009 12:20 PM, Chuck Robey wrote:

Mark Knecht wrote:
  

m...@dragonfly ~/Desktop $ eix eclipse
* dev-java/ant-eclipse-ecj
 Available versions:
(3.3)   3.3.0-r1
(3.4)   3.4
(3.5)   ~3.5.1
{elibc_FreeBSD}
 Homepage:http://www.eclipse.org/
 Description: Ant Compiler Adapter for Eclipse Java Compiler


This shows that 3.5.1 is available, but is masked by a ~arch keyword. 
This means that the ebuild for 3.5.1 is not stable yet, and is not 
guaranteed to work (though it most likely will).

* dev-java/eclipse-ecj
 Available versions:
(3.3)   3.3.0-r3
(3.4)   3.4-r4
(3.5)   ~3.5.1
{ant elibc_FreeBSD java6}
 Homepage:http://www.eclipse.org/
 Description: Eclipse Compiler for Java



Same for eclipse-ecj...

* dev-util/eclipse-sdk
 Available versions:  (3.4)  3.4-r2
{doc elibc_FreeBSD java6}
 Homepage:http://www.eclipse.org/
 Description: Eclipse Tools Platform



But not eclipse-sdk.

dragonfly ~ # emerge -pv eclipse-ecj

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] app-admin/eselect-ecj-0.3  0 kB
[ebuild  N] dev-java/eclipse-ecj-3.4-r4  USE=-java6 1,251 kB

Total: 2 packages (2 new), Size of downloads: 1,251 kB


Here, he shows what would be installed if you ran emerge elipse-ecj.

dragonfly ~ # ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-ecj

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] dev-python/pyxml-0.8.4-r2  USE=-doc -examples 0 kB
[ebuild  N] dev-java/javatoolkit-0.3.0-r3  17 kB
[ebuild  N] dev-java/ant-core-1.7.1-r4  USE=-doc -source 6,828 kB
[ebuild  N] app-admin/eselect-ecj-0.3  0 kB
[ebuild  N] dev-java/eclipse-ecj-3.5.1  USE=ant 1,268 kB
[ebuild  N] dev-java/ant-eclipse-ecj-3.5.1  0 kB

Total: 6 packages (6 new), Size of downloads: 8,111 kB

This is what would happen if you temporarily told the system to allow 
the installation of ~arch packages. Temporarily setting ~arch is a Bad Idea!

I need to get an up-to-date version of eclipse working on my gentoo box.  First
question is, is there a Galileo (3.5+) version of eclipse available as a portage
package?  I can't find it, so I'd really appreciate a pointer.  The only thing I
can see is a fairly old eclipse version (I think a year or more out of date).
  
That is because the newer version is keyworded with ~arch. Emerge will 
not tell you that there is a newer, keyworded version available.

Second question, at the eclipse website, I see a binary version of the latest
Linux-eclipse (the version I'm after).  If I *can't* get a portage package
version of Galileo-eclipse,

Don't worry, I'll show you how in a little bit!

then if I install the binary package (non-portage)
from the eclipse website, can I get (and how can I get) portage to consider this
package as supplying any dependency which would be otherwise supplied by the
latest (ganymede, 3.4+) portage version of the eclipse tool
  

As far as I know of, that is not possible without ugly hacks.

Unless I'm completely misreading your stuff, your examples tell me how to
install the (too old) portage version, which is in all cases just too old for
me, so my 2 questions boil down to (1) must I?, and (2) How do I?
  
I don't know what you mean by must I?, but the answer to How do I? 
is right here:
First, you need to create a folder called /etc/portage as root. Then, 
create a file called package.keywords in that directory. When you want 
to install a keyworded package (dev-java/eclipse-ecj-3.5.1 in this 
case), you run


ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-ecj

to see what packages are needed for the keyworded version. Then, you 
copy the the package names mentioned to package.keywords. In the example 
above, the command outputted:


[ebuild  N] dev-python/pyxml-0.8.4-r2  USE=-doc -examples 0 kB
[ebuild  N] dev-java/javatoolkit-0.3.0-r3  17 kB
[ebuild  N] dev-java/ant-core-1.7.1-r4  USE=-doc -source 6,828 kB
[ebuild  N] app-admin/eselect-ecj-0.3  0 kB
[ebuild  N] dev-java/eclipse-ecj-3.5.1  USE=ant 1,268 kB
[ebuild  N] dev-java/ant-eclipse-ecj-3.5.1  0 kB

So you would add this:

dev-python/pyxml-0.8.4-r2
dev-java/javatoolkit-0.3.0-r3
dev-java/ant-core-1.7.1-r4
app-admin/eselect-ecj-0.3
dev-java/eclipse-ecj-3.5.1
dev-java/ant-eclipse-ecj-3.5.1

to the package.keywords file (note that this will probably be different 
for your system, you should run the command yourself and use that output 
to find out what you should put in the file). I would also put a note 
above the lines to say why and when they were added, in case I forget.


Then you can run emerge -av eclipse-ecj and see if it lists the new 
versions of everything.


Marcus



Re: [gentoo-user] eclipse portage package

2009-11-25 Thread Alan McKinnon
On Wednesday 25 November 2009 19:20:43 Chuck Robey wrote:
 I need to get an up-to-date version of eclipse working on my gentoo
  box.  First question is, is there a Galileo (3.5+) version of eclipse
  available as a portage package?  I can't find it, so I'd really appreciate
  a pointer.  The only thing I can see is a fairly old eclipse version (I
  think a year or more out of date).
 
 Second question, at the eclipse website, I see a binary version of the
  latest Linux-eclipse (the version I'm after).  If I *can't* get a portage
  package version of Galileo-eclipse, then if I install the binary package
  (non-portage) from the eclipse website, can I get (and how can I get)
  portage to consider this package as supplying any dependency which would
  be otherwise supplied by the latest (ganymede, 3.4+) portage version of
  the eclipse tool

Have you considered simply installing the binary eclipse into ~ and 
maintaining it using the bundled eclipse tools? This removes portage out of 
the equation entirely - no fooling around with *provided

That is the method used by most Linux users and it's highly unlikely it won't 
work - gentoo doesn't do weird things with where libs etc are stored.

Plus, you have the advantage of being to install plugins directly from eclipse 
without having to become root and run emerge. It the same order of magnitude 
as using Firefox to install it's own plugins.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] eclipse portage package

2009-11-24 Thread Mark Knecht
On Tue, Nov 24, 2009 at 7:52 PM, Chuck Robey chu...@telenix.org wrote:
 I was checking to see what version of eclipse seems to have a portage package,
 and I was kinda shocked that the package seems a bit outdated.  3.4 is the
 current portage package, but eclipse has been at 3.5 for a good while now.
 Seeing as the eclipse website has a linux binary 3.5+ package, unless I've
 overlooked something available from gentoo (I would be overjoyed to have made
 that mistake) then I'm going to be forced to see how to coax portage to allow 
 me
 to use that eclipse site binary package to sub for ALL eclipse packages.

 Anyone know how to get portage to make externally supplied binaries to supply
 portage eclipse dependencies?  All of the huge number of eclipse plugins can 
 be
 done without using portage just fine, but the eclipse itself, that I would
 really rather use a portage ebuild for installation.




I don't know about installing binary stuff - probably wouldn't work
unless you have exactly the right libraries and what not. Anyway, I
seem to see a 3.5 version masked with ~ . Note that I would unmask it
in portage.keywords and not the way I'm showing it below.

HTH,
Mark

m...@dragonfly ~/Desktop $ eix eclipse
* dev-java/ant-eclipse-ecj
 Available versions:
(3.3)   3.3.0-r1
(3.4)   3.4
(3.5)   ~3.5.1
{elibc_FreeBSD}
 Homepage:http://www.eclipse.org/
 Description: Ant Compiler Adapter for Eclipse Java Compiler

* dev-java/eclipse-ecj
 Available versions:
(3.3)   3.3.0-r3
(3.4)   3.4-r4
(3.5)   ~3.5.1
{ant elibc_FreeBSD java6}
 Homepage:http://www.eclipse.org/
 Description: Eclipse Compiler for Java

* dev-util/eclipse-sdk
 Available versions:  (3.4)  3.4-r2
{doc elibc_FreeBSD java6}
 Homepage:http://www.eclipse.org/
 Description: Eclipse Tools Platform

Found 3 matches.
m...@dragonfly ~/Desktop $


dragonfly ~ # emerge -pv eclipse-ecj

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] app-admin/eselect-ecj-0.3  0 kB
[ebuild  N] dev-java/eclipse-ecj-3.4-r4  USE=-java6 1,251 kB

Total: 2 packages (2 new), Size of downloads: 1,251 kB
dragonfly ~ # ACCEPT_KEYWORDS=~x86 emerge -pv eclipse-ecj

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] dev-python/pyxml-0.8.4-r2  USE=-doc -examples 0 kB
[ebuild  N] dev-java/javatoolkit-0.3.0-r3  17 kB
[ebuild  N] dev-java/ant-core-1.7.1-r4  USE=-doc -source 6,828 kB
[ebuild  N] app-admin/eselect-ecj-0.3  0 kB
[ebuild  N] dev-java/eclipse-ecj-3.5.1  USE=ant 1,268 kB
[ebuild  N] dev-java/ant-eclipse-ecj-3.5.1  0 kB

Total: 6 packages (6 new), Size of downloads: 8,111 kB
dragonfly ~