You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by mc...@apache.org on 2008/12/10 02:49:53 UTC

svn commit: r724952 - /geronimo/devtools/eclipse-plugin/branches/2.0.2/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java

Author: mcconne
Date: Tue Dec  9 17:49:53 2008
New Revision: 724952

URL: http://svn.apache.org/viewvc?rev=724952&view=rev
Log:
GERONIMODEVTOOLS-550 Handle output location entries in the .classpath file in the same manner as source location entries

Modified:
    geronimo/devtools/eclipse-plugin/branches/2.0.2/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java

Modified: geronimo/devtools/eclipse-plugin/branches/2.0.2/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.0.2/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java?rev=724952&r1=724951&r2=724952&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.0.2/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/2.0.2/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java Tue Dec  9 17:49:53 2008
@@ -292,7 +292,7 @@
 		}
 		
 		if(includeOutputLocations) {
-			String path = project.getLocation().removeLastSegments(1).append(jp.getOutputLocation()).addTrailingSeparator().toOSString();
+            String path = project.getLocation().append(jp.getOutputLocation().removeFirstSegments(1)).addTrailingSeparator().toOSString();
 			addEntry(entries, path);
 		}
 	}