ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Thull <>
Subject ant doesn't use <arg>
Date Fri, 28 Dec 2001 13:51:12 GMT
Hi ,
I want to use ant instead of the following comandline
set classpath=D:\myJava\gnu.regexp-1.1.4\lib\gnu-regexp-1.1.4.jar
java -jar makedocj.jar -d foo.pdb foo.txt

the commandline works.
The buildfile I use is:
> <project name="MyProject" default="compile"  basedir=".">
> <target name="compile">
> <java jar="makedocj.jar" fork="yes" >
> <arg value="-d foo.pdb foo.txt"/>
> <classpath>
><pathelement location="D:\myJava\gnu.regexp-1.1.4\lib\gnu-regexp-1.1.4.jar"/>
> </java>
> </target>

It seems, that ant didn't use the <arg> line, because the output is
the same as the command without arguments.

What went wrong?

I work on Win98 SE with ant 1.4.1

Thank you very much in advance!


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message