ant-user mailing list archives

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

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


View raw message