I don't think it is possible, but I wanted to confirm here.
My goal is to be platform agnostic, and not get mixed separators in path
names, in order to accomplish this I don't think I can use .
While I prefer to use "pure ant", in this case I think the is better
than lots of ${path.separtor}'s i
On 12/11/13, 3:07 PM, Cyril Sagan wrote:
> C:\temp>ant
> Buildfile: build.xml
> [echo] dir.works = C:\temp\false\demo\path
> [echo] dir.fails = C:\temp/false/demo/path
Have you seen paths with mixed separators actually cause problems?
I'm no longer on Windows but my experience was that
On 12/11/13, 3:07 PM, Cyril Sagan wrote:
>
> value="${basedir}/true/option"
>else="${basedir}/false/demo/path">
>
>
Could you spare a "temporary" property? Something like
dir.fails = ${dir.fails}
--
Edwin
I would use several properties files and load the one needed for the current
environment.
Jan
> -Ursprüngliche Nachricht-
> Von: Cyril Sagan [mailto:cyril.sa...@gmail.com]
> Gesendet: Donnerstag, 12. Dezember 2013 00:08
> An: Ant Users List
> Betreff: Is it possible to get "location se