This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
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: 580
In eclipse how to create a folder with a package and package within a package?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17142
    
  27

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.


An IDE is no substitute for an Intelligent Developer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: In eclipse how to create a folder with a package and package within a package?
 
It's not a secret anymore!