ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lauzon Daniel-Y18165 <Y18...@motorola.com>
Subject RE: optional.jar in ant 1.6
Date Fri, 30 Jan 2004 19:24:31 GMT
Oliver

Awesome! Thx 4 Ur patience with a tyro

Dan

-----Original Message-----
From: Oliver Ashoff [mailto:Oliver.Ashoff@xtramind.com]
Sent: 30 janvier, 2004 13:51
To: Ant Users List
Subject: AW: optional.jar in ant 1.6


Hi!

You have to do this:


<project name="Deploy and test" default="copy">
                                ^^^^^^^^^^^^^

or

add a target name "build" that depends on the target "copy"

<!-- project name="Deploy and test" default="copy" -->
<project name="Deploy and test" default="copy">
	<description>
		Dan's 1st try @ ant
	</description>  
	<!--set global properties for this ant-->
	<property name="lib" location="lib"/>	
  	<target name="copy">
		<copy file="dan.txt" tofile="mycopy.txt" verbose="true"/>		
	</target>

  	<target name="build" depends="copy">
          <echo message="I am the target 'build' depending on the target 'copy'" />
	</target>

</project>



Oliver



> -----Urspr√ľngliche Nachricht-----
> Von: Lauzon Daniel-Y18165 [mailto:Y18165@motorola.com] 
> Gesendet: Freitag, 30. Januar 2004 19:14
> An: 'Ant Users List'
> Betreff: RE: optional.jar in ant 1.6
> 
> 
> Hi
> I'm new to ant, apache, java and xml
> I wrote the simplest bat:
> 
> call ant -v -d -f build.xml
> pause
> 
> and the simplest build file:
> 
> <project name="Deploy and test">
> 	<description>
> 		Dan's 1st try @ ant
> 	</description>  
> 	<!--set global properties for this ant-->
> 	<property name="lib" location="lib"/>	
>   	<target name="copy">
> 		<copy file="dan.txt" tofile="mycopy.txt" 
> verbose="true"/>		
> 	</target>
> </project>
> 
> I run the bat and the call to ant seems to work 
> (I get a notice that my lib folder is properly set) 
> but I have no trace of my copy (and no copy of the copied file)
> please forgive the simplemindedness of my question, but this 
> is all new to me.
> Be assured that any input will be greatly appreciated
> 
> Thanks for your time
> 
> Dan
> 
> -----Original Message-----
> From: RADEMAKERS Tanguy [mailto:tanguy.rademakers@swift.com]
> Sent: 30 janvier, 2004 12:57
> To: Ant Users List
> Subject: Re: optional.jar in ant 1.6
> 
> 
> nope, it's replaced by all the other jars in /lib
> 
> /t
> 
> 
> Keshav Sarin wrote:
> 
> >Is optional.jar no longer present in ant 1.6 ?
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >For additional commands, e-mail: user-help@ant.apache.org
> >
> >
> >
> >  
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

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

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


Mime
View raw message