ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <ddevie...@gmail.com>
Subject Re: Basic question about ant
Date Fri, 28 Aug 2009 18:45:31 GMT
On Fri, Aug 28, 2009 at 12:53 PM, veena pandit<v.kris21@gmail.com> wrote:
>    <exec executable="wsgen">
>       <arg line="-cp ./bin -keep -s ./src -d
> com.tutorial.wsServer.SayHello/>
>    </exec
>
> Cannot run program "wsgen":CreateProcess error=2. The system cannot find the
> path specified.

This means wsgen in not in your path. If you can't run it at the command line,
you can't run it inside Ant.

Note that it's also best to use <arg value=""> and <arg file=""> rather than
a single <arg file="">, as <arg file=""> will convert them to absolute filenames
and use the proper file separator depending on the current platform. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message