dcsimg
ANT target=run applications comes up and disappears!
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Obaidur_Rashid
Posted On:   Tuesday, April 13, 2004 11:24 PM

I am relatively new to the ant world. I have written a build.xml and most of the things working fine. But when I try to run the application, the ui shows up for a split of a second and then disappears.

I don't know what's going on. Any pointer would be appreciated. Thanks.

Here is how my target run looks:







description="Runs the program">


class path ${classpath}





classpath="${classpath}"/>






Re: ANT target=run applications comes up and disappears!

Posted By:   Anonymous  
Posted On:   Wednesday, April 14, 2004 06:50 AM

Set the spawn attribute (since Ant 1.6) of to true. Without that the call was sucessful and Ant gets the control and finishes - which exits the VM.


BTW, you should use

 tags and indent to format code.

About | Sitemap | Contact