Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334625 - [jar exporter] Destination starting with '/' or '\' announced as being relative to the workspace
Summary: [jar exporter] Destination starting with '/' or '\' announced as being relati...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.7 M5   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-18 06:23 EST by Dani Megert CLA
Modified: 2011-01-25 04:06 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.