You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ma...@apache.org on 2002/10/23 06:02:02 UTC

cvs commit: jakarta-commons/validator/src/example/org/apache/commons/validator/example ValidateExample.java

martinc     2002/10/22 21:02:02

  Modified:    validator build.xml
               validator/conf/share MANIFEST.MF
               validator/src/example/org/apache/commons/validator/example
                        ValidateExample.java
  Log:
  Fix a couple of problems found in 1.0-rc1.
  - Generate package name and version number in manifest.
  - Fix location of resources in example.
  
  Revision  Changes    Path
  1.14      +6 -2      jakarta-commons/validator/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/build.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- build.xml	22 Oct 2002 06:26:17 -0000	1.13
  +++ build.xml	23 Oct 2002 04:02:01 -0000	1.14
  @@ -45,11 +45,14 @@
     <!-- The name of this component -->
     <property name="component.name"          value="validator"/>
   
  +  <!-- The primary package name of this component -->
  +  <property name="component.package"       value="org.apache.commons.validator"/>
  +
     <!-- The title of this component -->
     <property name="component.title"         value="Validator"/>
   
     <!-- The current version number of this component -->
  -  <property name="component.version"       value="1.1-dev"/>
  +  <property name="component.version"       value="1.0"/>
   
     <!-- The base directory for compilation targets -->
     <property name="build.home"              value="target"/>
  @@ -147,6 +150,7 @@
      description="Initialize and evaluate conditionals">
       <echo message="-------- ${component.name} ${component.version} --------"/>
       <filter  token="name"                  value="${component.name}"/>
  +    <filter  token="package"               value="${component.package}"/>
       <filter  token="version"               value="${component.version}"/>
     </target>
   
  
  
  
  1.2       +2 -3      jakarta-commons/validator/conf/share/MANIFEST.MF
  
  Index: MANIFEST.MF
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/conf/share/MANIFEST.MF,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MANIFEST.MF	22 Oct 2002 06:08:47 -0000	1.1
  +++ MANIFEST.MF	23 Oct 2002 04:02:02 -0000	1.2
  @@ -1,6 +1,5 @@
  -Extension-Name: org.apache.commons.validator
  +Extension-Name: @package@
   Specification-Vendor: Apache Software Foundation
   Specification-Version: 1.0
   Implementation-Vendor: Apache Software Foundation
  -Implementation-Version: 1.0
  -
  +Implementation-Version: @version@
  
  
  
  1.2       +5 -4      jakarta-commons/validator/src/example/org/apache/commons/validator/example/ValidateExample.java
  
  Index: ValidateExample.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/example/org/apache/commons/validator/example/ValidateExample.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ValidateExample.java	11 Oct 2002 20:17:50 -0000	1.1
  +++ ValidateExample.java	23 Oct 2002 04:02:02 -0000	1.2
  @@ -94,7 +94,8 @@
        *
        */
   
  -    private static ResourceBundle apps = ResourceBundle.getBundle("org.apache.commons.validator.applicationResources");
  +    private static ResourceBundle apps = ResourceBundle.getBundle(
  +            "org.apache.commons.validator.example.applicationResources");
   
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>