geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcco...@apache.org
Subject svn commit: r627785 - /geronimo/devtools/eclipse-plugin/tags/2.0.0/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java
Date Thu, 14 Feb 2008 15:56:40 GMT
Author: mcconne
Date: Thu Feb 14 07:56:36 2008
New Revision: 627785

URL: http://svn.apache.org/viewvc?rev=627785&view=rev
Log:
GERONIMODEVTOOLS-282 Fix duplicate folders in resource classpath entries

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

Modified: geronimo/devtools/eclipse-plugin/tags/2.0.0/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/tags/2.0.0/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java?rev=627785&r1=627784&r2=627785&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/tags/2.0.0/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java
(original)
+++ geronimo/devtools/eclipse-plugin/tags/2.0.0/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java
Thu Feb 14 07:56:36 2008
@@ -283,7 +283,7 @@
 				// if no outputlocation, output path will get picked up by
 				// default output path
 				if(includeOutputLocations && entry.getOutputLocation() != null) {
-					path = project.getLocation().append(entry.getOutputLocation()).addTrailingSeparator().toOSString();
+                    path = project.getLocation().removeLastSegments(1).append(entry.getOutputLocation()).addTrailingSeparator().toOSString();
 				}
 			} else {
 				path = resolveVarOrLibEntry(entry);



Mime
View raw message