In a special configuration the report mail can contains false java version used
for the build
---------------------------------------------------------------------------------------------
Key: CONTINUUM-1291
URL: http://jira.codehaus.org/browse/CONTINUUM-1291
Project: Continuum
Issue Type: New Feature
Affects Versions: 1.1-alpha-1
Environment: using continuum with tomcat on a solaris machine
Reporter: Olivier Lamy
I have installed the webapp on a tomcat.
The catalina.sh contains a forced JAVA_HOME (1.6).
Whereas the user JAVA_HOME (setted in .profile) contains a different one (1.4).
The mail report says :
Operating system : SunOS(unknown)
Java version : 1.6.0(Sun Microsystems Inc.)
Whereas the real JAVA_HOME (because the maven build is launched with a cli) is
the one defined in the .profile.
This can cause an other trouble if I set the target in the
maven-compiler-plugin with 1.5.
I see the in the mail :
Java version : 1.6.0(Sun Microsystems Inc.)
And at the end of the report I can see :
javac: invalid target release: 1.5
More generally It could to be nice to have something which can define different
JAVA_HOME per projectGroup and/or project.
I will try to provide a patch for the mail report (not today because I have
some jobs).
Do not hesitate to ping me if I don't do this :D
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira