openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Lee" <allee8...@gmail.com>
Subject Maven build for Examples Integration Tests compile error
Date Tue, 30 Oct 2007 23:12:07 GMT
I ran into the following compile errors in "Examples Integration Tests"
module while doing the release build.

I have the JAVA_HOME set to C:\Progra~1\IBM\Java50 but when the pom.xml is
run, the ${java.home} is changed to C:\Progra~1\IBM\Java50\jre.

There are other modules compiling many Java files without any problem,
except this module.

Mike & I are trying to figure this out but have been scratching our heads
for a little while. Does anyone has any clue on what happens here?

Thanks,
Albert Lee.

[INFO]
----------------------------------------------------------------------------
[INFO] Building OpenJPA Examples Integration Tests
[INFO]    task-segment: [deploy, site]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing javadoc:javadoc
[WARNING] Removing: javadoc from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO] [javadoc:javadoc {execution: default}]
[INFO] [site:attach-descriptor]
[INFO] [antrun:run {execution: run-examples}]
[INFO] Executing tasks
     [echo] Running OpenJPA Examples
    [mkdir] Created dir:
C:\a.workspace\eclipse.workspace\ejb3.serv1\openjpa.101.cur\openjpa-integration\examples\target
\examples
    [unzip] Expanding:
C:\a.workspace\eclipse.workspace\ejb3.serv1\openjpa.101.cur\target\site\downloads\apache-openjpa-
1.0.1-binary.zip into
C:\a.workspace\eclipse.workspace\ejb3.serv1\openjpa.101.cur\openjpa-integration\examples\target\ex
amples
     [echo] ^^^11 ^^C:\Progra~1\IBM\Java50\jre

pre-compile:

compile:
    [javac] Compiling 2 source files
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
C:\a.workspace\eclipse.workspace\ejb3.serv1\openjpa.101.cur\openjpa-integration\examples\target\examples\apache-openjpa-
1.0.1\examples\build.xml:73: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9 minutes 51 seconds
[INFO] Finished at: Tue Oct 30 17:41:15 CDT 2007
[INFO] Final Memory: 42M/177M
[INFO]
------------------------------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message