Author: bfitzpat
Date: 2011-10-17 15:39:03 -0400 (Mon, 17 Oct 2011)
New Revision: 35736
Modified:
trunk/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
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_410.java
===================================================================
---
trunk/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)
+++
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_410.java 2011-10-17
19:39:03 UTC (rev 35736)
@@ -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));
}
Show replies by date