Re: Emerging Tomcat without Eclipse
Matthew Smith <[email protected]> Sat, 20 Feb 2016 19:48:12 +0000
| Newsgroups | gmane.linux.gentoo.java |
|---|---|
| Message-ID | <CAPaim1eiyMxMPkXHg4OhkR8EXjTriBdKWSt5MPF=amEWWCTNVg@mail.gmail.com> |
Setting the headless-awt USE flag on icedtea-bin worked fine. Thank you again for the help. On 20 February 2016 at 19:22, James Le Cuirot <[email protected]> wrote: > On Sat, 20 Feb 2016 18:09:47 +0000 > Matthew Smith <[email protected]> wrote: > >> 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. > > Set the headless-awt USE flag against icedtea-bin. Note the description. > > Don't install the X backend for AWT, needed by some GUIs > (used to be X flag) > > Admittedly it is unusual to set a flag to *not* install something but > we couldn't really call the flag headful-awt or non-headless-awt. This > name was chosen with input from upstream. > > We stopped using the X flag because in the case of oracle-jdk-bin, both > AWT and JavaFX require X11. We needed to be able to differentiate > between these and we wanted to keep the flags consistent across the > different JVM packages. > > -- > James Le Cuirot (chewi) > Gentoo Linux Developer