I believe if you modified your policy file to deny System.exit, you would get a SecurityException, also each plugin user
would have to amend their policy file.

On 10 Oct 2005, at 14:39, Milos Kleint wrote:

generally you can avoid System.exit by changing the security policy. Not sure how it's relevant to running within maven.

milos

Ashley Williams wrote:

I'm writing a plugin whose job it is to call Main.main in the jaxme jar file. However at the end of main, a call to System.exit () is made therefore stopping my plugin in its tracks. How would I handle this situation? I would imagine anyone who writes custom Ant taga (not me) must come across this all the time.

Thanks
AW

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to