Personally I lay out my project in development like this: / <-- contains ANT build script, ipr/iws files, other utility scripts /build <-- contains code during compilation /dist <-- contains WAR and other deployment files /dist/docs <-- contains compiled JAVADOC site /docs <-- contains non-javadoc documentation such as release notes and design documents /src <-- contains servlet/utility code and appropriate javadoc support files. /web <-- contains my jsp/html/css/images in appropriate directory structure for site /web/WEB-INF <-- contains appropriate application configuration, third party jars, etc.
This was based on documentation from the TOMCAT project: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/source.html and so far it has been very flexible and applicable to just about every project I've worked on. However, the great thing about IDEA is its flexibility, so I don't see why this shouldn't be configurable. <OFF TOPIC> I will say that so far, I've been a little disappointed by what I've seen in terms of web application configurability and documentation. One thing that is particularly frustrating is that IDEA does not include CSS files in the list of text files. It would be great if IDEA included source highlights and code completion for CSS. Aside from that, the coding style wreaks HAVOC on my JSP files. It would be nice if it were configurable as well. In fact, I have yet to find a good document that describes a reasonably clean coding style for JSP files. Having the ability to at least configure a standard coding style for JSPs would be nice because almost every developer does it differently, and those inconsistencies are a real pain. </OFF TOPIC> sw > -----Original Message----- > From: Krys Kuzara [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 3:49 PM > To: [EMAIL PROTECTED] > Subject: [Eap-features] Re: Web Application Configuration - > WEB-INF dir > > > The Servlet spec dictates the structured hierarchy of > directories of a Web > Application, not where you lay out your source code. Do > recommend that your > servelet and utility classe source files be located in > /WEB-INF/classes/ ? > IMHO it doesn't mater where you put the sorce for your > classes, jsps, or > WEB-INF directory, as long as it's all packaged correctly in the end. > > ----- Original Message ----- > From: "jürgen höller [werk3AT]" <[EMAIL PROTECTED]> > Newsgroups: jetbrains.intellij.eap.features > Sent: Wednesday, September 18, 2002 10:44 AM > Subject: Re: Web Application Configuration - WEB-INF dir > > > What sense does that option make? The web application > structure according to > the Servlet spec expects the WEB-INF directory directly under > the document > root of the web application. IMHO there is no need to diverge > from this > convention in your development environment. > > Juergen > > > > -----Ursprüngliche Nachricht----- > > Von: Krys Kuzara [mailto:[EMAIL PROTECTED]] > > Gesendet: Mittwoch, 18. September 2002 16:30 > > An: [EMAIL PROTECTED] > > Betreff: [Eap-features] Web Application Configuration - WEB-INF dir > > > > > > Hi, > > > > Could you add the option to specifiy the location of the > > WEB-INF directory, as oposed to assuming it is under the path > > to the document root. > > > > Thanks...krys > > > > > > _______________________________________________ > > Eap-features mailing list > > [EMAIL PROTECTED] > > http://lists.jetbrains.com/mailman/listinfo/ea> p-features > > > > _______________________________________________ > Eap-features mailing list > [EMAIL PROTECTED] > http://lists.jetbrains.com/mailman/listinfo/eap-features > _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-features