Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 334625

Summary: [jar exporter] Destination starting with '/' or '\' announced as being relative to the workspace
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Dani Megert <daniel_megert>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r
Version: 3.0   
Target Milestone: 3.7 M5   
Hardware: All   
OS: All   
Whiteboard:

Description Dani Megert CLA 2011-01-18 06:23:50 EST
3.7 M4 but broken since 3.0.

When using a destination starting with '/' or '\' in the JAR exporter the wizard's descriptions says that it will be relative to the workspace. This is wrong, it will be in the root of the current working directory (user.dir).

1. in the JAR Export wizard's 'JAR file' field enter: "/foo.jar or \foo.jar
==> the wizard's description says: "The export destination will be relative to your workspace."
2. export
==> observe: the file will not be placed relative to the workspace.
Comment 1 Dani Megert CLA 2011-01-18 06:25:03 EST
Fixed in AbstractJarDestinationWizardPage.java rev. 1.8.
Available in builds > I20110118-0800.
Comment 2 Dani Megert CLA 2011-01-25 04:06:09 EST
Verified in I20110124-1800.