Re: Emerging Tomcat without Eclipse

Matthew Smith <[email protected]> Sat, 20 Feb 2016 18:09:47 +0000
Newsgroups gmane.linux.gentoo.java
Message-ID <CAPaim1do7qz9_aX-pQKFBTPXHpLHUaop9KGKUwAdDHBbO4wVfw@mail.gmail.com>
I now understand that eclipse-ecj is a requirement of Tomcat, however
I do not understand why it requires X11.
After removing the alsa, cups and gtk use flags from icedtea-bin,
emerge still wants to pull in X11 and an assortment of packages
related to X11.
Do you have any ideas on how I can emerge tomcat without bringing in
X? I'd rather keep my server headless.

Thanks again.

On 20 February 2016 at 18:02, James Le Cuirot <[email protected]> wrote:
> On Sat, 20 Feb 2016 17:43:13 +0000
> Matthew Smith <[email protected]> wrote:
>
>> I am trying to install the Tomcat server (specifically
>> www-servers/tomcat-8.0.30:8::gentoo).
>> However, it depends on eclipse-ecj -- I am unsure of the reasoning
>> behind this, but it is quite annoying because emerging this would
>> bring in X and many other unwated packages.
>
> eclipse-ecj is not the whole of Eclipse but just the Java compiler it
> uses internally. It has long been a requirement of Tomcat. It is very
> small and carries no dependencies that you wouldn't already get from
> Tomcat itself.
>
> --
> James Le Cuirot (chewi)
> Gentoo Linux Developer