[
https://issues.jboss.org/browse/JBIDE-7515?page=com.atlassian.jira.plugin...
]
Rob Stryker resolved JBIDE-7515.
--------------------------------
Resolution: Done
As shown above, this patch has fixed several things. First, the deploy-only server
previously was not able to be created in rse mode. You had to create it in local mode, and
then switch to rse in the editor. This was bad workflow.
Second, the enhancement of allowing launch scripts has been added. The launch tabs,
however, will be inactive if your server is set to ignore launches in the server editor.
If, however, that setting is not checked, then the launch tabs will be active and you can
set startup or shutdown commands.
In the event of a shutdown, the shutdown script will be called. In the event the shutdown
script fails, the initial launch process will be terminated.
If your initial launch leaves background processes running, and we force-kill the launched
process, the deploy-only server will NOT terminate all of them! This is because java
cannot send specific termination signals to a process. The java implementation of
process.destroy() may kill, for example, a wildfly's standalone.sh, but will not kill
the java process that standalone.sh has launched.
Users should take care when using this feature.
Add (optional) start/stop script to the Deploy only server
----------------------------------------------------------
Key: JBIDE-7515
URL:
https://issues.jboss.org/browse/JBIDE-7515
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: server
Reporter: Max Rydahl Andersen
Assignee: Rob Stryker
Fix For: 4.2.0.Beta1
Attachments: JBIDE-7515_1.png, JBIDE-7515_2.png, JBIDE-7515_3.png,
JBIDE-7515_lc1.png, JBIDE-7515_lc2.png, JBIDE-7515_lc3.png
Currently the "Deploy only" server can just "deploy" - I suggest we
add support for running a start (and optional) a stop script to let users start/stop what
they want.
This would be a nice stop-gap feature for things like AS 7 or other runtimes out in the
world until "native" integration is possible.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira