ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stewart, Robbie (Contractor)" <Robbie.Stew...@dsto.defence.gov.au>
Subject RE: Using nested <arg>s with <java> task
Date Wed, 20 Sep 2000 04:52:40 GMT
More ..
Sorry, hit 'send' too quickly. JVM args are ignored if process is not forked
(which is the default) .. so you need the fork attribute

 <java classname="COM.foo.bar.Main"
        fork="yes"
        jvmargs="-Dfoo=bar -Dbaz=boz"
  />

Robbe Stewart
Contractor
2.C.64


Mime
View raw message