Bug 68859 - No Subpackages possible
Summary: No Subpackages possible
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.0   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-29 09:46 EDT by Stephan Kleine CLA
Modified: 2005-02-17 10:36 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 Stephan Kleine CLA 2004-06-29 09:46:56 EDT
It is not possible to create a subpackage of a earlier created package under
linux using your gtk distribution, neither by creating one inside the other nor
by moving  one, which is in the same level, inside the other!
On windows you can do that and/or move a package in another to get a nested
hierarchy.
As this is kind of important it would be great ifsomeone could fix that!
Thanks a lot!
Comment 1 Philipe Mulet CLA 2004-06-30 05:39:53 EDT
Frederic - pls investigate
Comment 2 Stephan Kleine CLA 2004-06-30 09:50:28 EDT
Yesterday i wrote that this would be possible using your windows version. That
is not true, you can´t do that there also. Sorry for the wrong information!
Comment 3 Frederic Fusier CLA 2005-02-17 10:36:34 EST
Perhaps I've wrongly understood your problem but it is possible to create a
subpackage of an existing package.

Just select the existing package (let say "org.eclipse"), then click on "New
Java Package" button and add name at the end of this existing package (let say
"org.eclipse.jdt.core"). Click on OK button and your subpackage is created (in
my sample, I've created two sub-levels in one shot).

With my example, you should have a new empty package "org.eclipse.jdt.core"
under your project (perhaps not shown in package explorer if you filter empty
packages). Verify in Resource perspective that you have correct hierarchy of
folders created in your project:
Project
  + org
    + eclipse
      + jdt
        + core

Reopen if I missed something.