ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Waugh" <ptwa...@gmail.com>
Subject todir does not accept FQPN???
Date Sun, 09 Nov 2008 09:26:15 GMT
In a properties file I have:

# rapc and sigtool tasks require location of RIM JDE
jde.home=/home/patrick/lib/jde-4.2.1

# Default simulator
#simulator.home="$(jde.home}/simulator"
simulator.home="~/lib/jde-4.2.1/simulator"

and I first ran into a problem with the commented line, and so I began
experimenting a bit.  I am using this ANT TASK:

	<!-- Copy files to simulator -->
	<target name="load-simulator" depends="-build">
		<copy verbose="true" overwrite="true" todir="${simulator.home}">
			<fileset dir="${build.dir}" includes="*.cod,*.csl,*.cso,*.debug,*.jar" />
		</copy>
		<echo message="Load to simulator complete." />
	</target>

but it seems todir treats ALL directories as relative!!!!  Is there a
way around this?  Seems crazy to have the copy depend on the location
of the build.xml!!!

Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message