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]
------------------------------------------------------------------------