geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r510221 - /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerRuntimeTargetHandler.java
Date Wed, 21 Feb 2007 21:13:34 GMT
Author: sppatel
Date: Wed Feb 21 13:13:33 2007
New Revision: 510221

URL: http://svn.apache.org/viewvc?view=rev&rev=510221
Log:
add spec jars to classpath container

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerRuntimeTargetHandler.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerRuntimeTargetHandler.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerRuntimeTargetHandler.java?view=diff&rev=510221&r1=510220&r2=510221
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerRuntimeTargetHandler.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerRuntimeTargetHandler.java
Wed Feb 21 13:13:33 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()]);



Mime
View raw message