ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Lucas <>
Subject <classpath> confusion
Date Fri, 13 Oct 2000 22:29:34 GMT
I'm currently trying to simplify some exisiting build.xml files and I
would like to use the PATH elements in order to do so.  By using <path>
and <fileset>, I am on my way and it works fine for compilation. 
Unfortunately, when I try to use the same path within <java>,  the new
classpath doesn't appear to be used...

Here's how I'm doing it...

<path id="temp.classpath">
	<fileset dir="../lib">
		<include name="**/*.jar"/>

and then within the target

<java various attributes>
	<classpath refid="temp.classpath"/>

Hopefully this made some sense.

Any help would be appreciated.


View raw message