--- [EMAIL PROTECTED] wrote:
[SNIP]
> I have a macrodef passing on a logfile attribute to
> exec's output
> property. If I want as default to have no logfile,
> how do write this in
> the macrodef?
[SNIP]
If you have a fairly limited number of platforms to
work on, like Un*x vs. dos-based (Windows
The exec task does not process the string. Ant's core code
converts the string to a File object - in this case an empty string
will get converted to the base dir.
So with:
one gets:
/home/preilly/learning/a/exec/build.xml:3: Execute failed:
java.io.FileNotFoundException: /home/preilly/l
Hi,
I have a macrodef passing on a logfile attribute to exec's output
property. If I want as default to have no logfile, how do write this in
the macrodef? The easiest logic for me would be if output="" means no
redirection as I then could use .
Sten Rosendahl
---