On Apr 27, 2006, at 10:58 PM, Stefan Bodewig wrote:
On Thu, 27 Apr 2006, Robert Nicholson <[EMAIL PROTECTED]> wrote:
If I write a javac task in Ant 1.5 that uses executable and I use a
property to detemine the path of the executable. What will javac do
if there's no property set?
If you mean you have something like executable="${prop}" then Ant will
try to execute an executable named ${prop} if the property named
"prop" isn't set. Setting it to an empty string wouldn't help either.
Basically I want the default compiler to be the one that's executing
Ant but the ability
to override that thru a properties file. It sounds like I actually
have to have javac's conditional
on prop so I need multiple javac tasks.
Will it use the jvm that's running ant to do the compile?
Only if there is no executable attribute at all.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]