my wsdl2java plugin had the same problem..

I ended up finding the source for the main method for the wsdl2java and just
wrote another version of it that didn't call the system.exit()

that plugin in mojo if you want to take a look

jesse

On 10/10/05, Ashley Williams <[EMAIL PROTECTED]> wrote:
>
> 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]
>
>


--
jesse mcconnell

Reply via email to