• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Classes directory is hidden

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 28360
99
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.)
 
Saloon Keeper
Posts: 28469
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
This tiny ad is wafer thin:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic