Bug 30647

Summary: JSTL examples application does not follow the Blueprints structure
Product: Taglibs Reporter: Petr Jiricka <petr.jiricka>
Component: Standard TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: nightly   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Petr Jiricka 2004-08-13 10:39:40 UTC
The source structure of the JSTL examples application contains directories conf,
src and web, where conf contains web.xml and jslt-examples.tld.

According to the J2EE Blueprints recommendation at 
http://java.sun.com/blueprints/code/projectconventions.html, these files should
be placed in web/WEB-INF. See the paragraph about web/WEB-INF in this document:

"Contains the web.xml deployment descriptor and static configuration files such
as faces-config.xml. May also include vendor-specific runtime deployment
descriptors, such as sun-web.xml. Generally, this directory contains files that
are copied rather than changed during a build. Dynamic configuration files
should be placed in the conf/ directory."

Not following the Blueprints recommendation will cause problems when trying to
use the examples in an IDE, as most IDEs assume the Blueprints structure.
Comment 1 Justyna Horwat 2004-08-17 22:15:35 UTC
Made the following changes to the JSTL 1.1.x examples source structure:

  - moved the examples deployment descriptor to the web/WEB-INF directory out from conf
  - moved the jstl-examples.tld to web/WEB-INF/tlds
  - updated build.xml to reflect new directory structure