ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: todir does not accept FQPN???
Date Sun, 09 Nov 2008 16:06:18 GMT

try modifying the simulator.home to incorporate jde.home setting e.g. change
 simulator.home="~/lib/jde-4.2.1/simulator"
to
simulator.home="${jde.home}/simulator"

HTH
Martin
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender.
This transmission is of a confidential nature and Sender does not endorse distribution to
any party other than intended recipient. Sender does not necessarily endorse content contained
within this transmission. 




> Date: Sun, 9 Nov 2008 03:26:15 -0600
> From: ptwaugh@gmail.com
> To: user@ant.apache.org
> Subject: todir does not accept FQPN???
> 
> 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
> 

_________________________________________________________________
See how Windows® connects the people, information, and fun that are part of your life
http://clk.atdmt.com/MRT/go/119463819/direct/01/
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message