ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ludovic Claude>
Subject Re: Example of ant script using exec()
Date Fri, 04 Feb 2000 21:59:31 GMT

"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

Ludovic Claude

Note: You can use the ant mailing list for ant related issues
To subscribe to the list, send a message to:

Web Site Watchers Ltd
212 Piccadilly,
London W1V 9LD

Telephone: +44 (0)171 917 6255
Fax: +44 (0)171 439 0262

View raw message