Re: Build Failures?

From: Michael Gentry (blacknex..mail.com)
Date: Wed Feb 07 2007 - 09:38:35 EST

  • Next message: Andrus Adamchik: "Re: Build Failures?"

    That got me closer. I now get this, though:

    -------------------------------------------------------
     T E S T S
    -------------------------------------------------------
    Running org.apache.cayenne.jpa.itest.ch5._5_5_1_JtaEntityManagerTest
    Apache OpenEJB 3.0-incubating-SNAPSHOT build: 20070206-12:30
    http://incubator.apache.org/openejb
    09:22:10,433 WARN [OpenEJB] Cannot find the configuration file
    [conf/openejb.xml]. Creating one at
    /usr/local/mrg/Projects/eclipse/workspace/Cayenne30/itests/jpa-chapter5/target/openejb-out/conf/openejb.xml
    09:22:11,106 DEBUG [startup] Containers : 5
    09:22:11,106 DEBUG [startup] Type Container ID
    09:22:11,108 DEBUG [startup] BMP ENTITY Default BMP Container
    09:22:11,108 DEBUG [startup] MESSAGE Default MDB Container
    09:22:11,108 DEBUG [startup] CMP ENTITY Default CMP Container
    09:22:11,109 DEBUG [startup] STATEFUL Default Stateful Container
    09:22:11,109 DEBUG [startup] STATELESS Default Stateless Container
    09:22:11,109 DEBUG [startup] Deployments : 0
    09:22:11,109 DEBUG [startup] SecurityService :
    org.apache.openejb.ri.sp.PseudoSecurityService
    09:22:11,109 DEBUG [startup] TransactionManager:
    org.apache.geronimo.transaction.manager.GeronimoTransactionManager
    09:22:11,109 INFO [startup] OpenEJB ready.
    OpenEJB ready.
    Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.392
    sec <<< FAILURE!

    I'm in the middle of destroying a Tapestry app, so I'll take a look at
    this later on.

    Thanks,

    /dev/mrg

    On 2/7/07, Andrus Adamchik <andru..bjectstyle.org> wrote:
    > Hmm, looks like a problem due to a recent refactoring. I suggest to
    > start with a clean local repo:
    >
    > rm -rf ~/.m2/repository/org/apache/cayenne
    > cd cayenne/ && mvn clean install
    >
    > Andrus
    >
    >
    > On Feb 7, 2007, at 3:57 PM, Michael Gentry wrote:
    >
    > > Does a "mvn install" currently build for others? Whenever I try it
    > > (or to build the Mac DMG), I get:
    > >
    > > [INFO]
    > > ----------------------------------------------------------------------
    > > ------
    > > [INFO] Building Cayenne JPA Unpublished
    > > [INFO] task-segment: [install]
    > > [INFO]
    > > ----------------------------------------------------------------------
    > > ------
    > > [INFO] [resources:resources]
    > > [INFO] Using default encoding to copy filtered resources.
    > > [INFO] [compiler:compile]
    > > [INFO] Nothing to compile - all classes are up to date
    > > [INFO] [resources:testResources]
    > > [INFO] Using default encoding to copy filtered resources.
    > > [INFO] [compiler:testCompile]
    > > [INFO] Nothing to compile - all classes are up to date
    > > [INFO] [surefire:test]
    > > [INFO] Surefire report directory:
    > > /usr/local/mrg/Projects/eclipse/workspace/Cayenne30/framework/
    > > cayenne-jpa-unpublished/target/surefire-reports
    > > org.apache.maven.surefire.booter.SurefireExecutionException:
    > > org/apache/cayenne/jpa/JpaEntityManagerFactory; nested exception is
    > > java.lang.NoClassDefFoundError:
    > > org/apache/cayenne/jpa/JpaEntityManagerFactory
    > > java.lang.NoClassDefFoundError: org/apache/cayenne/jpa/
    > > JpaEntityManagerFactory
    > > at java.lang.Class.getDeclaredMethods0(Native Method)
    > > at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
    > > at java.lang.Class.getMethod0(Class.java:2611)
    > > at java.lang.Class.getMethod(Class.java:1579)
    > > at
    > > org.apache.maven.surefire.junit.JUnitTestSet.createInstanceFromSuiteMe
    > > thod(JUnitTestSet.java:173)
    > > at
    > > org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject
    > > (JUnitTestSet.java:137)
    > > at org.apache.maven.surefire.junit.JUnitTestSet.getTestCount
    > > (JUnitTestSet.java:244)
    > > at
    > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestS
    > > ets(AbstractDirectoryTestSuite.java:101)
    > > at
    > > org.apache.maven.surefire.Surefire.createSuiteFromDefinition
    > > (Surefire.java:147)
    > > at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
    > > 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.maven.surefire.booter.SurefireBooter.runSuitesInProcess
    > > (SurefireBooter.java:225)
    > > at org.apache.maven.surefire.booter.SurefireBooter.main
    > > (SurefireBooter.java:747)
    > > [INFO]
    > > ----------------------------------------------------------------------
    > > --
    > > [ERROR] BUILD FAILURE
    > > [INFO]
    > > ----------------------------------------------------------------------
    > > --
    > >
    > >
    > >
    > >
    > >
    > > Just curious if it is isolated to me or something. Thanks!
    > >
    > > /dev/mrg
    > >
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed Feb 07 2007 - 09:39:11 EST