----- Original Message -----
From: "Grant Echols (JanusLogix)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 17, 2002 12:57 PM
Subject: Re: How to use the Java2WSDL class inside a java program


> Steve,
>
> I couldn't agree more! - main() should do a System.exit() so that its
> results can be tested.
>
> However, the System.exit() isn't coming from main(), its being called from
> inside the run(String[] args) method. If this had only done a return with
a
> result code then the main() could easily have done the System.exit() with
> the return code and we could be using the run method. This would give me a
> method I could call from inside my tool (as others are also trying to do)
> and yet would still return the results to Ant, batch file, whatever.
>
> I'm sorry this was taken as just complaining. I'd prefer that it generated
> some action to improve the code that appears to be biting more than just
me.
> If this isn't the open source way then I admit I'm a newbie and just
trying
> to get my job done.
>
> Thanks,
>
> Grant
>

I see your point. But just talk to the Emitter class and be done with it, in
my opinion. You get better error handling that way.

Reply via email to