ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francisco Tolmasky <tolma...@gmail.com>
Subject Creating Directories Before They're Used Automatically
Date Wed, 02 Jan 2008 22:03:45 GMT
I am running into a problem when outputing files using an identity  
mapper, since sometimes the
relative paths don't exist.  For example, I use GCC in ant as so:

         <apply executable = "gcc" dest = "whatever" >

             <targetfile/>
             <srcfile/>

             <fileset refid = "Sources" />
             <identitymapper/>

         </apply>

When I run this, if there is a file in "Sources" such as  "Directory/ 
Directory/A", I get that
"whatever/Directory/Directory" doesn't exist, and rightfully so.   
However, is there any way to just
have these intermediary directories created for me?  Or some "create  
every possible directory"
task I can use?

Thanks!

Francisco

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


Mime
View raw message