Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1291

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1-alpha-1
    • 1.1-beta-1
    • None
    • None
    • using continuum with tomcat on a solaris machine

    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

      Attachments

        Activity

          People

            evenisse Emmanuel Venisse
            olamy Olivier Lamy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: