[
http://jira.jboss.com/jira/browse/JBIDE-926?page=comments#action_12377916 ]
Max Andersen commented on JBIDE-926:
------------------------------------
yes - the above was the best approximation we could come up with.
The more I use the wizard I think we should have an "express" wizard that sets
much more as default and does not require stepping through webcontent/jsf etc. It's
irrelevant 90% of the time....and then we shold add in important things like where
deployments should go for eg. the datasource stuff. But that's just a thought for now
;)
DataSourceXMLDeployer chooses first server that matches runtime when
several may match
--------------------------------------------------------------------------------------
Key: JBIDE-926
URL:
http://jira.jboss.com/jira/browse/JBIDE-926
Project: JBoss Tools
Issue Type: Feature Request
Components: Seam
Reporter: Rob Stryker
It is possible that several servers may share a runtime, but have different command line
arguments.
The DataSourceXmlDeployer class uses the following code to decide which server to publish
to:
IServer[] servers = ServerCore.getServers();
for (IServer server : servers) {
String primaryName = primaryRuntime.getName();
IRuntime runtime = server.getRuntime();
if(runtime!=null) {
String serverName = runtime.getName();
if(primaryName.equals(serverName)) {
s = server;
}
}
}
This code will select the last server that matches the runtime. If several match, the
last one is chosen.
Perhaps it'd be better if the Seam Project page had a section where the user could
select manually which server to deploy to if several match.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira