ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Eitner <>
Subject Global path w/ refid and property file
Date Thu, 03 Jul 2003 17:29:21 GMT

I have something like:

<project ...>

	<path id = "project.classpath">
		<pathelement path = "${binDestDir}/"/>
		<pathelement location = "${junitLib}"/>
	<target name = "Build something">
		<property file = ""/>
		<antcall target = "Echo properties"/>
		<javac ...>
			<classpath refid = "project.classpath"/>

	<target name = "Echo properties">
		<property name = "projectClasspath" refid = "project.classpath"/>


   The `Echo properties' task echoes the classpath with all jars and paths as specified (as
one string with separators), with locations taken from and expanded afterwards,
but the javac tasks says

dropping ${binDestDir} from path as it doesn't exist
dropping ${junitLib} from path as it doesn't exist

which looks like something went wrong with the expansion (only my guess).

   Any hints, anybody?

	 Thanks for your consideration,


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

View raw message