Bug 21880 - Feature Request: Export Package to File option [export/import]
Summary: Feature Request: Export Package to File option [export/import]
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Erich Gamma CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-07-24 19:11 EDT by Vincent Touquet CLA
Modified: 2002-08-19 09:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Touquet CLA 2002-07-24 19:11:39 EDT
If I want to export only a package within a project, withoutthe toplevel directory representing the name of my project in Eclipse, I can't do it, because there is no wayI can unselect the root node. I think its a bug, cause this functionality was reportedlyworking in the windows version (I asked about it on the news server)?
Comment 1 Tod Creasey CLA 2002-07-25 12:53:13 EDT
There is no export package functionality in eclipse (except for exporting to a 
jar file).

There is however an option Create directory structure for files. This option 
will also create the project directory and any source directories as well but 
it will not create any files you did not select.

Moving to JDT as a feature request for an Export Package to File option
Comment 2 Dirk Baeumer CLA 2002-07-26 09:21:29 EDT
There are several request for a Java aware import and export feature. Should 
investigate for 2.1
Comment 3 Dani Megert CLA 2002-08-19 09:59:31 EDT
1. Select the package in the Package Explorer or Packages view
2. File -> Export... (or: context menu -> Export...)
3. Select "JAR file"
4. Select if you want to export source and/or binary
5. Press "Finish"

This will give you directory structure like
com/ibm/.....
i.e. will also remove the source folder level.
If you only export source then there's a checkbox on the next (i.e. options)
page which allows you to include the source folder level.
Comment 4 Dani Megert CLA 2002-08-19 09:59:48 EDT
.