ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duffey, Kevin" <>
Subject ant inheritAll doesn't pass <path ?
Date Thu, 03 Jul 2003 18:42:41 GMT

I have a main ant script that sets up something like:

<path id="my.classpath">
	<path refid="compile.classpath"/>
	<pathelement location="somepath/classes"/>

then, I call a specific ant script from this ant script:

<ant dir="${other.ant.scripts.dir}/ant-script-1" inheritall="true"/>

Inside of the build.xml in the ${other.ant.scripts.dir}/ant-script-1 I have something like:

<target name="compile">
	<javac srcdir="src"
		<classpath refid="${my.classpath}"/>

When my main build script gets to this point, it calls the ant-script-1/build.xml just fine,
but it says it can't find the my.classpath. Does the inheritAll not pass along paths and such?
Is there some way I can access this path from the parent ant script?


Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003

"The information contained in this e-mail message  may be confidential and 
protected from disclosure.  If you are not the intended recipient, any 
dissemination, distribution or copying is strictly prohibited.  If you think 
that you have received this e-mail message in error, please e-mail the 
sender at"

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message