On 9/6/06, Jay D. McHugh <[EMAIL PROTECTED]> wrote:
Hello all,
I have been unable to build the current source checked out from svn.
I keep getting an error that there is a dependency missing:
Missing:
----------
1) org.apache.openjpa:openjpa-persistence-jdbc:jar:0.9.0-SNAPSHOT
Hi Jay,
Thanks for bringing it up! Dave and me would've not spot it since we
had the jars in our M2 local repos. I seem to have missed when OpenJPA
changed their version numbers to incorporate -incubating- in order to
express it clearly they're still in their infancy ;-) (btw, it's a
policy for incubating projects to add something like this to stand
out).
I committed a change to get rid of it. Thanks!
$ svn ci -m 'Change the version of (incubating) OpenJPA'
container/openejb-persistence/pom.xml
Sending container/openejb-persistence/pom.xml
Transmitting file data .
Committed revision 2890.
There's yet another issue with the example bean which contrary to its
name - FriendlyPerson - has turned out unfriendly ;-) Unless you work
with EN locale you shouldn't be facing it, though. I'm in PL locale
and thus the build error:
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 1.766
sec <<< FAILURE!
testFriendlyPersonViaRemoteInterface(org.acme.FriendlyPersonTest)
Time elapsed: 1.734 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<...Portuguese...> but
was:<...portugalski...>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at
org.acme.FriendlyPersonTest.assertFriendlyPerson(FriendlyPersonTest.java:83)
at
org.acme.FriendlyPersonTest.testFriendlyPersonViaRemoteInterface(FriendlyPersonTest.java:52)
testFriendlyPersonViaLocalInterface(org.acme.FriendlyPersonTest) Time
elapsed: 0 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<...Portuguese...> but
was:<...portugalski...>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at
org.acme.FriendlyPersonTest.assertFriendlyPerson(FriendlyPersonTest.java:83)
at
org.acme.FriendlyPersonTest.testFriendlyPersonViaLocalInterface(FriendlyPersonTest.java:65)
Looking into it.
Jacek
--
Jacek Laskowski
http://www.laskowski.net.pl