Posted By:
Bagi_Pelegrini
Posted On:
Tuesday, April 30, 2002 11:19 AM
Hello,
Is it possible to pass an argument to the
task? I don't mean argument to the executing class, but the argument to the 'java' command. I am interested in using '-D' flag right after 'java' keyword and before class name. For example, from the command line I would type the following:
java -Djava.security.policy=file:/JAppl/SCJD/fbn.policy org.mee.RMIServer
Can I do this in Ant? I tried
and got an error that java.security.policy is not supported attribute.
Thanks in advance, Branko.