cvs commit: jakarta-commons/validator build.xml project.xml
martinc 2004/03/29 22:18:06 Modified:validator build.xml project.xml Log: Update version for 1.1.2 release. Revision ChangesPath 1.32 +2 -2 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- build.xml 29 Feb 2004 09:48:28 - 1.31 +++ build.xml 30 Mar 2004 06:18:05 - 1.32 @@ -67,7 +67,7 @@ property name=component.title value=Validator/ !-- The current version number of this component -- - property name=component.version value=1.1.2-dev/ + property name=component.version value=1.1.2/ !-- The base directory for compilation targets -- property name=build.home value=target/ 1.36 +1 -1 jakarta-commons/validator/project.xml Index: project.xml === RCS file: /home/cvs/jakarta-commons/validator/project.xml,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- project.xml 28 Mar 2004 19:31:20 - 1.35 +++ project.xml 30 Mar 2004 06:18:05 - 1.36 @@ -19,7 +19,7 @@ extend../commons-build/project.xml/extend nameValidator/name idcommons-validator/id - currentVersion1.1.2-dev/currentVersion + currentVersion1.1.2/currentVersion logo/images/validator-logo-blue.png/logo inceptionYear2002/inceptionYear packageorg.apache.commons.validator/package - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/validator build.xml project.xml
martinc 2004/03/29 22:22:54 Modified:validator build.xml project.xml Log: Update version for 1.1.3-dev. Revision ChangesPath 1.33 +2 -2 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- build.xml 30 Mar 2004 06:18:05 - 1.32 +++ build.xml 30 Mar 2004 06:22:54 - 1.33 @@ -67,7 +67,7 @@ property name=component.title value=Validator/ !-- The current version number of this component -- - property name=component.version value=1.1.2/ + property name=component.version value=1.1.3-dev/ !-- The base directory for compilation targets -- property name=build.home value=target/ 1.37 +1 -1 jakarta-commons/validator/project.xml Index: project.xml === RCS file: /home/cvs/jakarta-commons/validator/project.xml,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- project.xml 30 Mar 2004 06:18:05 - 1.36 +++ project.xml 30 Mar 2004 06:22:54 - 1.37 @@ -19,7 +19,7 @@ extend../commons-build/project.xml/extend nameValidator/name idcommons-validator/id - currentVersion1.1.2/currentVersion + currentVersion1.1.3-dev/currentVersion logo/images/validator-logo-blue.png/logo inceptionYear2002/inceptionYear packageorg.apache.commons.validator/package - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/validator build.xml project.xml
rleland 2003/12/15 01:24:11 Modified:validator build.xml project.xml Log: Rev version to 1.1.2-dev. If 1.1.1 is voted to Beta status then we can go to 1.2.0 and rip out the old api's. Revision ChangesPath 1.30 +2 -2 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- build.xml 15 Dec 2003 06:10:51 - 1.29 +++ build.xml 15 Dec 2003 09:24:11 - 1.30 @@ -52,7 +52,7 @@ property name=component.title value=Validator/ !-- The current version number of this component -- - property name=component.version value=1.1.1/ + property name=component.version value=1.1.2-dev/ !-- The base directory for compilation targets -- property name=build.home value=target/ 1.29 +1 -1 jakarta-commons/validator/project.xml Index: project.xml === RCS file: /home/cvs/jakarta-commons/validator/project.xml,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- project.xml 15 Dec 2003 02:56:57 - 1.28 +++ project.xml 15 Dec 2003 09:24:11 - 1.29 @@ -3,7 +3,7 @@ project nameValidator/name idcommons-validator/id - currentVersion1.1.1/currentVersion + currentVersion1.1.2-dev/currentVersion organization nameApache Software Foundation/name - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/validator build.xml project.properties project.xml
rleland 2003/09/13 19:53:15 Modified:validator build.xml project.properties project.xml Log: Change build number to 1.1.1-dev Also update Ant build versions to match Maven's . Revision ChangesPath 1.27 +2 -2 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- build.xml 27 Aug 2003 03:49:26 - 1.26 +++ build.xml 14 Sep 2003 02:53:15 - 1.27 @@ -52,7 +52,7 @@ property name=component.title value=Validator/ !-- The current version number of this component -- - property name=component.version value=1.1.0/ + property name=component.version value=1.1.1-dev/ !-- The base directory for compilation targets -- property name=build.home value=target/ 1.4 +4 -1 jakarta-commons/validator/project.properties Index: project.properties === RCS file: /home/cvs/jakarta-commons/validator/project.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- project.properties23 Aug 2003 02:26:49 - 1.3 +++ project.properties14 Sep 2003 02:53:15 - 1.4 @@ -24,6 +24,9 @@ # Include legacy javadoc in build maven.html2xdoc.dir = legacy +# No powered by Image +maven.xdoc.poweredby.image= + # display the date on the site maven.xdoc.date = left # Display the version the web site is documenting 1.23 +2 -1 jakarta-commons/validator/project.xml Index: project.xml === RCS file: /home/cvs/jakarta-commons/validator/project.xml,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- project.xml 27 Aug 2003 03:49:26 - 1.22 +++ project.xml 14 Sep 2003 02:53:15 - 1.23 @@ -4,7 +4,7 @@ extend../project.xml/extend nameValidator/name idcommons-validator/id - currentVersion1.1.0/currentVersion + currentVersion1.1.1-dev/currentVersion organization nameApache Software Foundation/name @@ -200,6 +200,7 @@ reportmaven-pmd-plugin/report reportmaven-simian-plugin/report reportmaven-faq-plugin/report +reportmaven-clover-plugin/report /reports /project - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/validator build.xml project.xml
rleland 2003/08/26 20:49:26 Modified:validator build.xml project.xml Log: Change version to 1.1.0 Revision ChangesPath 1.26 +2 -2 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- build.xml 22 Aug 2003 06:33:04 - 1.25 +++ build.xml 27 Aug 2003 03:49:26 - 1.26 @@ -52,7 +52,7 @@ property name=component.title value=Validator/ !-- The current version number of this component -- - property name=component.version value=1.1.0-dev/ + property name=component.version value=1.1.0/ !-- The base directory for compilation targets -- property name=build.home value=target/ 1.22 +1 -1 jakarta-commons/validator/project.xml Index: project.xml === RCS file: /home/cvs/jakarta-commons/validator/project.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- project.xml 23 Aug 2003 02:34:45 - 1.21 +++ project.xml 27 Aug 2003 03:49:26 - 1.22 @@ -4,7 +4,7 @@ extend../project.xml/extend nameValidator/name idcommons-validator/id - currentVersion1.1.0-dev/currentVersion + currentVersion1.1.0/currentVersion organization nameApache Software Foundation/name - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/validator build.xml
rleland 2003/08/21 21:24:58 Modified:validator build.xml Log: Change version value Revision ChangesPath 1.24 +3 -3 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- build.xml 18 May 2003 21:25:16 - 1.23 +++ build.xml 22 Aug 2003 04:24:58 - 1.24 @@ -19,7 +19,7 @@ !-- The directories corresponding to your necessary dependencies -- - property name=junit.home value=/usr/local/junit3.7/ + property name=junit.home value=/usr/local/junit3.8.1/ property name=commons.homevalue=../../jakarta-commons/ property name=sandbox.homevalue=../../jakarta-commons-sandbox/ property name=beanutils.home value=${commons.home}/beanutils/ @@ -52,7 +52,7 @@ 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.1.0-dev/ !-- The base directory for compilation targets -- property name=build.home value=target/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/validator build.xml
dgraham 2003/03/26 18:44:07 Modified:validator build.xml Log: Updated build to distribute new RELEASE-NOTES file. Revision ChangesPath 1.18 +2 -2 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- build.xml 12 Mar 2003 06:02:53 - 1.17 +++ build.xml 27 Mar 2003 02:44:06 - 1.18 @@ -228,7 +228,7 @@ mkdir dir=${dist.home}/ copy file=LICENSE.txt todir=${dist.home}/ -copy file=RELEASE-NOTES.txt +copy file=RELEASE-NOTES-1.0.2.txt todir=${dist.home}/ mkdir dir=${build.home}/classes/META-INF/ copy file=LICENSE.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/validator build.xml
dgraham 2003/03/11 22:02:53 Modified:validator build.xml Log: Added 1.0.1 dtd to build. Revision ChangesPath 1.17 +3 -1 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- build.xml 16 Dec 2002 04:25:33 - 1.16 +++ build.xml 12 Mar 2003 06:02:53 - 1.17 @@ -188,6 +188,8 @@ /copy copytodir=${build.home}/classes/org/apache/commons/validator/resources/ file=${conf.home}/validator_1_0.dtd/ +copytodir=${build.home}/classes/org/apache/commons/validator/resources/ + file=${conf.home}/validator_1_0_1.dtd/ /target - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-commons/validator build.xml
martinc 2002/12/15 18:39:38 Modified:validator build.xml Log: Update component version, and correct default target. Revision ChangesPath 1.15 +3 -3 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- build.xml 23 Oct 2002 04:02:01 - 1.14 +++ build.xml 16 Dec 2002 02:39:38 - 1.15 @@ -1,4 +1,4 @@ -project name=Validator default=jar basedir=. +project name=Validator default=dist basedir=. !-- @@ -52,7 +52,7 @@ property name=component.title value=Validator/ !-- The current version number of this component -- - property name=component.version value=1.0/ + property name=component.version value=1.0.1/ !-- The base directory for compilation targets -- property name=build.home value=target/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-commons/validator build.xml project.xml
martinc 2002/12/15 20:25:33 Modified:validator build.xml project.xml Log: Reset current version for ongoing development. Revision ChangesPath 1.16 +2 -2 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- build.xml 16 Dec 2002 02:39:38 - 1.15 +++ build.xml 16 Dec 2002 04:25:33 - 1.16 @@ -52,7 +52,7 @@ property name=component.title value=Validator/ !-- The current version number of this component -- - property name=component.version value=1.0.1/ + property name=component.version value=1.1-dev/ !-- The base directory for compilation targets -- property name=build.home value=target/ 1.8 +1 -1 jakarta-commons/validator/project.xml Index: project.xml === RCS file: /home/cvs/jakarta-commons/validator/project.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- project.xml 16 Dec 2002 02:22:48 - 1.7 +++ project.xml 16 Dec 2002 04:25:33 - 1.8 @@ -4,7 +4,7 @@ extend../project.xml/extend nameValidator/name idcommons-validator/id - currentVersion1.0.1/currentVersion + currentVersion1.1-dev/currentVersion inceptionYear2002/inceptionYear gumpRepositoryIdjakarta/gumpRepositoryId shortDescriptionCommons Validator/shortDescription -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-commons/validator build.xml
martinc 2002/10/21 23:18:02 Modified:validator build.xml Log: Revamp of build file, ready for Validator 1.0 release. Revision ChangesPath 1.11 +316 -155 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- build.xml 11 Oct 2002 20:18:05 - 1.10 +++ build.xml 22 Oct 2002 06:18:02 - 1.11 -1,174 +1,335 +project name=Validator default=jar basedir=. + + !-- - You will need Ant setup properly to run this script. The build.properties.sample file - will need to be edited to point to some jar files and renamed to build.properties. +Validator component of the Jakarta Commons Subproject +$Id$ -- -project name=Commons Validator default=jar basedir=. - !-- set global properties for this build -- - property file=build.properties/ - property file=../build.properties/ - property file=${user.home}/build.properties/ - - property name=title value=Commons Validator / - property name=name value=validator / - property name=validator.jar value=commons-validator.jar/ - property name=src value=src / - property name=build value=build / - property name=example value=example / - property name=test value=test / - property name=share value=share / - property name=dist value=dist / - property name=docs value=docs / - property name=build.javadocs value=${dist}/${docs}/api / - property name=package.root value=org/apache/commons/validator/ - - !-- Setting Classpath -- - path id=base.classpath - pathelement path=${commons-beanutils.jar}/ - pathelement path=${commons-collections.jar}/ - pathelement path=${commons-digester.jar}/ - pathelement path=${commons-logging.jar}/ - pathelement path=${oro.jar}/ - /path - - path id=test.classpath - path refid=base.classpath/ - pathelement path=${junit.jar}/ - pathelement location=${xerces.jar}/ - pathelement path=${commons-beanutils.jar}/ - pathelement path=${commons-collections.jar}/ - pathelement path=${commons-digester.jar}/ - pathelement path=${commons-logging.jar}/ - pathelement path=${dist}/${validator.jar} / - pathelement path=${build}/${test} / - /path + +!-- == 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 directories corresponding to your necessary dependencies -- + property name=junit.home value=/usr/local/junit3.7/ + property name=commons.homevalue=../../jakarta-commons/ + property name=sandbox.homevalue=../../jakarta-commons-sandbox/ + property name=beanutils.home value=${commons.home}/beanutils/ + property name=collections.homevalue=${commons.home}/collections/ + property name=digester.home value=${commons.home}/digester/ + property name=logging.homevalue=${commons.home}/logging/ + + +!-- == Derived Values -- + + + !-- The locations of necessary jar files -- + property name=junit.jar value=${junit.home}/junit.jar/ + property name=commons-beanutils.jar value=${beanutils.home}/dist/commons-beanutils.jar/ + property name=commons-collections.jar value=${collections.home}/dist/commons-collections.jar/ + property name=commons-digester.jar value=${digester.home}/dist/commons-digester.jar/ + property name=commons-logging.jar value=${logging.home}/dist/commons-logging.jar/ + + +!-- == Component Declarations -- + + + !-- The name of this component -- + property name=component.name value=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.0-dev/ + + !-- The base directory for compilation targets -- + property name=build.home value=target/ + + !-- The base directory for component configuration files -- + property name=conf.home value=conf/share/ + + !-- The base directory for distribution targets -- + property name=dist.home value=dist/ + + !-- The base directory for release targets -- + property
cvs commit: jakarta-commons/validator build.xml
martinc 2002/10/21 23:19:30 Modified:validator build.xml Log: Set build version for 1.0 release. Revision ChangesPath 1.12 +2 -2 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- build.xml 22 Oct 2002 06:18:02 - 1.11 +++ build.xml 22 Oct 2002 06:19:30 - 1.12 -49,7 +49,7 property name=component.title value=Validator/ !-- The current version number of this component -- - property name=component.version value=1.0-dev/ + property name=component.version value=1.0/ !-- The base directory for compilation targets -- property name=build.home value=target/ -- To unsubscribe, e-mail: mailto:commons-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:commons-dev-help;jakarta.apache.org
cvs commit: jakarta-commons/validator build.xml
martinc 2002/10/21 23:26:17 Modified:validator build.xml Log: Reset build version for Validator 1.1-dev. Revision ChangesPath 1.13 +2 -2 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- build.xml 22 Oct 2002 06:19:30 - 1.12 +++ build.xml 22 Oct 2002 06:26:17 - 1.13 -49,7 +49,7 property name=component.title value=Validator/ !-- The current version number of this component -- - property name=component.version value=1.0/ + property name=component.version value=1.1-dev/ !-- The base directory for compilation targets -- property name=build.home value=target/ -- To unsubscribe, e-mail: mailto:commons-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:commons-dev-help;jakarta.apache.org
cvs commit: jakarta-commons/validator build.xml
turner 2002/10/11 13:18:05 Modified:validator build.xml Log: Move the examples into their own package under validator (closes bug 13549) Revision ChangesPath 1.10 +1 -1 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- build.xml 10 Oct 2002 23:56:27 - 1.9 +++ build.xml 11 Oct 2002 20:18:05 - 1.10 @@ -127,7 +127,7 @@ /copy /target target name=example depends=build-example description=runs example - java fork=yes classname=org.apache.commons.validator.ValidateExample + java fork=yes classname=org.apache.commons.validator.example.ValidateExample taskname=main failonerror=true classpath refid=example.classpath / /java -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-commons/validator build.xml
turner 2002/10/10 16:56:27 Modified:validator build.xml Log: Added build targets for build-example and example Revision ChangesPath 1.9 +175 -145 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- build.xml 19 Jul 2002 03:09:06 - 1.8 +++ build.xml 10 Oct 2002 23:56:27 - 1.9 @@ -1,145 +1,175 @@ -!-- - You will need Ant setup properly to run this script. The build.properties.sample file - will need to be edited to point to some jar files and renamed to build.properties. --- -project name=Commons Validator default=jar basedir=. - !-- set global properties for this build -- - property file=build.properties/ - property file=../build.properties/ - property file=${user.home}/build.properties/ - - property name=title value=Commons Validator / - property name=name value=validator / - property name=validator.jar value=commons-validator.jar/ - property name=src value=src / - property name=build value=build / - property name=test value=test / - property name=share value=share / - property name=dist value=dist / - property name=docs value=docs / - property name=build.javadocs value=${dist}/${docs}/api / - property name=package.root value=org/apache/commons/validator/ - - !-- Setting Classpath -- - path id=base.classpath - pathelement path=${commons-beanutils.jar}/ - pathelement path=${commons-collections.jar}/ - pathelement path=${commons-digester.jar}/ - pathelement path=${commons-logging.jar}/ - pathelement path=${oro.jar}/ - /path - - path id=test.classpath - path refid=base.classpath/ - pathelement path=${junit.jar}/ - pathelement location=${xerces.jar}/ - pathelement path=${commons-beanutils.jar}/ - pathelement path=${commons-collections.jar}/ - pathelement path=${commons-digester.jar}/ - pathelement path=${commons-logging.jar}/ - pathelement path=${dist}/${validator.jar} / - pathelement path=${build}/${test} / - /path - - path id=javadoc.classpath - path refid=base.classpath/ - pathelement location=${xerces.jar}/ - pathelement path=${dist}/${validator.jar} / - /path - - target name=init description=creates any directories needed by the build process - !-- Create the time stamp -- - tstamp/ - !-- Create the build directory structure used by compile -- - mkdir dir=${build}/${share}/ - /target - - !-- Compile shared source -- - target name=build depends=init description=builds binary distribution - !-- Compile the java code from ${src}/${share} into ${build}/${share} -- - javac srcdir=${src}/${share} - destdir=${build}/${share} - classpath refid=base.classpath / - /javac - /target - - !-- Create distribution jar of shared source -- - target name=jar depends=build description=creates distributable jar of the binaries - !-- Create the ${dist} directory -- - mkdir dir=${dist} / - - !-- Put everything in ${build} -- - jar jarfile=${dist}/${validator.jar} - basedir=${build}/${share} - includes=${package.root}/**/ - /target - - !-- Create Javadocs -- - target name=javadocs depends=jar description=Creates the API documentation - mkdir dir=${build.javadocs}/ - javadoc packagenames=org.apache.commons.validator.* - sourcepath=${src}/${share} - destdir=${build.javadocs} - author=true - version=true - windowtitle=${title} API - doctitle=${title} - classpath refid=javadoc.classpath / - /javadoc - /target - - !-- Create distribution -- - target name=dist depends=jar,javadocs description=creates complete distribution - !-- Create the ${dist} directory -- - mkdir dir=${dist} / - - copy todir=${dist} file=../LICENSE/ - /target - - !-- Clean build and dist directories -- - target name=clean -description=Clean build and distribution directories - delete dir=${build}/ - delete dir=${dist}/ - /target - - !-- Compile JUnit Tests -- - target name=build-test depends=jar description=builds binaries for testing - mkdir dir=${build}/${test}/ - - !-- Compile the java code from ${src}/${test} into ${build}/${test} -- - javac srcdir=${src}/${test} -
cvs commit: jakarta-commons/validator build.xml
dwinterfeldt02/03/10 21:12:02 Modified:validator build.xml Added: validator/src/test/org/apache/commons/validator Name.java RequiredNameTest.java TestValidator.java validator-name-required.xml ValidatorTestSuite.java Log: Started adding a suite of unit tests. The required test is completed. Revision ChangesPath 1.1 jakarta-commons/validator/src/test/org/apache/commons/validator/Name.java Index: Name.java === /* * * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright *notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in *the documentation and/or other materials provided with the *distribution. * * 3. The end-user documentation included with the redistribution, if *any, must include the following acknowlegement: * This product includes software developed by the *Apache Software Foundation (http://www.apache.org/). *Alternately, this acknowlegement may appear in the software itself, *if and wherever such third-party acknowlegements normally appear. * * 4. The names The Jakarta Project, Commons, and Apache Software *Foundation must not be used to endorse or promote products derived *from this software without prior written permission. For written *permission, please contact [EMAIL PROTECTED] * * 5. Products derived from this software may not be called Apache *nor may Apache appear in their names without prior written *permission of the Apache Group. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * http://www.apache.org/. * */ package org.apache.commons.validator; /** * pValue object that contains a * first name and last name./p * * @author David Winterfeldt */ public class Name { protected String firstName = null; protected String lastName = null; /** * Gets the first name. */ public String getFirstName() { return firstName; } /** * Sets the first name. */ public void setFirstName(String firstName) { this.firstName = firstName; } /** * Gets the last name. */ public String getLastName() { return lastName; } /** * Sets the last name. */ public void setLastName(String lastName) { this.lastName = lastName; } } 1.1 jakarta-commons/validator/src/test/org/apache/commons/validator/RequiredNameTest.java Index: RequiredNameTest.java === /* * * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source
cvs commit: jakarta-commons/validator build.xml
craigmcc02/01/21 16:49:41 Modified:validator build.xml Log: Add global commons-local and user level build.properties reading. Add a clean target for consistency with other build.xml scripts. Revision ChangesPath 1.5 +9 -0 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.xml 17 Jan 2002 04:15:46 - 1.4 +++ build.xml 22 Jan 2002 00:49:41 - 1.5 @@ -5,6 +5,8 @@ project name=Commons Validator default=jar basedir=. !-- set global properties for this build -- property file=build.properties/ + property file=../build.properties/ + property file=${user.home}/build.properties/ property name=title value=Commons Validator / property name=name value=validator / @@ -89,6 +91,13 @@ copy todir=${dist} file=../LICENSE/ /target + !-- Clean build and dist directories -- + target name=clean +description=Clean build and distribution directories + delete dir=${build}/ + delete dir=${dist}/ + /target + !-- Compile JUnit Tests -- target name=build-test depends=jar description=builds binaries for testing mkdir dir=${build}/${test}/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-commons/validator build.xml build.properties.sample
dwinterfeldt02/01/08 03:30:40 Modified:validator build.xml build.properties.sample Log: Added comments and removed unecessary properties (jar/path references). Revision ChangesPath 1.2 +6 -4 jakarta-commons/validator/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-commons/validator/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.xml 6 Jan 2002 05:03:47 - 1.1 +++ build.xml 8 Jan 2002 11:30:39 - 1.2 @@ -1,7 +1,6 @@ !-- - You will need Ant setup properly and have the commons-cactus-ant.jar in the classpath. The build.properties file - will need to be edited to point to some jar files, java.home, and the application servers you want to - run the tests on. + You will need Ant setup properly to run this script. The build.properties.sample file + will need to be edited to point to some jar files and renamed to build.properties. -- project name=Commons Validator default=jar basedir=. !-- set global properties for this build -- @@ -46,7 +45,8 @@ !-- Create the build directory structure used by compile -- mkdir dir=${build}/${share}/ /target - + + !-- Compile shared source -- target name=compile depends=prepare !-- Compile the java code from ${src}/${share} into ${build}/${share} -- javac srcdir=${src}/${share} @@ -55,6 +55,7 @@ /javac /target + !-- Create distribution jar of shared source -- target name=jar depends=compile !-- Create the ${dist}/lib directory -- mkdir dir=${dist} / @@ -65,6 +66,7 @@ includes=${package.root}/**/ /target + !-- Create Javadocs -- target name=javadocs depends=jar description=Creates the API documentation mkdir dir=${build.javadocs}/ javadoc packagenames=org.apache.commons.validator.* 1.2 +7 -28 jakarta-commons/validator/build.properties.sample Index: build.properties.sample === RCS file: /home/cvs/jakarta-commons/validator/build.properties.sample,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.properties.sample 6 Jan 2002 05:03:47 - 1.1 +++ build.properties.sample 8 Jan 2002 11:30:39 - 1.2 @@ -1,37 +1,16 @@ -# Properties related to the user's environment. This file should be provided -# for building the Cactus Sample or the properties need to be specified on -# the command line when starting Ant with the -D switch +# - +# This is an example build.properties file. Make any changes you need, +# and rename this file to build.properties in the same directory that +# contains the build.xml file. +# - -java.home=d:/jdk1.3 commons-beanutils.jar=d:/java/lib/commons-beanutils.jar commons-collections.jar=d:/java/lib/commons-collections.jar commons-digester.jar=d:/java/lib/commons-digester.jar regexp.jar=e:/software/regexp/jakarta-regexp-1.2.jar -xerces.jar=e:/software/xerces/xerces.jar - -# For compile_struts task (Struts interface for Validator) -struts.jar=../../target/library/struts.jar -struts.tlds=../../target/library -servlet.jar=e:/tomcat3/lib/servlet.jar -jdbc20ext.jar=d:/java/lib/jdbc2_0-stdext.jar # Unit Testing junit.jar=e:/software/junit3.5/junit.jar -# Unit Testing For Struts Interface to Validator -cactus.jar=e:/software/cactus/lib/commons-cactus.jar -cactus.ant.jar=e:/software/cactus/lib/commons-cactus-ant.jar - -# Shouldn't be necessary, there is a problem with my ant setup -#ant.jar=c:/software/ant/lib/ant.jar -#ant.optional.jar=c:/software/ant/lib/optional.jar - -# Servlet engine locations for the tests - -# Note: If you don't want to run the test on a given servlet engine, just -# comment it's home property. For example, if you don't want to run the -# tests on the Resin 1.3, comment the resin.home.13 property. -#resin.home.13=f:/applis/resin-1.3.s010125 -tomcat.home.32=e:/tomcat3 -tomcat.home.40=e:/tomcat4 - +# Just needed for building the Javadocs +xerces.jar=e:/software/xerces/xerces.jar \ No newline at end of file -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]