Uploaded image for project: 'Geronimo-Devtools'
  1. Geronimo-Devtools
  2. GERONIMODEVTOOLS-600

Build script should detect JDK data model(32bit or 64bit) instead of OS architecture

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.6, 2.2.1, 3.0
    • 2.2.1, 2.1.7, 3.0
    • eclipse-plugin
    • None

    Description

      In current eclipse/pom.xml, maven activation will detect OS architecture to decide which version of eclipse to be downloaded. It often fails on 64-bit system because of two reasons,because a 64-bit system may either use a 32-bit JDK or 64-bit JDK. Therefor, we have to detect JDK data model(32bit or 64bit) instead of OS architecture.

      After my investigation, we can make use of property "sun.arch.data.model" to get the JDK data model. With this property, we can improve the build script to find correct eclipse version based on JDK data model.

      Attachments

        Activity

          People

            delos Xuan Dai
            delos Xuan Dai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: