ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Sauyet <li...@sauyet.com>
Subject Re: How to change directories in ant.....
Date Wed, 04 Jan 2006 16:26:32 GMT
Srikrishna_Parthasarathy@timeinc.com wrote:
> I would like to change directory levels . how to do this ?

No cd necessary.  Use the absolute or relative path like this:

     <target name="build">
          <!-- no cd necessary .... -->
         <delete dir="path/to/jinxweb" />
         <cvs command="co jinxweb" dest="path/to/jinxweb" ... />
     </target>

And if you're using the path in other places, you probably want to make 
it a property.

   -- Scott


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


Mime
View raw message