Summary: | Split ant does not consider dependencies for ant tasks | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petteri Räty (RETIRED) <betelgeuse> |
Component: | Eclasses | Assignee: | Java team <java> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Petteri Räty (RETIRED)
2007-01-25 20:52:05 UTC
The error was done by jdbm-1.0 version bump src_test that I am working on when on: GENTOO_VM=sun-jdk-1.7 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.7.0.0_alpha06" JAVACFLAGS="-source 1.3 -target 1.3" COMPILER="javac" and of course, the output of emerge --info (In reply to comment #0) > It seems that the ant-junit tasks needs the ant-trax task but the current setup > does not handle this properly. Only <junitreport> task should be needing ant-trax, and that tasks is not used always when using junit. So you have to add ant-trax too. Updated the docs on wiki for this. If there is large number of ebuilds like this, we can consider makind ant-junit depend on ant-trax. > We should probably do some dependency resolution here too. I don't see what you mean here. All ant-* packages that really depend on others (compile-time) have this recorded in package.env (some have dependency on ant-nodeps). Say package A depends on B. It works if you specify only A in ANT_TASKS for eant (it will load B too), and for WANT_ANT_TASKS=A you are sure to have B installed too because A has B in both DEPEND and RDEPEND. |