ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: custom task problem... ARGHH!!
Date Tue, 14 Aug 2001 16:42:22 GMT
> -----Original Message-----
> From: T Master [mailto:tmaster@iknowledgeinc.com]

>         toExecute.setExecutable("java javancss.Main 
> -version");    // basic
> usage specified here.  source file not specified now.

Not correct.
It must be an executable file,
you are giving here executable + arguments.

Note: Consider using CommandlineJava instead of Commandline.
You can look into JUnit task or AbstractMetamataTask to see how to do this.

Stephane

Mime
View raw message