chris chang <[EMAIL PROTECTED]> wrote:

> Hi Folks,
> 
> I want to execute the following command using java task, but I
> cannot make it work, anyone can help?
> 
> java -jar

Ant's java task doesn't support something similar to the -jar
option. <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1248>

To do what you need, you have to put the jar file into the task's
classpath and specify the Main class explicitly.

Stefan

Reply via email to