commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz" <phil.ste...@gmail.com>
Subject Re: [VOTE] Release Validator 1.3.0 based on RC2
Date Sat, 18 Mar 2006 20:11:53 GMT
The maven build fails for me on RH FC2, both Sun JDK 1.5.0_06 and
1.4.2_10 with the same failures attached below.  Could be my local
setup or some undocumented config dependencies (I tried to config the
javadoc thingy mentioned in maven.xml, but still see the same
failures).  I get the same failures with Ant, once build properties
are set.

Some additional (non-blocking) comments:

I personally prefer the source distro to unpack to -src.

The source distro should include a build.properties.sample, as the Ant
build does not grab dependencies and location properties have to be
set.  Some properties seem to be missing (e.g. "oro.jar" is used but
never set in the build.xml).  Also, it would be good for the ant build
to include comments on which versions of the commons jars are required
and also to encapsulate the names.  We should not be encouraging
people to continue the old practice of renaming release jars.  Both of
these issues could be worked around by modifying the ant build to grab
the dependencies.

I don't like the practice of having release notes just point to online
docs.  This is common practice in commons, but IMO it is a bad one - 
we should include text copies of full release notes with the releases.

Maven build errrors:

java:compile:
    [echo] Compiling to m-target/classes
dojo.compress.files:
    [java] [ERROR] Java Result: 1
    [java] [ERROR] Java Result: 1
    [java] [ERROR] Java Result: 1
    [java] [ERROR] Java Result: 1
    [java] [ERROR] Java Result: 1
    [java] [ERROR] Java Result: 1
    [java] [ERROR] Java Result: 1
    [java] [ERROR] Java Result: 1
    [java] [ERROR] Java Result: 1
    [java] [ERROR] Java Result: 1
    [java] [ERROR] Java Result: 1
    [java] [ERROR] Java Result: 1
    [java] [ERROR] Java Result: 1
    [java] [ERROR] Java Result: 1


java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:
    [junit] Running org.apache.commons.validator.ShortTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 1.039 sec
    [junit] Running org.apache.commons.validator.GenericValidatorTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.04 sec
    [junit] Running org.apache.commons.validator.RetrieveFormTest
Form 'INVALID_NAME' not found for locale 'en_US'
Form 'INVALID_NAME' not found for locale 'fr'
Form 'INVALID_NAME' not found for locale 'fr_FR'
Form 'INVALID_NAME' not found for locale 'en_CA'
Form 'INVALID_NAME' not found for locale 'fr_CA'
Form 'INVALID_NAME' not found for locale 'fr_CA_XXX'
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.815 sec
    [junit] Running org.apache.commons.validator.ValidatorTest
ValidatorTest.formatDate() - Unparseable date: "2/30/1999"
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.48 sec
    [junit] Running org.apache.commons.validator.FloatTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.826 sec
    [junit] Running org.apache.commons.validator.EntityImportTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.885 sec
    [junit] Running org.apache.commons.validator.UrlTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 24.386 sec
    [junit] Running org.apache.commons.validator.ExtensionTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.384 sec
    [junit] Running org.apache.commons.validator.RequiredNameTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.244 sec
    [junit] Running org.apache.commons.validator.VarTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.245 sec
    [junit] Running org.apache.commons.validator.ExceptionTest
Unhandled exception thrown during validation: RUNTIME-EXCEPTION
java.lang.RuntimeException: RUNTIME-EXCEPTION
	at org.apache.commons.validator.TestValidator.validateRaiseException(TestValidator.java:52)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:543)
	at org.apache.commons.validator.Field.validateForRule(Field.java:766)
	at org.apache.commons.validator.Field.validate(Field.java:846)
	at org.apache.commons.validator.Form.validate(Form.java:290)
	at org.apache.commons.validator.Validator.validate(Validator.java:354)
	at org.apache.commons.validator.ExceptionTest.testRuntimeException(ExceptionTest.java:98)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
	at org.apache.tools.ant.Task.perform(Task.java:341)
	at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
	at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
	at com.werken.werkz.Goal.fire(Goal.java:639)
	at com.werken.werkz.Goal.attain(Goal.java:575)
	at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
	at com.werken.werkz.Goal.attain(Goal.java:573)
	at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
	at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
	at org.apache.maven.cli.App.doMain(App.java:488)
	at org.apache.maven.cli.App.main(App.java:1239)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.werken.forehead.Forehead.run(Forehead.java:551)
	at com.werken.forehead.Forehead.main(Forehead.java:581)
Unhandled exception thrown during validation: CHECKED-EXCEPTION
java.lang.Exception: CHECKED-EXCEPTION
	at org.apache.commons.validator.TestValidator.validateRaiseException(TestValidator.java:55)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:543)
	at org.apache.commons.validator.Field.validateForRule(Field.java:766)
	at org.apache.commons.validator.Field.validate(Field.java:846)
	at org.apache.commons.validator.Form.validate(Form.java:290)
	at org.apache.commons.validator.Validator.validate(Validator.java:354)
	at org.apache.commons.validator.ExceptionTest.testCheckedException(ExceptionTest.java:127)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
	at org.apache.tools.ant.Task.perform(Task.java:341)
	at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
	at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
	at com.werken.werkz.Goal.fire(Goal.java:639)
	at com.werken.werkz.Goal.attain(Goal.java:575)
	at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
	at com.werken.werkz.Goal.attain(Goal.java:573)
	at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
	at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
	at org.apache.maven.cli.App.doMain(App.java:488)
	at org.apache.maven.cli.App.main(App.java:1239)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.werken.forehead.Forehead.run(Forehead.java:551)
	at com.werken.forehead.Forehead.main(Forehead.java:581)
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.174 sec
    [junit] Running org.apache.commons.validator.util.FlagsTest
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.009 sec
    [junit] Running org.apache.commons.validator.LocaleTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.247 sec
    [junit] Running org.apache.commons.validator.ValidatorResultsTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.174 sec
    [junit] Running org.apache.commons.validator.CreditCardValidatorTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.007 sec
    [junit] Running org.apache.commons.validator.DoubleTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.379 sec
    [junit] Running org.apache.commons.validator.LongTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.31 sec
    [junit] Running org.apache.commons.validator.MultipleConfigFilesTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.272 sec
    [junit] Running org.apache.commons.validator.TypeTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.378 sec
    [junit] Running org.apache.commons.validator.DateTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.159 sec
    [junit] Running org.apache.commons.validator.EmailTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.511 sec
    [junit] Running org.apache.commons.validator.ByteTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.306 sec
    [junit] Running org.apache.commons.validator.IntegerTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.313 sec
    [junit] Running org.apache.commons.validator.RequiredIfTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.362 sec
    [junit] Running org.apache.commons.validator.routines.DoubleValidatorTest
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
    [junit] Running org.apache.commons.validator.routines.CurrencyValidatorTest
    [junit] Tests run: 6, Failures: 3, Errors: 0, Time elapsed: 0.016 sec
    [junit] [ERROR] TEST
org.apache.commons.validator.routines.CurrencyValidatorTest FAILED



On 3/17/06, Niall Pemberton <niall.pemberton@blueyonder.co.uk> wrote:
> I have just uploaded release candidate 2 (RC2) for Commons Validator 1.3.0.
> The main differences from RC1 was to remove further references to the
> cancelled 1.2.1 version..
>
> RC2 is here:
> http://people.apache.org/~niallp/commons-validator-1.3.0-rc2/
>
> Site here:
> http://people.apache.org/~niallp/commons-validator-1.3.0-rc2/site/
>
> Release notes here:
> http://people.apache.org/~niallp/commons-validator-1.3.0-rc2/site/changes-report.html
>
> ------------
> [ ] +1  I support this release
> [ ] +0
> [ ] -0
> [ ] -1  I do not support this release because...
> ------------
>
> Niall
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message