Summary: | Emerged ANT is lacking in the optional jar area due to dependencies not being installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bill Chmura <bill> |
Component: | [OLD] Development | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | Bert.Van.Vreckem, stig |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Output of `ant -diagnostics' |
Description
Bill Chmura
2003-12-15 23:10:47 UTC
Moving this again to java@gentoo.org, so everyone out there can help. *** Bug 35992 has been marked as a duplicate of this bug. *** I made a major rework on ant ebuilds, ant-1.6.0-r2 should fix a lot of things, maybe all the optional tasks will not be available. Patches to add new tasks support are welcome, please try this ebuild. An also before i forget, check the use flags of ant and ant-optional ebuilds. <quote>maybe all the optional tasks will not be available.</quote> None of the optional tasks is more likely... ;-) Below a transcript of my second try. During the first try, some packages from the Jakarta Commoms project were also installed: dev-java/commons-logging-1.0.3 * dev-java/commons-beanutils-1.6.1-r1 * dev-java/commons-collections-2.1-r3 * dev-java/commons-net-1.0.0 * Without further ado, here's what I did: jethro root # ACCEPT_KEYWORDS="~x86" emerge -p ant junit jdepend ant-optional These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-java/ant-1.6.0-r2 [ebuild R ] dev-java/junit-3.8.1 [ebuild R ] dev-java/jdepend-2.6 [ebuild R ] dev-java/ant-optional-1.6.0-r2 jethro root # ACCEPT_KEYWORDS="~x86" emerge ant junit jdepend ant-optional <lots and lots of output> jethro root # ant -diagnostics <output: see attachment> Created attachment 24249 [details]
Output of `ant -diagnostics'
"Check the use flags of ant and ant-optional ebuilds" "Unmerge ant check ant-optional and ant USE FLAGS" 1.- emerge -C ant 2.- emerge -pv ant 3.- Activate the use flags you want.( On ant and ant-optional) 4.- Emerge ant. Also you dont need to install by hand junit and jdepend if you dont need them, they will be automatically pulled in the build process. ant-optional has this USE FLAGS antlr bcel bsh doc javamail jdepend jsch junit jython log4j oro regexp rhino xalan xerces "Also ant -diagnostics" ------- Ant diagnostics report ------- Apache Ant version 1.6.0 compiled on January 18 2004 ------------------------------------------- Implementation Version (JDK1.2+ only) ------------------------------------------- core tasks : 1.6.0 optional tasks : 1.6.0 ------------------------------------------- ANT_HOME/lib jar listing ------------------------------------------- ant.home: /usr/share/ant ant-jai.jar (353 bytes) ant-antlr.jar (5676 bytes) ant-starteam.jar (353 bytes) ant-icontract.jar (353 bytes) ant-jdepend.jar (7986 bytes) ant-jakarta-oro.jar (47961 bytes) ant-trax.jar (67002 bytes) ant-jmf.jar (6617 bytes) ant-jsch.jar (21419 bytes) ant-apache-bsf.jar (353 bytes) ant-netrexx.jar (353 bytes) ant-swing.jar (6634 bytes) ant-jakarta-log4j.jar (3033 bytes) ant-stylebook.jar (353 bytes) ant-jakarta-regexp.jar (3724 bytes) ant-javamail.jar (6776 bytes) jdepend.jar (57536 bytes) ant-junit.jar (67677 bytes) ant-xalan1.jar (353 bytes) ant-xalan2.jar (2482 bytes) ant-commons-net.jar (353 bytes) ant-commons-logging.jar (3867 bytes) ant-weblogic.jar (353 bytes) ant.jar (944182 bytes) ant-vaj.jar (353 bytes) ant-xslp.jar (353 bytes) ant-nodeps.jar (393446 bytes) ant-launcher.jar (8167 bytes) junit.jar (184623 bytes) ant-apache-resolver.jar (353 bytes) ------------------------------------------- Tasks availability ------------------------------------------- image : Not Available wlrun : Not Available icontract : Not Available vajload : Not Available rexec : Not Available stlist : Not Available telnet : Not Available netrexxc : Not Available ftp : Not Available starteam : Not Available stylebook : Not Available stlabel : Not Available script : Not Available stcheckin : Not Available vajexport : Not Available stcheckout : Not Available ejbc : Not Available vajimport : Not Available wlstop : Not Available scriptdef : Not Available ddcreator : Not Available |