Devs,
Sorry for the delay... I had some issues with my computer at home (basically
it just died :O) )

At work, I'm having the following error...

env:
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)
Windows7
brand new local repository
brand new code from svn


-------------------------------------------------------------------------------
Test set: org.apache.openejb.config.OpenEjb2ConversionTest
-------------------------------------------------------------------------------
Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.838 sec
<<< FAILURE!
testSimple(org.apache.openejb.config.OpenEjb2ConversionTest)  Time elapsed:
1.244 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Files are similar
org.custommonkey.xmlunit.Diff
[different] Expected text value 'module.property.b=valueb
module.property.a=valuea
' but was 'module.property.b=valueb
module.property.a=valuea
' - comparing <properties ...>module.property.b=valueb
module.property.a=valuea
</properties> at /openejb-jar[1]/properties[1]/text()[1] to <properties
...>module.property.b=valueb
module.property.a=valuea
</properties> at /openejb-jar[1]/properties[1]/text()[1]

at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at
org.apache.openejb.config.OpenEjb2ConversionTest.assertJaxb(OpenEjb2ConversionTest.java:110)
at
org.apache.openejb.config.OpenEjb2ConversionTest.testSimple(OpenEjb2ConversionTest.java:50)
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:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
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:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:993)


Values from eclipse...
**********************************************
ACTUAL ********************************
**********************************************
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1";>
    <properties>module.property.b=valueb&#xD;
module.property.a=valuea&#xD;
</properties>
    <ejb-deployment ejb-name="FooBean" deployment-id="FooBean">
        <jndi interface="Local" name="thename"/>
        <jndi interface="Remote" name="anothername"/>
        <jndi interface="LocalHome" name="loldstyle"/>
        <jndi interface="RemoteHome" name="roldstyle"/>
*        <properties>bean.property.b=valueb&#xD;*
*bean.property.a=valuea&#xD;*
*</properties>*
    </ejb-deployment>
</openejb-jar>

**********************************************
EXPECTED *******************************
**********************************************
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1";>
    <properties>module.property.b=valueb
module.property.a=valuea
</properties>
    <ejb-deployment ejb-name="FooBean" deployment-id="FooBean">
        <jndi interface="Local" name="thename"/>
        <jndi interface="Remote" name="anothername"/>
        <jndi interface="LocalHome" name="loldstyle"/>
        <jndi interface="RemoteHome" name="roldstyle"/>
*        <properties>bean.property.b=valueb*
*bean.property.a=valuea*
*</properties>*
    </ejb-deployment>
</openejb-jar>









[]s,
Thiago



On Mon, Oct 18, 2010 at 4:59 AM, Jean-Louis MONTEIRO <
[email protected]> wrote:

>
> RAT report looks fine.
> Using the build.xml file, everything runs fine on my computer: Win XP + JDK
> jdk1.5.0_05
> As 3.1.3 is a Java EE 5 compliant release, I forced the Java 5 version and
> did not try under a Java 6.
>
> By the way, I enhanced the build.xml file to be able to set a proxy with
> common system properties.
> > ant -Dhttp.proxyHost=XXXX -Dhttp.proxyPort=YYYY
>
> I joined it to this post
> http://openejb.979440.n4.nabble.com/file/n2999869/build.xml build.xml
>
> I actually saw some stacktraces in Tomcat logs but all seems to work fine.
>
> So here is my +1
>
> Jean-Louis
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/VOTE-OpenEJB-3-1-3-release-try-3-tp2997967p2999869.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>

Reply via email to