File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes In eclipse how  to create a folder with a package and package within a package? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "In eclipse how  to create a folder with a package and package within a package?" Watch "In eclipse how  to create a folder with a package and package within a package?" New topic
Author

In eclipse how to create a folder with a package and package within a package?

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
In eclipse how to create a folder with a package and package within a package?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14456
    
    7

When you select "New Package" off the eclipse menu, the corresponding folder(s) will also be created automatically.

You don't have to define subpackages one level at a time. If I define a new package and enter the package name "com.coderanch.javaranch.saloon.forum", any missing elements in that package tree will also be created automatically.

That's also true in many (though not all) cases where you are prompted by Eclipse to specify/create a directory in general.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: In eclipse how to create a folder with a package and package within a package?
 
Similar Threads
NoClassDefFoundError
Eclipse create mulit-folder package names
How can I use Eclipse for creating MIDP applications?
Creating Application Resource with MyEclipse
Eclipse - Folder or Package