diff options
author | Andrew Niefer | 2006-10-02 19:05:18 +0000 |
---|---|---|
committer | Andrew Niefer | 2006-10-02 19:05:18 +0000 |
commit | 7f1597f6b7c116f93415fa69e94d06a11d22f620 (patch) | |
tree | 36f1249905f77444505141516f65354953978f6e | |
parent | 46e09022bc8cd8061047412cbba57c5308fb2f99 (diff) | |
download | eclipse.pde.build-7f1597f6b7c116f93415fa69e94d06a11d22f620.tar.gz eclipse.pde.build-7f1597f6b7c116f93415fa69e94d06a11d22f620.tar.xz eclipse.pde.build-7f1597f6b7c116f93415fa69e94d06a11d22f620.zip |
bug 158589 - Export deployable plugins/features wizards fails with target plugins imported
-rw-r--r-- | org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ClasspathComputer3_0.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ClasspathComputer3_0.java b/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ClasspathComputer3_0.java index 5d1a2a7a..d9822298 100644 --- a/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ClasspathComputer3_0.java +++ b/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ClasspathComputer3_0.java @@ -295,7 +295,11 @@ public class ClasspathComputer3_0 implements IClasspathComputer, IPDEBuildConsta if ("jar".equalsIgnoreCase(basePath.getFileExtension())) { //$NON-NLS-1$ path = basePath.toOSString(); } else { - path = basePath.append(libraryName).toString(); + Path libraryPath = new Path(libraryName); + if (libraryPath.isAbsolute()) + path = libraryPath.toOSString(); + else + path = basePath.append(libraryPath).toOSString(); } path = generator.replaceVariables(path, pluginId == null ? false : generator.getCompiledElements().contains(pluginId)); String secondaryPath = null; |