Author: sppatel
Date: Wed Feb 21 13:09:15 2007
New Revision: 510218
URL: http://svn.apache.org/viewvc?view=rev&rev=510218
Log:
fix spec jars not being added
Modified:
geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerRuntimeTargetHandler.java
Modified: geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerRuntimeTargetHandler.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerRuntimeTargetHandler.java?view=diff&rev=510218&r1=510217&r2=510218
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerRuntimeTargetHandler.java
(original)
+++ geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerRuntimeTargetHandler.java
Wed Feb 21 13:09:15 2007
@@ -75,8 +75,9 @@
} else {
list.add(JavaCore.newLibraryEntry(specPath, null, null));
}
- } else if(version.equals("1.2")) {
- //TODO Geronimo 1.2 Support
+ } else {
+ IPath specPath = runtime.getLocation().append("repository/org/apache/geronimo/specs/");
+ addLibraryEntries(list, specPath.toFile(), true);
}
return (IClasspathEntry[])list.toArray(new IClasspathEntry[list.size()]);
|