How about documentation folder and jsp files, where would you put them?

BTW, I was studying a tool called Maven on Apache.  I think it's more relevant
to project structure than Ant.  Ant is more related to building a project, isn't
it?  Is there a standard project model/pattern out there we can just follow?

-----Original Message-----
From: Matt Raible [mailto:[EMAIL PROTECTED] 
Sent: September 8, 2003 11:06 AM
To: 'Struts Users Mailing List'
Subject: RE: What's a well defined Struts Project Structure?


Here's what I do - based on Erik Hatcher's recommendations in his "Java
Development with Ant" book:

MyProject
  | - lib (third party jars, etc.)
  | src (.java files)
  | test (junit, cactus, webtest tests)
  | web
       | images
       | styles
       | scripts
       | WEB-INF
           | classes
               | .properties and .xml files
           web.xml
           struts-config.xml
build.xml

For a working example, checkout my appfuse project at:

http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse

HTH,

Matt

-----Original Message-----
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Monday, September 08, 2003 10:37 AM
To: 'Struts Users Mailing List'
Subject: What's a well defined Struts Project Structure?



What a well defined struts project structure would look like?  I am always a
bit
hesitant with where to put things....

Right now, I have:

MyProject       
  |- documentation
  |- images
  |- jsps
        |- styles
        |- javascript
  |- WEB-INF
          |- classes
          |- bin
        struts-config.xml
          *.tld
  project.xml
  ...

But I always run into problems with too many files in one folder or too few
files in one folder.  I searched the apache CVS tree, and found that it's a
mess
there too.  Just compare Tomcat and Struts, you will know what I am talking
about.

Thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to