Skip to content

Commit 858f69c

Browse files
author
Tim McConnell
committed
GERONIMODEVTOOLS-282 Fix duplicate folders in resource classpath entries
git-svn-id: https://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/tags/2.0.0@627785 13f79535-47bb-0310-9956-ffa450edef68
1 parent fc87a22 commit 858f69c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ private void processJavaProject(IProject project, HashSet entries, boolean inclu
283283
// if no outputlocation, output path will get picked up by
284284
// default output path
285285
if(includeOutputLocations && entry.getOutputLocation() != null) {
286-
path = project.getLocation().append(entry.getOutputLocation()).addTrailingSeparator().toOSString();
286+
path = project.getLocation().removeLastSegments(1).append(entry.getOutputLocation()).addTrailingSeparator().toOSString();
287287
}
288288
} else {
289289
path = resolveVarOrLibEntry(entry);

0 commit comments

Comments
 (0)