I had been switching back and forth between JDK 5 and 6 working on different patches (and using Eclipse with JDK 5), so maybe that's what caused it... Anyway, I deleted my local openjpa-persistence directory and then svn up'ed again and the builds using JDK 5 started working again.

-Donald


Michael Dick wrote:
The source files seem oddly named. ExplicitFieldAccess_.java. Could be a cut
and paste artifact or something like ExplicitFieldAccess.java.rej|.orig if
the MacOS SVN client you're using behaves differently from CollabNet's CLI..


Sorry, those are my best guesses.

-mike

On Wed, Apr 29, 2009 at 1:49 PM, Pinaki Poddar <ppod...@apache.org> wrote:

If you saw test failures (as opposed to compilation failure), it may have
been caused by a test case which was moved from openjpa-persistence to
openjpa-persistence-jdbc


DWoods wrote:
Well, just tried a clean checkout and everything is building fine....
Not sure what was left behind after a "mvn clean", as svn status didn't
show any modifications in the openjpa-persistence directory.


-Donald


Donald Woods wrote:
Start of the build failure with JDK 6 on MacOSX -

INFO] Compiling 11 source files to
/Users/drwoods/openjpa/trunk/openjpa-persistence/target/test-classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure


/Users/drwoods/openjpa/trunk/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/meta/ExplicitFieldAccess_.java:[12,37]
cannot find symbol
symbol  : class ExplicitFieldAccess
location: class org.apache.openjpa.persistence.meta.ExplicitFieldAccess_


/Users/drwoods/openjpa/trunk/openjpa-persistence/src/test/java/org/apache/openjpa/persistence/meta/ExplicitFieldAccess_.java:[13,37]
cannot find symbol
symbol  : class ExplicitFieldAccess
location: class org.apache.openjpa.persistence.meta.ExplicitFieldAccess_




Donald Woods wrote:
I just updated to Rev769801 and I'm seeing build failures in the
openjpa-persistence tests now with Java 5 and 6.


-Donald


David Ezzio wrote:
Hi Pinaki,

This is fixed for me starting at 769549.

Thanks,

David

David Ezzio wrote:
At 769478:

[INFO] Compiling 12 source files to
C:\code\svn\RW_OpenJPATrunk\openjpa-persistence\target\test-classes
[INFO]

------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]

------------------------------------------------------------------------
[INFO] Compilation failure


C:\code\svn\RW_OpenJPATrunk\openjpa-persistence\src\test\java\org\apache\openjpa\persistence\meta\TestCanonicalMetamodelGeneration.java:[14,35]
package javax.annotation.processing does not exist

etc.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

At 769497:


[INFO] Compiling 193 source files to
C:\code\svn\RW_OpenJPATrunk\openjpa-persistence\target\classes
[INFO]

------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]

------------------------------------------------------------------------
[INFO] Compilation failure


C:\code\svn\RW_OpenJPATrunk\openjpa-persistence\src\main\java\org\apache\openjpa\persistence\meta\SourceAnnotationHandler.java:[29,35]
package javax.annotation.processing does not exist

etc.



-----
Pinaki Poddar                      http://ppoddar.blogspot.com/

http://www.linkedin.com/in/pinakipoddar
OpenJPA PMC Member/Committer
JPA Expert Group Member
--
View this message in context:
http://n2.nabble.com/Compile-failures-starting-at-revs-769478-and-769497-tp2736621p2742510.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.



Reply via email to