[ 
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacek Laskowski updated OPENJPA-186:
------------------------------------

    Attachment: OPENJPA-186.patch

Applying the patch lets you go on with the build until another BUILD ERROR:

[INFO] 
----------------------------------------------------------------------------
[INFO] Building OpenJPA JPA TCK Integration Tests
[INFO]    task-segment: [clean, install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory c:\oss\openjpa\openjpa-integration\tck\target
[INFO] Deleting directory c:\oss\openjpa\openjpa-integration\tck\target\classes
[INFO] Deleting directory 
c:\oss\openjpa\openjpa-integration\tck\target\test-classes
[INFO] [site:attach-descriptor]
[INFO] [antrun:run {execution: run-tck}]
[INFO] Executing tasks
     [echo] Running Sun JPA TCK
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The TCK file C:\.m2/../privaterepos/jpa-1_0a-tck.zip does not 
exist. This file must be downloaded separately in order to be able to run the 
JPA TCK
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 33 seconds
[INFO] Finished at: Wed Mar 28 21:58:01 CEST 2007
[INFO] Final Memory: 35M/254M
[INFO] ------------------------------------------------------------------------

I wonder how non-committers build OpenJPA?! Could the tck modue be moved to a 
profile that's executed for some?

> Build failure of OpenJPA sources from trunk
> -------------------------------------------
>
>                 Key: OPENJPA-186
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-186
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: build / infrastructure
>    Affects Versions: 0.9.7
>            Reporter: Jacek Laskowski
>         Assigned To: Marc Prud'hommeaux
>             Fix For: 0.9.7
>
>         Attachments: OPENJPA-186-builderror-2.txt, 
> OPENJPA-186.buildfailure.txt, OPENJPA-186.patch
>
>
> (I have sent it to the mailing list on March 26th, but it didn't get through)
> As I'm not alone with the build failure, see 
> http://www.nabble.com/error-building-openjpa-tf3478705.html, here goes the 
> issue report.
> I've been trying to build OpenJPA source from trunk for a couple of days and 
> no joy so far. Anything missing?
> [EMAIL PROTECTED] /cygdrive/c/oss/openjpa
> $ svn up
> At revision 522565.
> [EMAIL PROTECTED] /cygdrive/c/oss/openjpa
> $ svn status
> [EMAIL PROTECTED] /cygdrive/c/oss/openjpa
> $ mvn clean install
> [INFO] Executing tasks
>     [echo] Revision: 406193:522097
> [INFO] Executed tasks
> [INFO] [antrun:run {execution: delete sun.misc.Perf}]
> [INFO] Executing tasks
> [INFO] Executed tasks
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 33 source files to
> c:\oss\openjpa\openjpa-lib\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> c:\oss\openjpa\openjpa-lib\target\surefire-reports
> [INFO] Building jar: 
> c:\DOCUME~1\JLASKO~1\LOCALS~1\Temp\surefirebooter30238.jar
> java.lang.NoClassDefFoundError: 
> org/apache/maven/surefire/booter/SurefireBooter
> Exception in thread "main"
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 16 seconds
> [INFO] Finished at: Mon Mar 26 19:16:09 CEST 2007
> [INFO] Final Memory: 21M/254M
> [INFO] 
> ------------------------------------------------------------------------
> [EMAIL PROTECTED] /cygdrive/c/oss/openjpa
> $ mvn -v
> Maven version: 2.0.5
> [EMAIL PROTECTED] /cygdrive/c/oss/openjpa
> $ java -version
> java version "1.5.0_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to