ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: a question about pass parameter to java
Date Mon, 09 Dec 2002 15:35:58 GMT
FWIW, one should try to use <jvmarg> for VM arguments *other* than
properties, for which there is the <sysproperty> element. --DD

-----Original Message-----
From: ZHOU,SHENG (HP-China,ex2) [mailto:zhou.sheng@hp.com] 
Sent: Sunday, December 08, 2002 5:13 AM
To: Ant Users List
Subject: RE: a question about pass parameter to java

Thanks a lot !
I changed as you said , and result is OK !

C:\Temp\Hello>ant run
Buildfile: build.xml

run:
     [java] Hello, World!

BUILD SUCCESSFUL
Total time: 7 seconds

-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
Sent: Friday, December 06, 2002 5:53 PM
To: ant-user@jakarta.apache.org
Subject: AW: a question about pass parameter to java


For passing arguments to the java virtual machine you have to use <jvmarg>
not <arg>.
<arg> passes arguments to your applications main()-Method.

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message