ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Laccetti" <michael.lacce...@eldan.com>
Subject RE: Stripping off part of directory structure
Date Thu, 30 Aug 2001 21:19:53 GMT
Sample:

<filter token="NCade" value="ncade"/>
<move todir="${build.dir}/ncade-web" filtering="true">
<fileset dir="${temp-web.dir}/NCade-web"/>
</move>

Using tokens, you can replace the token with other things.  So, if you
search for the same token, and replace it with nothing, you're basically
removing it...


-----Original Message-----
From: Cornellious Mann [mailto:cornermann@yahoo.com] 
Sent: Thursday, August 30, 2001 16:46
To: ant-user@jakarta.apache.org
Subject: Stripping off part of directory structure


Does anyone know how to strip off part of a directory
structure from a file name while performing a copy?  I
know about the flatten feature, except it removes the
entire directory structure.

=====
Regards,
Cornellious Mann

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger http://im.yahoo.com


Mime
View raw message