Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68074 - use of java-config breaks ant behaviour
Summary: use of java-config breaks ant behaviour
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 16:14 UTC by cheeser
Modified: 2005-09-10 11:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for fixing CLASSPATH as described (ant.patch,205 bytes, patch)
2005-02-04 11:05 UTC, Ian Schneider
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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