ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: AW: AW: Inserting different relative paths into multiple files using the same token
Date Mon, 10 Nov 2008 14:43:00 GMT
a) You could hold the (java written) task in your project
   <taskdef name="relpath" classname="..." classpath="${build.classes}"/>
b) You could hold that in your buildfile
   1. Write the java source into a temp directory with <echo>
   2. compile that using <javac>
   3. taskdef from that directory
c) Hold the class on webserver, <get> it into a temp dir and <taskdef> from there

Jan

>-----Urspr√ľngliche Nachricht-----
>Von: jbmdharris [mailto:jbmdharris@hotmail.com] 
>Gesendet: Montag, 10. November 2008 15:20
>An: user@ant.apache.org
>Betreff: Re: AW: AW: Inserting different relative paths into 
>multiple files using the same token
>
>
>I could implement this as a custom task written in Java, but 
>that would also
>require modifying the build environment... which is sometimes 
>OK if it's
>really necessary.  In my case, my build environment is part of 
>my corporate
>environment and it's used by hundreds of people.  Getting 
>something new in
>the environment requires work and proof that it's really 
>necessary.  So, I'm
>trying to use the built-in capabilities of the environment 
>provided to me. 
>At least I have ant-contrib available...
>
>-- 
>View this message in context: 
>http://www.nabble.com/Inserting-different-relative-paths-into-m
>ultiple-files-using-the-same-token-tp20411245p20420777.html
>Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
>---------------------------------------------------------------------
>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