[jbosstools-issues] [JBoss JIRA] (JBIDE-13348) Cannot deploy BPEL project

Rob Stryker (JIRA) jira-events at lists.jboss.org
Thu Jan 10 05:24:08 EST 2013


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

Rob Stryker commented on JBIDE-13348:
-------------------------------------

{code}
Author: rob.stryker at jboss.com
Date: 2013-01-09 07:01:36 -0500 (Wed, 09 Jan 2013)
New Revision: 44650

Modified:
   branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ServerConverter.java
Log:
JBDS-2437 JBIDE-13348 - added the old method back in addition to the new

Modified: branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ServerConverter.java
===================================================================
--- branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ServerConverter.java	2013-01-08 15:53:10 UTC (rev 44649)
+++ branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ServerConverter.java	2013-01-09 12:01:36 UTC (rev 44650)
@@ -115,6 +115,17 @@
 		return dep;
 	}
 
+	public static IDeployableServer getDeployableServer(IServer server) {
+		if (server == null) {
+			return null;
+		}
+		IDeployableServer dep = (IDeployableServer) server.getAdapter(IDeployableServer.class);
+		if (dep == null) {
+			dep = (IDeployableServer) server.loadAdapter(IDeployableServer.class, new NullProgressMonitor());
+		}
+		return dep;
+	}
+
 	public static DeployableServerBehavior getDeployableServerBehavior(IServer server) {
 		if (server == null)
 			return null;

{code}
                
> Cannot deploy BPEL project
> --------------------------
>
>                 Key: JBIDE-13348
>                 URL: https://issues.jboss.org/browse/JBIDE-13348
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers, SOA Tooling
>    Affects Versions: 3.3.2
>            Reporter: Andrej Podhradsky
>            Assignee: Rob Stryker
>            Priority: Blocker
>
> After installing AS feature from JBoss Tools CR2 core the bpel project cannot be deployed to server. 
> See JBDS-2437

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