ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
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


>-----Urspr√ľngliche Nachricht-----
>Von: jbmdharris [] 
>Gesendet: Montag, 10. November 2008 15:20
>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: 
>Sent from the Ant - Users mailing list archive at
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message