[jbosstools-commits] JBoss Tools SVN: r35735 - in branches/jbosstools-3.2.x/esb/plugins: org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime and 1 other directory.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Oct 17 15:35:23 EDT 2011


Author: bfitzpat
Date: 2011-10-17 15:35:23 -0400 (Mon, 17 Oct 2011)
New Revision: 35735

Added:
   branches/jbosstools-3.2.x/esb/plugins/.project
Modified:
   branches/jbosstools-3.2.x/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_410.java
Log:
JBDS-1889 - Now checking for juddi-client-3.1.2.jar as well as 3.1.0 and 3.1.1 when seeing if the runtime includes ESB 4.10

Added: branches/jbosstools-3.2.x/esb/plugins/.project
===================================================================
--- branches/jbosstools-3.2.x/esb/plugins/.project	                        (rev 0)
+++ branches/jbosstools-3.2.x/esb/plugins/.project	2011-10-17 19:35:23 UTC (rev 35735)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>plugins</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+	</buildSpec>
+	<natures>
+	</natures>
+</projectDescription>


Property changes on: branches/jbosstools-3.2.x/esb/plugins/.project
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Modified: branches/jbosstools-3.2.x/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_410.java
===================================================================
--- branches/jbosstools-3.2.x/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_410.java	2011-10-17 18:06:37 UTC (rev 35734)
+++ branches/jbosstools-3.2.x/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_410.java	2011-10-17 19:35:23 UTC (rev 35735)
@@ -23,6 +23,7 @@
 
 	private final static String JUDDI_CLIENT_JAR_31 = "juddi-client-3.1.0.jar";
 	private final static String JUDDI_CLIENT_JAR_311 = "juddi-client-3.1.1.jar";
+	private final static String JUDDI_CLIENT_JAR_312 = "juddi-client-3.1.2.jar";
 	
 	public boolean isValidESBRuntime(String location, String version, String configuration){
 		List<String> jarNames = new ArrayList<String>();
@@ -32,7 +33,7 @@
 		}
 		
 		return jarNames.contains(ROSETTA_JAR) && 
-				(jarNames.contains(JUDDI_CLIENT_JAR_31) || jarNames.contains(JUDDI_CLIENT_JAR_311));
+				(jarNames.contains(JUDDI_CLIENT_JAR_31) || jarNames.contains(JUDDI_CLIENT_JAR_311) || jarNames.contains(JUDDI_CLIENT_JAR_312));
 	}
 	
 	



More information about the jbosstools-commits mailing list