On 3/23/07, jason r tibbetts <[EMAIL PROTECTED]> wrote:
> I haven't tried this, but from reading
> http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html 
<http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html>
> I believe that
> cleanupDaemonThreads 
<https://webmail.valtech.com/exchange/Barrett.Nuzum/Drafts/RE:%20exec-maven-plugin:%20Swing%20app%20disappears%20immediately_x003F_.EML/1_text.htm#cleanupDaemonThreads>
  = false
> is what you want.

Thanks, Barrett. I didn't try that, but I did set <keepAlive> to true,
and that did the trick--despite the fact that the documentation says
that keepAlive is deprecated!

Please do NOT depend on a deprecated element. It will be removed in
the next version.

Second maven should stop. The even thread is not a daemon thread so
maven should not go on until the thread is terminated.

Maybe the event thread doesn't have the time to be fully started
before maven takes control again ?

If so, adding a Sleep(1 sec) at the end of your main() should solve it
until we find a better way to solve this.

Please open an issue in the Jira issue tracker.

Cheers,

Jerome

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

Reply via email to