Continuum

In a special configuration the report mail can contains false java version used for the build

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major 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 :
    0

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

Activity

Hide
Olivier Lamy added a comment -

patch included in patch for CONTINUUM-44.

Show
Olivier Lamy added a comment - patch included in patch for CONTINUUM-44.
Hide
Emmanuel Venisse added a comment -

Patch provided in CONTINUUM-44 is applied.

Show
Emmanuel Venisse added a comment - Patch provided in CONTINUUM-44 is applied.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: