Bug 2263 - Extension should be assumed when exporting (1GEK3EL)
Summary: Extension should be assumed when exporting (1GEK3EL)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Kevin Haaland CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:32 EDT by Kevin Haaland CLA
Modified: 2002-01-21 21:32 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Haaland CLA 2001-10-10 22:32:45 EDT
This should probably move to SWT, I will let KH decide.

When exporting to a JAR, the user must enter the extension manually.

Steps:
1) Make sure you have a project in your workspace
2) menu: File->Export...
3) select JAR file, click Next
4) select some resources to export
5) where it says "Where do you want to export resources to?" click
browse...
6) you will get a save dialog, ensure *.jar is selected for "Save as type"
7) enter a file name "myProject" (without including an extension), click Save

The expected behavior is to save the JAR as 'myProject.jar', instead it is saved
without an extension.

If you goto export again, you will notice the combo box remembers your previous
save, but it added the .jar for you this time.

To see the expected behavior, run Microsoft Word; goto Save As... and enter a file
without the extension, the file will save with the .doc extention.

NOTES:
JEL (30/05/2001 4:50:05 PM)
	When the user clicks Finish, if the file string does not end with ".jar" it should be
appended.  If the user wishes to save without the extension (s)he should be allowed to
edit the text field within the wizard.
Comment 1 DJ Houghton CLA 2001-10-29 18:03:33 EST
PRODUCT VERSION:
114

Comment 2 Kevin Haaland CLA 2002-01-21 21:32:39 EST
Defer