[
http://jira.codehaus.org/browse/MEXEC-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerome Lacoste updated MEXEC-6:
-------------------------------
Fix Version/s: (was: before-1.1)
1.1-beta-1
> exec:java should wait until spawned non-daemon threads finish
> -------------------------------------------------------------
>
> Key: MEXEC-6
> URL: http://jira.codehaus.org/browse/MEXEC-6
> Project: Maven 2.x Exec Plugin
> Issue Type: Improvement
> Affects Versions: 1.0.1
> Environment: jdk 1.4
> Reporter: David Smiley
> Assignee: Jerome Lacoste
> Fix For: 1.1-beta-1
>
> Attachments: mexec-6.diff
>
>
> exec:java currently only waits until main finishes and then the vm haults
> soon thereafter. If my java executable spawns daemon threads, then your code
> is fine. But if it spawns non-daemon threads, you should be smart enough to
> not quit since there are non-daemon threads still running.
> It's too bad ThreadGroup doesn't have a join since implementing this support
> would be easier if it did.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email