ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rakesh mailgroups <>
Subject os independent paths
Date Fri, 15 Apr 2005 12:19:47 GMT

found the ant website a bit cryptic when i looked up pathconvert. I
hope someone can help me.

I would like to be able to take one of my properties such as
${build.dir}, (defined as build.dir=war/WEB-INF) and  and then convert
that into a os-dependent path to use in my config files.

So, for windows, I would get a property like this :

In unix I would get this:


Ant of course will choose the correct one based on the os it is running on.



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

View raw message