[
http://jira.codehaus.org/browse/MTOMCAT-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162051#action_162051
]
Jon Fisher commented on MTOMCAT-20:
-----------------------------------
My mistake Olivier, I didn't really know what to click on, i'm quite unfamiliar
with Jira.
I noticed this would be relatively easy to implement. On line 145 of
AbstractRunMojo.java you can comment out the waitIndefinitely() function call
to continue execution. A conditional statement around this line would enable
the requested feature.
Would it be best to:
Set a system property (-Dfork=True)
Set a configuration parameter (<configuration><fork>true</fork>....)
Create a new goal (tomcat:fork)
Opinions?
> Support process forking in tomcat:run
> --------------------------------------
>
> Key: MTOMCAT-20
> URL: http://jira.codehaus.org/browse/MTOMCAT-20
> Project: Maven 2.x Tomcat Plugin
> Issue Type: Improvement
> Affects Versions: 1.0-beta-1
> Environment: n/a
> Reporter: Jon Fisher
> Assignee: Olivier Lamy
> Priority: Minor
> Fix For: 1.0-beta-2
>
>
> It would be nice to have the ability to fork away after a server has started.
> This is extremely useful for people that run integration tests during a maven
> build. They could fork an embedded server, start their integrations tests,
> then later shut down the embedded instance.
--
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