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 Classes directory is hidden Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Classes directory is hidden" Watch "Classes directory is hidden" New topic
Author

Classes directory is hidden

matt love
Ranch Hand

Joined: Jan 25, 2010
Posts: 41
I created a new struts 1.3.10 project using the Eclipse Tomcat template. The WEB-INF classes directory is hidden in Eclipse Package Explorer. I have turned off all the filters.

I know the directory exists as I can find it using Windows Explorer. The issue gains significance as my ApplicationResources.properties is in classes and it seems to me (a relative newbie) that I should be able to modify the resource file from within Eclipse.

Was my mistake to use the Tomcat template? If so, is it, generally-speaking, more advisable for newbies to use the Java project template as I don't believe I want to use the Dynamic Web Project template.

Many thanks.

Matt
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12612
Moved to Eclipse, as this has zero to do with Struts.

Use the navigator view. A project's output directory isn't relevant to the package view.

Whether or not you *should* be keeping things in the IDE's output directory, which could conceivably be wiped out by the IDE, is a different issue.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 12871

matt love wrote:The issue gains significance as my ApplicationResources.properties is in classes and it seems to me (a relative newbie) that I should be able to modify the resource file from within Eclipse.


I haven't used this particular product but the one I use is quite similar in that it doesn't let you see the classes directory. But if I put my properties file into the src directory (which is the parent for the directories containing all my source code) then building the project automatically copies it into the classes directory. You may find that your product works the same way.

(By the way my properties file got wiped out of the classes directory at least three times before I figured out that it was a source artifact just like the Java code was.)
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 11740

Try using the "Project Explorer" view.

And definitely, let your input directories be input only and your output directories be output only. Anything else leads to heartbreak.


A lot the of modern-day software development platforms are designed to permit parcelling out work to those with the best aptitude for it. A lot of modern-day business is predicated on making one person do all the work, regardless of aptitude.
 
 
subject: Classes directory is hidden
 
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture