How to call 'exec' with command line arguments?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rami_Abramson
Posted On:   Thursday, April 29, 2004 07:03 AM

			
Hello all,

I understand that the way to use 'exec' with command line argumens is:





How can I give the 'exec' command all the command line arguments that were specified at the execution of ant?

For example, say we have a target 'run' and we execute:
ant run "-arg1" "arg1" ...

How can we call the 'exec' in the 'run' target with "-arg1" "arg1"... as command line arguments ?

Would appreciate your help.

all the best,

Rami

Re: How to call 'exec' with command line arguments?

Posted By:   Mani_Iyer  
Posted On:   Thursday, April 29, 2004 09:38 AM

You can use

Re: How to call 'exec' with command line arguments?

Posted By:   asma_ghabri  
Posted On:   Thursday, April 29, 2004 08:30 AM

this code is extracted from "petstore" you can download it from www.sun.com it's a perfect exemple with the j2ee standard

















About | Sitemap | Contact