Re: jpa provider

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Dec 10 2007 - 11:11:23 EST

  • Next message: james yong: "Additional class dependency of a CayenneDataObject class at runtime"

    So is it the same error as before or something else?

    Andrus

    On Dec 10, 2007, at 4:33 PM, Gilberto C Andrade wrote:
    > Andrus Adamchik wrote:
    >> maven-specific advice - configuration we are using from our own
    >> integration tests:
    >>
    >> <plugin>
    >> <groupId>org.apache.maven.plugins</groupId>
    >> <artifactId>maven-surefire-plugin</artifactId>
    >>
    >> <configuration>
    >> <forkMode>once</forkMode>
    >> <argLine>
    >>
    >> -javaagent:${settings.localRepository}/org/apache/cayenne/cayenne-
    >> agent/${version}/cayenne-agent-${version}.jar
    >>
    >> </argLine>
    >> </configuration>
    >> </plugin>
    >>
    >
    >
    > I've followed your tip, but without success:
    >> -------------------------------------------------------
    >> T E S T S
    >> -------------------------------------------------------
    >> Running com.gilbertoca.gfi.service.PessoaServiceTest
    >> Dec 10, 2007 11:21:43 AM org.apache.cayenne.jpa.Provider
    >> createEntityManagerFactory
    >> INFO: Extra PersistenceUnitInfo properties: null
    >> Dec 10, 2007 11:21:43 AM
    >> org.apache.cayenne.jpa.instrument.InstrumentingUnit addTransformer
    >> INFO: *** Adding transformer:
    >> org.apache.cayenne.jpa.instrument.UnitClassTransforme..2a55aa
    >> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed:
    >> 0.467 sec <<< FAILURE!
    >> Running com.gilbertoca.gfi.AppTest
    >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
    >> 0.024 sec
    >>
    >> Results :
    >>
    >> Tests in error:
    >> hello(com.gilbertoca.gfi.service.PessoaServiceTest)
    >> hello(com.gilbertoca.gfi.service.PessoaServiceTest)
    >
    >



    This archive was generated by hypermail 2.0.0 : Mon Dec 10 2007 - 11:11:59 EST