Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 68074

Summary: use of java-config breaks ant behaviour
Product: Gentoo Linux Reporter: cheeser <gentoo>
Component: New packagesAssignee: 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

Description cheeser 2004-10-18 16:14:19 UTC
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.
Comment 1 Ian Schneider 2005-02-04 11:05:55 UTC
Created attachment 50360 [details, diff]
Patch for fixing CLASSPATH as described

Comments in patch
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2005-07-09 08:17:34 UTC
can you verify that just removing 'ant-core,ant-tasks' from the
LOCALCLASSPATH= java-config -p
line, makes things work too?
Comment 3 Thomas Matthijs (RETIRED) gentoo-dev 2005-09-08 16:13:27 UTC
shoud be fixed in 1.6.5-r1
Comment 4 Thomas Matthijs (RETIRED) gentoo-dev 2005-09-10 11:27:52 UTC
closing