[jbosstools-issues] [JBoss JIRA] (JBIDE-15185) add flexibility that JBoss runttime server uses variables instead of absolute path for the home directory.

Rob Stryker (JIRA) issues at jboss.org
Fri Dec 20 09:21:33 EST 2013


    [ https://issues.jboss.org/browse/JBIDE-15185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932911#comment-12932911 ] 

Rob Stryker commented on JBIDE-15185:
-------------------------------------

>  if I could enter a relative path or a path containing a variable in the "Jboss Runtime" dialog would help us. We want to save this configuration in subversion and distribute it to developers.

This is 100% impossible. I will explain why. 

Only servers can be stored and shared. Runtimes cannot.  Servers are initially stored in one file named servers.xml at the following path:  ./workspace/.metadata/.plugins/org.eclipse.wst.server.core/servers.xml

Servers, however, can be right-clicked and in the properties page can have the option to be stored as separate files. They would then be stored in {workspace}/servers/YourServername.xml. 

Runtimes, however, are not stored in any accessible place at all. Runtimes are stored as one property key inside the file .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.server.core.prefs

There are many other unrelated keys in that file, most of which have nothing to do with a runtime definition. 

Runtimes cannot be right-clicked and exported or stored separately. It is 100% impossible in current UI and indeed in current API. There is no option to change where runtimes are stored at all. 
                
> add flexibility that JBoss runttime server uses variables instead of absolute path for the home directory.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-15185
>                 URL: https://issues.jboss.org/browse/JBIDE-15185
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: server, upstream
>            Reporter: Gary Hu
>             Fix For: 4.2.x
>
>
> The current jbds version only allow users to specify an absolute path for "Home Directory" when creating JBoss Runtime Server. Is it possible to use a user defined variable here?

--
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


More information about the jbosstools-issues mailing list