It may be an unpopular opinion (it seems to be where I work), but I would
question first why you are calling scripts from ant.  Sure, there are places
where calling a script is a good idea, but I've seen build files that call
scripts that are persistent processes.  I've even seen people start app
servers with a target.  It may just be a pet peeve, but it seems to me that
that is not what Ant is supposed to be used for - one of those 'You can, but
should you?' kinda things.

Sorry for the rant... rough day.  I'd appreciate some other opinions.

<snip>
For example I have a product with scripts foo.sh and foo.bat. Now I want
to have an exec task in my build.xml such as:

<exec executable="foo.${property}">
    <arg line="some value">
</exec>

Can ${property} be set to ".sh" or ".bat" depending upon whether it's a
solaris platform or win32 platform ?

Regards,
-Arun
</snip>


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

Reply via email to