| Summary: | use of java-config breaks ant behaviour | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | cheeser <gentoo> |
| Component: | New packages | Assignee: | Java team <java> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | rizzo |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Patch for fixing CLASSPATH as described | ||
Created attachment 50360 [details, diff]
Patch for fixing CLASSPATH as described
Comments in patch
can you verify that just removing 'ant-core,ant-tasks' from the LOCALCLASSPATH= java-config -p line, makes things work too? shoud be fixed in 1.6.5-r1 closing |
The script to run ant uses java-config to add jars to the claspath for ant but ignores any jars added to ${ANT_HOME}/lib. Any jars added to this dir are supposed to be added to the classpath used by ant. Reproducible: Always Steps to Reproduce: 1. Add a new jar with an ant task defined it 2. Try to use that taskdef 3. Actual Results: I get NoClassDefFoundError for the classes trying to reference the new code.