ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Newbie question about java task
Date Thu, 10 May 2001 06:38:35 GMT
chris chang <chris.chang@cendec.com> 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

Mime
View raw message