RAT (Release Audit Tool) results

The following document contains the results of RAT (Release Audit Tool).

*****************************************************
Summary
-------
Notes: 2
Binaries: 2
Archives: 1
Standards: 90

Apache Licensed: 57
Generated Documents: 1

JavaDocs are generated and so license header is optional
Generated files do not required license headers

32 Unknown Licenses

*******************************

Archives (+ indicates readable, $ unreadable): 

 + lib/ibatis-db-1.2.9.jar
 
*****************************************************
  Files with AL headers will be marked L
  Binary files (which do not require AL headers) will be marked B
  Compressed archives will be marked A
  Notices, licenses etc will be marked N
 !????? build-gump.xml
 !????? build-legacy.xml
  GEN   build.xml
  AL    conf/LicenseCheckStyle.txt
 !????? conf/ResourcesCheckStyle.xml
 !????? doap_resources.rdf
  A     lib/ibatis-db-1.2.9.jar
  N     LICENSE.txt
  AL    maven.xml
  N     NOTICE.txt
  AL    pom.xml
  AL    project.properties
  AL    project.xml
 !????? PROPOSAL.html
 !????? src/conf/MANIFEST.MF
 !????? src/conf/mysql.sql
  AL    src/java/org/apache/commons/resources/impl/BasicMessage.java
  AL    src/java/org/apache/commons/resources/impl/BasicMessageList.java
  AL    src/java/org/apache/commons/resources/impl/CollectionResourcesBase.java
  AL    src/java/org/apache/commons/resources/impl/DatabaseBasicMessage.java
  AL    src/java/org/apache/commons/resources/impl/JDBCResources.java
  AL    src/java/org/apache/commons/resources/impl/JDBCResourcesFactory.java
 !????? src/java/org/apache/commons/resources/impl/package.html
  AL    src/java/org/apache/commons/resources/impl/PropertyResources.java
  AL    src/java/org/apache/commons/resources/impl/PropertyResourcesFactory.java
  AL    src/java/org/apache/commons/resources/impl/ResourceBundleResources.java
  AL    src/java/org/apache/commons/resources/impl/ResourceBundleResourcesFactory.java
  AL    src/java/org/apache/commons/resources/impl/ResourcesBase.java
  AL    src/java/org/apache/commons/resources/impl/ResourcesFactoryBase.java
  AL    src/java/org/apache/commons/resources/impl/WebappPropertyResources.java
  AL    src/java/org/apache/commons/resources/impl/WebappPropertyResourcesFactory.java
  AL    src/java/org/apache/commons/resources/impl/WebappResourcesFactoryBase.java
  AL    src/java/org/apache/commons/resources/impl/WebappXMLResources.java
  AL    src/java/org/apache/commons/resources/impl/WebappXMLResourcesFactory.java
  AL    src/java/org/apache/commons/resources/impl/XMLResources.java
  AL    src/java/org/apache/commons/resources/impl/XMLResourcesFactory.java
  AL    src/java/org/apache/commons/resources/Message.java
  AL    src/java/org/apache/commons/resources/MessageList.java
  AL    src/java/org/apache/commons/resources/Messages.java
 !????? src/java/org/apache/commons/resources/package.html
  AL    src/java/org/apache/commons/resources/Resources.java
  AL    src/java/org/apache/commons/resources/ResourcesException.java
  AL    src/java/org/apache/commons/resources/ResourcesFactory.java
  AL    src/java/org/apache/commons/resources/ResourcesKeyException.java
  AL    src/java/org/apache/commons/resources/util/IteratorEnumeration.java
 !????? src/java/org/apache/commons/resources/util/package.html
 !????? src/java/overview.html
  B     src/site/resources/images/logo.png
  AL    src/site/site.xml
 !????? src/test/init.sql
 !????? src/test/log4j.properties
  AL    src/test/org/apache/commons/resources/impl/BasicMessageListTestCase.java
  AL    src/test/org/apache/commons/resources/impl/BasicMessageTestCase.java
  AL    src/test/org/apache/commons/resources/impl/CollectionResourcesBaseTestCase.java
  AL    src/test/org/apache/commons/resources/impl/CollResources.java
  AL    src/test/org/apache/commons/resources/impl/CollResourcesFactory.java
 !????? src/test/org/apache/commons/resources/impl/jdbc.test.config.properties
  AL    src/test/org/apache/commons/resources/impl/JDBCResourcesTestCase.java
 !????? src/test/org/apache/commons/resources/impl/LocalStrings.properties
 !????? src/test/org/apache/commons/resources/impl/MessageResources.xml
  AL    src/test/org/apache/commons/resources/impl/PropertyResourcesTestCase.java
  AL    src/test/org/apache/commons/resources/impl/ResourceBundleResourcesFactoryTestCase.java
  AL    src/test/org/apache/commons/resources/impl/ResourceBundleResourcesTestCase.java
  AL    src/test/org/apache/commons/resources/impl/ResourcesBaseMethodTestCase.java
  AL    src/test/org/apache/commons/resources/impl/ResourcesBaseTestCase.java
  AL    src/test/org/apache/commons/resources/impl/ResourcesFactoryBaseTestCase.java
  AL    src/test/org/apache/commons/resources/impl/TestResources.java
 !????? src/test/org/apache/commons/resources/impl/TestResources.properties
 !????? src/test/org/apache/commons/resources/impl/TestResources.xml
  AL    src/test/org/apache/commons/resources/impl/TestResourcesFactory.java
 !????? src/test/org/apache/commons/resources/impl/TestResources_en.properties
 !????? src/test/org/apache/commons/resources/impl/TestResources_en.xml
 !????? src/test/org/apache/commons/resources/impl/TestResources_en_US.properties
 !????? src/test/org/apache/commons/resources/impl/TestResources_en_US.xml
 !????? src/test/org/apache/commons/resources/impl/TestResources_fr.properties
 !????? src/test/org/apache/commons/resources/impl/TestResources_fr.xml
  AL    src/test/org/apache/commons/resources/impl/XMLResourcesTestCase.java
  AL    src/test/org/apache/commons/resources/MessagesTestCase.java
  AL    src/test/org/apache/commons/resources/util/IteratorEnumerationTestCase.java
 !????? src/web/test-webapp-resource/test-non-webapp-resource.xml
 !????? src/web/test-webapp-resource/test-webapp-resource.xml
 !????? src/web/test-webapp-resource/test.txt
 !????? src/web/test-webapp-resource/testWebappResource.jsp
 !????? src/web/test-webapp-resource/test_en_US.txt
 !????? src/web/test-webapp-resource/test_en_US_GMT.txt
 !????? src/web/test-webapp-resource/WEB-INF/web.xml
 !????? STATUS.html
  AL    xdocs/changes.xml
  AL    xdocs/cvs-usage.xml
  AL    xdocs/downloads.xml
  B     xdocs/images/logo.png
  AL    xdocs/index.xml
  AL    xdocs/issue-tracking.xml
  AL    xdocs/navigation.xml
  AL    xdocs/todo.xml
 
 *****************************************************
 Printing headers for files without AL header...
 
 
 =======================================================================
 ==build-gump.xml
 =======================================================================
 <!--

  WARNING: This file is generated! Do not edit by hand!
  
-->

<project name="maven" default="jar" basedir=".">

  <target
    name="jar">
    
    <property name="maven.build.dir" value="target"/>
    <property name="maven.build.dest" value="${maven.build.dir}/classes"/>
    
    <mkdir dir="${maven.build.dest}"/>
    
    <javac
      destdir="${maven.build.dest}"
      excludes="**/package.html"
      debug="false"
      deprecation="false"
      optimize="false">
      <src>
         <pathelement location="src/java"/>
      </src>
    </javac>

    <jar
      jarfile="${maven.build.dir}/${maven.final.name}.jar"
      basedir="${maven.build.dest}"
      excludes="**/package.html"
    />
    
  </target>

</project>

 =======================================================================
 ==build-legacy.xml
 =======================================================================
 <project name="Resource Facilities" default="compile" basedir=".">


<!--
        "Resource Facilities" component of the Apache Commons Subproject
        $Id: build-legacy.xml 561366 2007-07-31 15:58:29Z rahul $
        
        
         all             Clean and compile all components
         clean           Clean build and distribution directories
         compile         Compile shareable components
         compile.tests   Compile unit test cases
         dist            Create binary distribution
         init            Initialize and evaluate conditionals
         javadoc         Create component Javadoc documentation
         prepare         Prepare build directory
         static          Copy static files to build directory
         test            Run all unit test cases
        
         Default target: compile

-->


<!-- ========== Initialize Properties ===================================== -->


  <property file="build.properties"/>                <!-- Component local   -->
  <property file="../build.properties"/>             <!-- Commons local     -->
  <property file="${user.home}/build.properties"/>   <!-- User local        -->


<!-- ========== External Dependencies ===================================== -->

  <!-- The home directory for the BeanUtils package -->
  <property name="commons-beanutils.home" value="../beanutils/dist" />

  <!-- The home directory for the Commons collection classes distribution -->
  <property name="commons-collections.home" value="../collections/dist"/>

  <!-- The home directory for the Digester package -->
  <property name="commons-digester.home" value="../digester/dist" />

  <!-- The home directory for the Discovery package -->
  <property name="commons-discovery.home" value="../discovery/dist" />

  <!-- The home directory for the Logging package -->
  <property name="commons-logging.home" value="../logging/dist" />

  <!-- The directory containing your binary distribution of JUnit,

 =======================================================================
 ==conf/ResourcesCheckStyle.xml
 =======================================================================
 <?xml version="1.0"?>
<!DOCTYPE module PUBLIC
    "-//Puppy Crawl//DTD Check Configuration 1.1//EN"
    "http://www.puppycrawl.com/dtds/configuration_1_1.dtd">


<!--
  
  These checks still need to be Voted on for Resources, but
  at least serve to cut down on some of the noise. 


  A Checkstyle configuration that checks against the recommendations
  in Joshua Bloch, Effective Java (highliy recommended read!)

  This file does NOT duplicate the checks for whitespace settings,
  placement of curly braces, etc.  Only the rules that are explicitly
  mentioned in the book are enforced.

  Currently the amount of rules that can be automatically checked by
  Checkstyle is not very large, but adding more checks of this quality
  is a high priority goal for the development team.

-->

<module name="Checker">

   <module name="TreeWalker">

    <!-- Item 4 - Avoid creating duplicate objects -->
    <module name="IllegalInstantiation">
      <property name="classes" value="java.lang.Boolean, java.lang.String"/>
    </module>

    <!-- Item 6 - Avoid finalizers -->
    <!-- this will not find violations that contain linebreaks -->
    <module name="GenericIllegalRegexp">
      <property name="format"
                value="((public)|(protected))\s+void\s+finalize\(\s*\)"/>
    </module>

    <!-- Item 8 - Always override hashCode when you override equals -->
    <module name="EqualsHashCode"/>

    <!-- Item 12 - Make all fields private -->
    <module name="VisibilityModifier"/>

    <!-- Item 15 - Design and document for inheritance or else prohibit it -->
    <!-- the module actually implements a very strict rule, it would be
         interesting to know whether Joshua meant what checkstyle implements.

 =======================================================================
 ==doap_resources.rdf
 =======================================================================
 <?xml version="1.0"?>
<rdf:RDF xmlns="http://usefulinc.com/ns/doap#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:asfext="http://projects.apache.org/ns/asfext#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:doap="http://usefulinc.com/ns/doap#" xml:lang="en">
  <Project rdf:about="http://jakarta.apache.org/commons/resources/">
    <name>Apache Jakarta Commons Resources</name>
    <homepage rdf:resource="http://jakarta.apache.org/commons/resources/"/>
    <programming-language>Java</programming-language>
    <category rdf:resource="http://projects.apache.org/category/library"/>
    <license rdf:resource="http://usefulinc.com/doap/licenses/asl20"/>
    <bug-database rdf:resource="http://issues.apache.org/bugzilla/buglist.cgi?product=Commons&amp;component=resources"/>
    <download-page rdf:resource="http://jakarta.apache.org/site/downloads/downloads_commons-resources.cgi"/>
    <asfext:pmc rdf:resource="http://jakarta.apache.org/"/>
    <shortdesc xml:lang="en">Commons Resources</shortdesc>
    <description xml:lang="en">
      Resources is a resources component.
  </description>
    <repository>
      <SVNRepository>
        <browse rdf:resource="http://svn.apache.org/viewcvs.cgi"/>
        <location rdf:resource="http://svn.apache.org/repos/asf/jakarta/commons/proper/resources"/>
      </SVNRepository>
    </repository>
    <!--
    <release>
      <revision>
        <name>??</name>
        <created>yyyy-mm-dd</created>
        <version>??</version>
      </revision>
    </release>
    -->
    <mailing-list rdf:resource="http://jakarta.apache.org/site/mail2.html#Commons"/>
  </Project>
</rdf:RDF>

 =======================================================================
 ==PROPOSAL.html
 =======================================================================
 <html>
<head>
<title>Proposal for Resources Package</title>
</head>
<body bgcolor="white">

<div align="center">
<h1>Proposal for <em>Resources</em> Package</h1>
</div>

<h3>(0) Rationale</h3>

<p>Many Java applications must support internationalization (i18n) of message
strings presented as part of the user interface, or in messages written to
log files.  The standard Java APIs offer the
<code>java.util.ResourceBundle</code> family of classes to support this
requirement; however, these classes have the following limitations that
reduce their usefulness:</p>
<ul>
<li>The classes assume that all messages should be presented based on
    a single Locale, while many applications require support for different
    Locales for each current application user.</li>
<li>The <code>ResourceBundle</code> implementation classes do not implement
    the <code>java.io.Serializable</code> interface, which is required in
    some operational environments.</li>
</ul>

<p>The classes in the proposed <code>Resources</code> package offer solutions
to these two problems, and provide a framework for providing customized
<code>MessageResources</code> implementations that can access resource strings
from any desired static or dynamically updated collection.</p>


<h3>(1) Scope of the Package</h3>

<p>The proposal defines a miniature resources framework consisting of two
abstract classes:</p>
<ul>
<li><strong>MessageResources</strong> - Base class for a collection of
    message strings, keyed by a combination of a <code>java.util.Locale</code>
    and a message key.</li>
<li><strong>MessageResourcesFactory</strong> - Factory class to configure and
    instantiate an appropriate <code>MessageResources</code> instance.</li>
</ul>

<p>An initial (and default) implementation accesses the required message
strings from Properties files accessed via <code>Class.getResource()</code>.
These files are named with a base name, plus extensions identifying the
Locale of the contained message strings, in a manner identical to the
<code>java.util.PropertyResourceBundle</code> class of the standard APIs.</p>

 =======================================================================
 ==src/conf/MANIFEST.MF
 =======================================================================
 Extension-Name: @package@
Specification-Vendor: Apache Software Foundation
Specification-Version: 1.0
Implementation-Vendor: Apache Software Foundation
Implementation-Version: @version@

 =======================================================================
 ==src/conf/mysql.sql
 =======================================================================
 MySql Script to create an example database
------------------------------------
CREATE DATABASE resources;
use resources;
FLUSH PRIVILEGES;

drop table   resources;
create table resources ( 
  locale            varchar(10)      not null,
  msgKey            varchar(255)     not null,
  val               varchar(255),
  Primary Key(
    locale,
    msgKey
  )
);

GRANT Select ON resources.* TO 'resourcesTest'@'localhost' IDENTIFIED BY 'resourcesTest';

Insert into resources (locale, msgKey, val) Values ('', 'test.base', '[Base] ONLY');
Insert into resources (locale, msgKey, val) Values ('', 'test.specific', '[Base] SPECIFIC');
Insert into resources (locale, msgKey, val) Values ('', 'test.inherit', '[Base] INHERIT');
Insert into resources (locale, msgKey, val) Values ('', 'test.message', '[Base] REPLACE {0} WITH {1}');

Insert into resources (locale, msgKey, val) Values ('en', 'test.specific', '[en] SPECIFIC');
Insert into resources (locale, msgKey, val) Values ('en', 'test.inherit', '[en] INHERIT');

Insert into resources (locale, msgKey, val) Values ('en_US', 'test.specific', '[en_US] SPECIFIC');

Insert into resources (locale, msgKey, val) Values ('fr', 'test.specific', '[fr] SPECIFIC');
Insert into resources (locale, msgKey, val) Values ('fr', 'test.inherit', '[fr] INHERIT');


 =======================================================================
 ==src/java/org/apache/commons/resources/impl/package.html
 =======================================================================
 <html>
<head>
<title>Package Documentation for org.apache.commons.resources.impl Package</title>
</head>
<body bgcolor="white">
<p>
This package contains implementations for the various defined in the <code>org.apache.commons.resources</code>
package.
</p>
</body>
</html>

 =======================================================================
 ==src/java/org/apache/commons/resources/package.html
 =======================================================================
 <html>
<head>
<title>Package Documentation for org.apache.commons.resources Package</title>
</head>
<body bgcolor="white">
<p>Resources is a component that provides advanced management of message resources.</p>
<p>Many Java applications must support internationalization (i18n) of message
strings presented as part of the user interface, or in messages written to
log files.  The standard Java APIs offer the
<code>java.util.ResourceBundle</code> family of classes to support this
requirement; however, these classes have the following limitations that
reduce their usefulness:</p>
<ul>
<li>The classes assume that all messages should be presented based on
    a single Locale, while many applications require support for different
    Locales for each current application user.</li>
<li>The <code>ResourceBundle</code> implementation classes do not implement
    the <code>java.io.Serializable</code> interface, which is required in
    some operational environments.</li>
</ul>

<p>The classes in the proposed <code>Resources</code> package offer solutions
to these two problems, and provide a framework for providing customized
<code>MessageResources</code> implementations that can access resource strings
from any desired static or dynamically updated collection.</p>
</body>
</html>

 =======================================================================
 ==src/java/org/apache/commons/resources/util/package.html
 =======================================================================
 <html>
<head>
<title>Package Documentation for org.apache.commons.resources.util Package</title>
</head>
<body bgcolor="white">
<p>
This package contains utility classes used by Commons Resources.
</p>
</body>
</html>

 =======================================================================
 ==src/java/overview.html
 =======================================================================
 <html>
<head>
<title>The Apache Commons Resources Package</title>
</head>
<body bgcolor="white">

<p>The Apache Commons Resources Package.</p>

<div align="center">
[<a href="#overview">Overview</a>]
[<a href="#dependencies">Dependencies</a>]
[<a href="#resources">Using Resources</a>]
[<a href="#messages">Using Messages</a>]
[<a href="#implementing">Implementing Resources</a>]
</div>

<a name="overview"></a>
<h3>Overview</h3>

<p>The <em>Apache Commons Resources Package</em> provides a general
framework for retrieving localized application resources (based on either an
explicitly specified <code>java.util.Locale</code> instance, or the system
default <code>Locale</code>).  In addition, since a very common use case for
localized resources is to prepare prompt and error messages for a user
interface, convenient mechanisms are provided to retrieve a localized message
string (suitable for use with the <code>java.text.MessageFormat</code> class)
plus substitution parameters, and prepare a localized and customized message
string.</p>

<p>The Commons Resources package is organized around the following fundamental
interfaces and classes (in the <code>org.apache.commons.resources</code>
package):</p>
<ul>
<li><a href="org/apache/commons/resources/Resources.html">Resources</a> -
    Abstract representation of a set of internationalized resources, which
    can be retrieved by specifying a <code>resource key</code>, and optional
    <code>java.util.Locale</code> and <code>java.util.TimeZone</code>
    parameters.</li>
<li><a href="org/apache/commons/resources/ResourcesFactory.html">
    ResourcesFactory</a> - Factory pattern interface for creating
    <code>Resources</code> instances with a specified logical name,
    configured by a parameter String whose meaning is defined by the
    particular <code>ResourcesFactory</code> implementation you are
    using.</li>
<li><a href="org/apache/commons/resources/Messages.html">Messages</a> -
    Wrapper for use around any <code>Resources</code> instance that provides
    message formatting services (including parameter substitution), as
    long as the resources are legal arguments to the <code>format()</code>
    method of the <code>java.text.MessageFormat</code> class.</li>
</ul>

 =======================================================================
 ==src/test/init.sql
 =======================================================================
 -- Script to create an example database
------------------------------------

DROP TABLE RESOURCES;

create table resources ( 
  locale            varchar(10)      not null,
  msgKey            varchar(255)     not null,
  val               varchar(255),
  Primary Key(
    locale,
    msgKey
  )
);

Insert into resources (locale, msgKey, val) Values ('', 'test.base', '[Base] ONLY');
Insert into resources (locale, msgKey, val) Values ('', 'test.specific', '[Base] SPECIFIC');
Insert into resources (locale, msgKey, val) Values ('', 'test.inherit', '[Base] INHERIT');
Insert into resources (locale, msgKey, val) Values ('', 'test.message.single', '[Base] REPLACE {0}');
Insert into resources (locale, msgKey, val) Values ('', 'test.message', '[Base] REPLACE {0} WITH {1}');

Insert into resources (locale, msgKey, val) Values ('en', 'test.specific', '[en] SPECIFIC');
Insert into resources (locale, msgKey, val) Values ('en', 'test.inherit', '[en] INHERIT');

Insert into resources (locale, msgKey, val) Values ('en_US', 'test.specific', '[en_US] SPECIFIC');

Insert into resources (locale, msgKey, val) Values ('fr', 'test.specific', '[fr] SPECIFIC');
Insert into resources (locale, msgKey, val) Values ('fr', 'test.inherit', '[fr] INHERIT');


 =======================================================================
 ==src/test/log4j.properties
 =======================================================================
 ### direct log messages to stdout ###
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n

### direct messages to file hibernate.log ###
#log4j.appender.file=org.apache.log4j.FileAppender
#log4j.appender.file.File=hibernate.log
#log4j.appender.file.layout=org.apache.log4j.PatternLayout
#log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n

### set log levels - for more verbose logging change 'info' to 'debug' ###

log4j.rootLogger=warn, stdout

log4j.logger.net.sf.hibernate=info

### log just the SQL
#log4j.logger.net.sf.hibernate.SQL=debug

### log JDBC bind parameters ###
log4j.logger.net.sf.hibernate.type=info

### log schema export/update ###
log4j.logger.net.sf.hibernate.tool.hbm2ddl=debug

### log cache activity ###
#log4j.logger.net.sf.hibernate.cache=debug

### enable the following line if you want to track down connection ###
### leakages when using DriverManagerConnectionProvider ###
#log4j.logger.net.sf.hibernate.connection.DriverManagerConnectionProvider=trace

 =======================================================================
 ==src/test/org/apache/commons/resources/impl/jdbc.test.config.properties
 =======================================================================
 jdbc.connect.driver               = org.hsqldb.jdbcDriver
jdbc.connect.url                  = jdbc:hsqldb:.
jdbc.connect.login                = sa
jdbc.connect.password             = 

jdbc.sql.db                       = RESOURCES
jdbc.sql.table                    = RESOURCES
jdbc.sql.locale.column            = locale
jdbc.sql.key.column               = msgKey
jdbc.sql.val.column               = val

org.apache.commons.resource.CACHE = true

 =======================================================================
 ==src/test/org/apache/commons/resources/impl/LocalStrings.properties
 =======================================================================
 local.message=[Local] REPLACE {0} WITH {1}
local.test=[Local] TEST

 =======================================================================
 ==src/test/org/apache/commons/resources/impl/MessageResources.xml
 =======================================================================
 <?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE sql-map
    PUBLIC "-//iBATIS.com//DTD SQL Map 1.0//EN"
    "http://www.ibatis.com/dtd/sql-map.dtd">

<sql-map name="MessageResources">

  <result-map name="bundle-result" 
        class="org.apache.commons.resources.impl.DatabaseBasicMessage">
    <property name="locale"  type="VARCHAR" column="locale"/>
    <property name="key"     type="VARCHAR" column="msgKey"/>
    <property name="value"   type="VARCHAR" column="val"/>
  </result-map>

  <mapped-statement name="getBundleByLocale"
                    result-map="bundle-result">
    select locale, msgKey, val
    from RESOURCES
    where LOCALE = #value#
  </mapped-statement>

</sql-map>

 =======================================================================
 ==src/test/org/apache/commons/resources/impl/TestResources.properties
 =======================================================================
 test.base=[Base] ONLY
test.specific=[Base] SPECIFIC
test.inherit=[Base] INHERIT
test.message.single=[Base] REPLACE {0}
test.message=[Base] REPLACE {0} WITH {1}

 =======================================================================
 ==src/test/org/apache/commons/resources/impl/TestResources.xml
 =======================================================================
 <?xml version="1.0"?>

<!-- The resources defined here must be IDENTICAL to those defined -->
<!-- in the corresponding properties file, or unit tests will fail -->

<resources>
  <resource id="test.base">[Base] ONLY</resource>
  <resource id="test.specific">[Base] SPECIFIC</resource>
  <resource id="test.inherit">[Base] INHERIT</resource>
  <resource id="test.message.single">[Base] REPLACE {0}</resource>
  <resource id="test.message">[Base] REPLACE {0} WITH {1}</resource>
</resources>

 =======================================================================
 ==src/test/org/apache/commons/resources/impl/TestResources_en.properties
 =======================================================================
 test.specific=[en] SPECIFIC
test.inherit=[en] INHERIT

 =======================================================================
 ==src/test/org/apache/commons/resources/impl/TestResources_en.xml
 =======================================================================
 <?xml version="1.0"?>

<!-- The resources defined here must be IDENTICAL to those defined -->
<!-- in the corresponding properties file, or unit tests will fail -->

<resources>
  <resource id="test.specific">[en] SPECIFIC</resource>
  <resource id="test.inherit">[en] INHERIT</resource>
</resources>

 =======================================================================
 ==src/test/org/apache/commons/resources/impl/TestResources_en_US.properties
 =======================================================================
 test.specific=[en_US] SPECIFIC

 =======================================================================
 ==src/test/org/apache/commons/resources/impl/TestResources_en_US.xml
 =======================================================================
 <?xml version="1.0"?>

<!-- The resources defined here must be IDENTICAL to those defined -->
<!-- in the corresponding properties file, or unit tests will fail -->

<resources>
  <resource id="test.specific">[en_US] SPECIFIC</resource>
</resources>

 =======================================================================
 ==src/test/org/apache/commons/resources/impl/TestResources_fr.properties
 =======================================================================
 test.specific=[fr] SPECIFIC
test.inherit=[fr] INHERIT

 =======================================================================
 ==src/test/org/apache/commons/resources/impl/TestResources_fr.xml
 =======================================================================
 <?xml version="1.0"?>

<!-- The resources defined here must be IDENTICAL to those defined -->
<!-- in the corresponding properties file, or unit tests will fail -->

<resources>
  <resource id="test.specific">[fr] SPECIFIC</resource>
  <resource id="test.inherit">[fr] INHERIT</resource>
</resources>

 =======================================================================
 ==src/web/test-webapp-resource/test-non-webapp-resource.xml
 =======================================================================
 <?xml version="1.0" encoding="ISO-8859-1" ?>

<resources-config>
    <resources>
        <!-- Configuration for a resource that is based on Java ResourceBundles -->
        <resource name="message"
                  factory="org.apache.commons.resources.message.PropertyMessageResourcesFactory"
                  config="org.apache.commons.resources.tests.Test">

            <set-property property="returnNull" value="true" />

        </resource>
    </resources>
</resources-config>

 =======================================================================
 ==src/web/test-webapp-resource/test-webapp-resource.xml
 =======================================================================
 <?xml version="1.0" encoding="ISO-8859-1" ?>

<resources-config>
    <resources>
        <!-- Configuration for a resource that is based on Java ResourceBundles -->
        <resource name="message"
                  factory="org.apache.commons.resources.message.PropertyMessageResourcesFactory"
                  config="org.apache.commons.resources.tests.Test">

            <set-property property="returnNull" value="true" />

        </resource>

        <!-- Configuration for a resource that is based on files within a web application -->
        <resource name="webapp-file"
                  factory="org.apache.commons.resources.file.web.WebappFileResourcesFactory"
                  config="">

            <set-property property="cache" value="false" />

        </resource>

        <resource name="webapp-file-cache"
                  factory="org.apache.commons.resources.file.web.WebappFileResourcesFactory"
                  config="">

            <set-property property="cache" value="true" />
            <set-property property="ignoreNegativeFileSize" value="true" />

        </resource>
    </resources>
</resources-config>

 =======================================================================
 ==src/web/test-webapp-resource/test.txt
 =======================================================================
 test

 =======================================================================
 ==src/web/test-webapp-resource/testWebappResource.jsp
 =======================================================================
 <html>
<head>
<title>testWebappResource.jsp</title>
</head>
<body>
</body>
</html>

 =======================================================================
 ==src/web/test-webapp-resource/test_en_US.txt
 =======================================================================
 test_en_US

 =======================================================================
 ==src/web/test-webapp-resource/test_en_US_GMT.txt
 =======================================================================
 test_en_US_GMT

 =======================================================================
 ==src/web/test-webapp-resource/WEB-INF/web.xml
 =======================================================================
 <?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">

<web-app>

    <servlet>
        <servlet-name>ServletRedirector</servlet-name>
        <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
    </servlet>

    <servlet-mapping>
        <servlet-name>ServletRedirector</servlet-name>
        <url-pattern>/ServletRedirector/</url-pattern>
    </servlet-mapping>

</web-app>

 =======================================================================
 ==STATUS.html
 =======================================================================
 <html>
<head>
<title>Status File for Apache Commons "Resources" Component</title>
<head>
<body bgcolor="white">


<div align="center">
<h1>The Apache Commons <em>Resources</em> Component</h1>
$Id: STATUS.html 561366 2007-07-31 15:58:29Z rahul $<br>
<a href="#Introduction">[Introduction]</a>
<a href="#Dependencies">[Dependencies]</a>
<a href="#Release Info">[Release Info]</a>
<a href="#Committers">[Committers]</a>
<a href="#Action Items">[Action Items]</a>
<br><br>
</div>


<a name="Introduction"></a>
<h3>1.  INTRODUCTION</h3>

<p>The <em>Resources</em> Package provides a lightweight framework for
defining and looking up internationalized message strings keyed by a
<code>java.util.Locale</code> and a message key.</p>


<a name="Dependencies"></a>
<h3>2.  DEPENDENCIES</h3>

<p>For up to date details on the <em>Resources</em> component dependencies,
   see the <a href="http://commons.apache.org/resources/dependencies.html">
   Resources Dependencies page</a>.
</p>


<a name="Release Info"></a>
<h3>3.  RELEASE INFO</h3>

<p>For up to date details on <em>Resources</em> component releases,
   see the <a href="http://commons.apache.org/resources/changes-report.html">
   Release History page</a>.
</p>


<a name="Committers"></a>
<h3>4.  COMMITTERS</h3>

<p>For up to date details on <em>Resources</em> developers and maintainers,
   see the <a href="http://commons.apache.org/resources/team-list.html">