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:[EMAIL PROTECTED]
>Gesendet: Montag, 10. November 2008 15:20
>An: [email protected]
>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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]