Rhino wrote:

----- Original Message ----- From: "Steve Loughran" <[EMAIL PROTECTED]>
To: "Ant Users List" <user@ant.apache.org>
Sent: Tuesday, January 31, 2006 5:01 AM
Subject: Re: Problems with exec task


Rhino wrote:

[exec] Input Error: There is no script engine for file extension ".vbs'".

there's an extra single quote at the end of this line. If that really is your file, that is the problem. On <arg line> ant is probably parsing and discarding the trailing ' as something it doesnt hand down.

The extra single quote in the message is simply the last character in the 'vbs.script' property value; it _has_ to be there to close off the one at the start of the property value. There's nothing I can do about that. Agreed?

no, not at all

Or are you suggesting that a change to the property definition or exec will make your arg/value approach work as well as the arg/line approach?

If you are trying to feed the line in, then yes, quoting it may help the Ant parser do what you want. But if you are using <arg value, or better yet, <arg file>, then
<arg file="something with spaces in/file goes here.vbs" />

will work, but putting quotes in doesnt stand a chance.


-steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to