Martin Senger wrote:
IMHO you are being "helped" by the windows command processor. I think it
treats whitespace as meaningless.
Exactly. That's my current understanding of what is happenning. And
because this is an OS-dependent feature, I think (IMHO) that Ant when it
calls Runtime.exec to
Martin Senger wrote:
Hi,
If you run ANT in verbose mode (-v) what does it
output as the string that is generated...?
This is how it look underw windows:
[testing] Executing 'C:\Program Files\Java\jre1.5.0_04\bin\java.exe' with
arguments:
[testing] '-classpath'
[testing] 'C:\Document
> IMHO you are being "helped" by the windows command processor. I think it
> treats whitespace as meaningless.
>
Exactly. That's my current understanding of what is happenning. And
because this is an OS-dependent feature, I think (IMHO) that Ant when it
calls Runtime.exec to call an external pro
lto:[EMAIL PROTECTED]
Sent: Thursday, September 01, 2005 1:37 AM
To: Ant Users List
Subject: Re: Empty arguments on the command-line under windows
Hi,
>
> If you run ANT in verbose mode (-v) what does it output as the string
> that is generated...?
>
This is how it look und
Hi,
>
> If you run ANT in verbose mode (-v) what does it
> output as the string that is generated...?
>
This is how it look underw windows:
[testing] Executing 'C:\Program Files\Java\jre1.5.0_04\bin\java.exe' with
arguments:
[testing] '-classpath'
[testing] 'C:\Documents and settings\mart
Hello Martin,
you can, using the condition task, set registry.cache.dir to ""
only when running under windows.
Hopes this helps,
Antoine
> --- Ursprüngliche Nachricht ---
> Von: Martin Senger <[EMAIL PROTECTED]>
> An: Ant Users List
> Betreff: Re: Empty argumen
> This (condition task invocation) rewrites more simply :
>
>
> because ant only assigns a value to unexisting properties.
>
You are, of course, completely right (thanks also to Ninju Bohra who
pointed to this, as well). I know that but sometimes I forget. Thanks...
> To solve your Windows pr
If you run ANT in verbose mode (-v) what does it
output as the string that is generated...?
On a side note, properties are immutable in ANT and so
you can shorten (actually eliminate) the
check on the registry.cache.dir and just make it:
because if registry.cache.dir is already set to any
v
Hello Martin,
Martin Senger wrote:
>My task is (shortened):
>
> classpathref="moses.build.classpath" fork="true" failonerror="true">
>
>
>
>
>
>Before invoking it I set an empty value to ${registry.cache.dir} unless it
>is already set:
>
>
>
>
>
>
>
This (condition task invocatio