Bug 68859

Summary: No Subpackages possible
Product: [Eclipse Project] JDT Reporter: Stephan Kleine <kleine>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0   
Hardware: PC   
OS: Linux   
Whiteboard:

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.