« Return to Thread: [jira] Created: (CARGO-364) Ant task should use the spawn option on exec/java to enable the app server to outlive ant

[jira] (CARGO-364) Ant task/Maven2 plugin should use the spawn option on exec/java to enable the app server to outlive ant

by JIRA jira@codehaus.org :: Rate this Message:

| View in Thread


    [ https://jira.codehaus.org/browse/CARGO-364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=294552#comment-294552 ]

Savas Ali Tokmen commented on CARGO-364:
----------------------------------------

Sorry about the confusion, I guess it's because of the remains of St Patrick's day (and, mostly evening)

The patch is looking good now, please check it in

Cheers
               

> Ant task/Maven2 plugin should use the spawn option on exec/java to enable the app server to outlive ant
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CARGO-364
>                 URL: https://jira.codehaus.org/browse/CARGO-364
>             Project: Cargo
>          Issue Type: Improvement
>          Components: Ant, Maven2
>    Affects Versions: 0.8
>         Environment: Java1.5, ant1.7alpha., winxp SP2, ethernet.
>            Reporter: Steve Loughran
>             Fix For: 1.3.0
>
>         Attachments: CARGO-364 Spawn - 2.patch
>
>
> Since Java1.5, the exec and java tasks have had a spawn option, that ensures that an application will outlive the ant run. It's pretty brutal how it is done, as there is no way to chain up the output channel of the spawned process and have it outlive ant.
> if the <cargo> task somehow exposed the spawn option, cargo could be used to launch the app server, so ant itself could act as a launcher script.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.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


 « Return to Thread: [jira] Created: (CARGO-364) Ant task should use the spawn option on exec/java to enable the app server to outlive ant