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
posted
0
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.
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.)
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.