Hi Robert,
On Mon, 2005-06-06 at 22:35 +0100, robert burrell donkin wrote:
> The first public release candidate (RC3) for Betwixt 0.6.1 is now
> available for download:
> http://people.apache.org/~rdonkin/commons-betwixt/. Please check and
> report any problems ASAP.
>
=============== SRC tarball
The -src download unpacks into a directory which does *not* have -src in
the name. This is the default behaviour of Maven, but not the way that
many other distributions work. I happen to like -src distros unpacking
into a directory different from the one the binary distro creates. It's
up to you which to choose, but if you want to have the src dir named
-src, then see commons-digester/maven.xml for one solution.
===
There is no build.properties.sample file in the src distro. If you are
providing a build.xml then a build.properties.sample is very useful.
===
There is slightly odd indenting in the second-to-last line of
README.txt. And some slightly odd indenting in RELEASE-NOTES.txt too.
It's probably because there are tabs in the files, and I bet you have
tabwidth set to 4 on your machine.
===
Running "maven" in the src dir with java1.5 results in:
javac: target release 1.1 conflicts with default source release 1.5
When you have
maven.target.compile=1.1
in project.properties you also need
maven.target.source=1.2
to avoid this problem.
===
Maven reports this when run:
java:jar:
[echo] java:jar is deprecated and will be removed. Please use
jar:jar
This can be fixed by updating maven.xml:
<project default="java:jar" xmlns:j="jelly:core">
should be
<project default="jar:jar" xmlns:j="jelly:core">
unless there's something I don't know....
=============== Binary tarball
The docs directory contains all the Maven reports, including the
"test-xref" and stuff. This is a very large volume of data that almost
nobody will want. I suggest removing this from the binary download. See
maven.xml in commons-digester for one way to solve this.
======================= other
The src distro builds fine with Java1.5 on Linux (debian 3.1).
Unfortunately, there are ?? unit test failures when using java 1.3.1:
TEST org.apache.commons.betwixt.strategy.TestConversionFlavour FAILED
TEST org.apache.commons.betwixt.schema.TestSchemaGeneration FAILED
TEST org.apache.commons.betwixt.io.read.TestBindTimeTypeMapping FAILED
TEST org.apache.commons.betwixt.io.read.TestMaps FAILED
TEST org.apache.commons.betwixt.recursion.TestSharedIDGeneration FAILED
TEST org.apache.commons.betwixt.derived.TestWriteClass FAILED
They look like real failures; some of the output is shown below.
===
Testcase:
testWrite(org.apache.commons.betwixt.strategy.TestConversionFlavour):
FAILED
(Unequal node names) expected:<betaBean> but was:<mapped>
junit.framework.ComparisonFailure: (Unequal node names)
expected:<betaBean> but was:<mapped>
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:214)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:312)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCase.java:175)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(XmlTestCase.java:128)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(XmlTestCase.java:105)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(XmlTestCase.java:96)
at
org.apache.commons.betwixt.strategy.TestConversionFlavour.testWrite(TestConversionFlavour.java:108)
===
Testcase:
testOrderLineBean(org.apache.commons.betwixt.schema.TestSchemaGeneration):
FAILED
(Unequal attribute values) expected:<barcod...> but was:<display-nam...>
junit.framework.ComparisonFailure: (Unequal attribute values)
expected:<barcod...> but was:<display-nam...>
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:269)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:312)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:312)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCase.java:175)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(XmlTestCase.java:128)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(XmlTestCase.java:105)
at
org.apache.commons.betwixt.schema.TestSchemaGeneration.testOrderLineBean(TestSchemaGeneration.java:151)
Testcase:
testOrder(org.apache.commons.betwixt.schema.TestSchemaGeneration):
FAILED
(Unequal attribute values) expected:<unbounded> but was:<1>
junit.framework.ComparisonFailure: (Unequal attribute values)
expected:<unbounded> but was:<1>
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:269)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:312)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:312)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:312)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCase.java:175)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(XmlTestCase.java:128)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(XmlTestCase.java:105)
at
org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(XmlTestCase.java:96)
at
org.apache.commons.betwixt.schema.TestSchemaGeneration.testOrder(TestSchemaGeneration.java:209)
===
Regards,
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]