Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341667 - Interest problem related to launch config workflow / launch config tab groups
Summary: Interest problem related to launch config workflow / launch config tab groups
Status: NEW
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: wst.server (show other bugs)
Version: 3.3   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: wst.server CLA
QA Contact: Angel Vera CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-01 15:34 EDT by Rob Stryker CLA
Modified: 2011-04-01 16:57 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Stryker CLA 2011-04-01 15:34:37 EDT
The usecase here is a server which has no functional start / stop, but rather only implements these things out of necessity to fit the workflow of wtp. 

Servers only automatically publish if the server is "started". Since this example server has no need to "start", users never get the automatic / incremental deployment requests from the auto-deployer. 

So, I've implemented a rudimentary launch configuration which does nothing other than automatically set the server to started, and a stop function which, again, simply sets the server's state to stopped. 

Unfortunately, in the server editor there's this nice hyperlink to open the launch configuration. In this situation, obviously, there is no *real* launch configuration, and clearly no need for any tab group that looks like one. In fact, the user should not even be able to open the launch configuration.

Is there any way to add some API, either a launch configuration attribute or an extension point or anything, that would just disable / hide the hyperlink?
Comment 1 Elson Yuen CLA 2011-04-01 16:57:15 EDT
If the specific server type does not even has start or stop function, you may not need to create a launch configuration on the server at all.  

Have you tried remove the launch configuration and set the correct server state on the server when your server is being initialized?  Then, by the time that you auto publish is being called, your server is already "started" and then you don't need to the launch configuration.