ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bond <>
Subject java task with security manager?
Date Thu, 19 Jul 2001 18:12:37 GMT
Attempting to use Ant to run a Java program with a security manager and policy file under JDK
The docs say to use something like this to run the program and it works from the command line.

java SomeApp

When I try to convert this to an Ant task, I can't quite implement the above syntax which

- no value after the property
- two equal signs for the (which makes it the only policy file)

Any thoughts?

<java classname="SomeApp" fork="yes">
      <classpath path="classes" />
      <sysproperty key="" value=""/>
      <sysproperty key="" path="config\java2.policy"/>

-- Tim

View raw message