ant-user mailing list archives

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

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

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 [] 
Sent: Thursday, August 30, 2001 16:46
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.

Cornellious Mann

Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo!

View raw message