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"/>
></classpath>
> </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!

Stefan
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to