ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <>
Subject Re: Convert a path
Date Tue, 03 May 2005 17:49:19 GMT
I would use <scriptdef> with your preferred scripting language. There 
are several scripting languages written in Java (Jython, Groovy, 
BeanShell,...) and they are as portable as Java itself.

- Alexey.

Nicolas Vervelle wrote:

>I didn't have much success with my last question :(
>I will try with only a small problem then :
>How to expand a path (${build.dir}) to match what I get with <modified> 
>and the reverse modification?
>For example : E:\Java\Jmol-web -> E\:\\Java\\Jmol-web -> E:\Java\Jmol-
>It must be portable (Windows, Linux, Mac OS, ...)
>I could probably do it with regular expressions,
>but then I will have to check every "escapable" character
>They are probably not limited to ':' and '\'
>To unsubscribe, e-mail:
>For additional commands, e-mail:

/ Alexey N. Solofnenko

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

View raw message