You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Ludovic Claude <lc...@websitewatchers.com> on 2000/02/04 22:59:31 UTC
Re: Example of ant script using exec()
"Booth, Peter" wrote:
> Can anyone give me an example of an ant build.xml file
> that uses the exec() target? When I try this in NT I
> get:
>
> BUILD CONFIG ERROR could not create task of type exec
> due to java.lang.NullPointerException
>
> I do have ANT_HOME and ant.home property pointing to
> a directory containg antRun.bat
> Peter Booth
Here is an example using sourcesafe on NT:
<exec dir="${src.stubs.dir}" command="ss Checkout -o- -i- -R
$$/SLServer/etc/stubs " />
While i'm here, there is this annoying bug in ant that eats the $, so I have to
put $$ to run my command properly
Cheers,
Ludovic Claude
Note: You can use the ant mailing list for ant related issues
To subscribe to the list, send a message to:
<an...@jakarta-apache.org>
___________________________________
Web Site Watchers Ltd
212 Piccadilly,
London W1V 9LD
United-Kingdom
Telephone: +44 (0)171 917 6255
Fax: +44 (0)171 439 0262
http://www.websitewatchers.co.uk
lc@websitewatchers.com