Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1-alpha-1
-
Fix Version/s: 1.1-beta-1
-
Component/s: None
-
Labels:None
-
Environment:using continuum with tomcat on a solaris machine
-
Complexity:Intermediate
-
Number of attachments :
Description
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 ![]()
patch included in patch for
CONTINUUM-44.CONTINUUM-44.