Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-24020

set better defaults for jbosstools.test.jre.* in parent pom?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.5.0.AM1
    • 4.5.0.AM1
    • build
    • None

    Description

      A few builds, such as jbosstools-server and jbosstools-webservices, rely on some ancient JREs which are not actually available on the machines on which builds or tests are run.

      These JREs are defined in the parent pom here:

      https://github.com/jbosstools/jbosstools-build/blob/master/parent/pom.xml#L80-L83

      Then in Jenkins, the actual paths are defined.

      But to run locally & not have tests fail, you therefore need set these via commandline or in your settings.xml file.

      So, why not set a better default that works on Windows/Linux/MacOS? How about this?

      -Djbosstools.test.jre.5=${JAVA_HOME}
      -Djbosstools.test.jre.6=${JAVA_HOME} 
      -Djbosstools.test.jre.7=${JAVA_HOME} 
      -Djbosstools.test.jre.8=${JAVA_HOME}

      Attachments

        Issue Links

          Activity

            People

              jmaury@redhat.com Jeff MAURY
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: