-D parameter for the <java> task
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

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.

Re: -D parameter for the <java> task

Posted By:   Anonymous  
Posted On:   Tuesday, April 30, 2002 11:44 AM

Hi, could this help you?







I'm just guessing..
About | Sitemap | Contact