Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2016

Hudson paths hard coded in assembled zip and tar.gz distributions

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: karaf-core
    • Labels:
      None
    • Environment:

      Linux

      Description

      If you download either apache-karaf-3.0.0-SNAPSHOT.zip or apache-karaf-3.0.0-SNAPSHOT.tar.gz, the paths for JAVA_ENDORSED_DIRS and JAVA_EXT_DIRS in the bin/karaf script are wrong.

      What's in the script:

      JAVA_ENDORSED_DIRS="/home/hudson/tools/java/latest1.6/jre/lib/endorsed:/home/hudson/tools/java/latest1.6/lib/endorsed:$

      {KARAF_HOME}/lib/endorsed"
      JAVA_EXT_DIRS="/home/hudson/tools/java/latest1.6/jre/lib/ext:/home/hudson/tools/java/latest1.6/lib/ext:${KARAF_HOME}

      /lib/ext"

      What should be there:

      JAVA_ENDORSED_DIRS="$

      {JAVA_HOME}/jre/lib/endorsed:${JAVA_HOME}

      /lib/endorsed:$

      {KARAF_HOME}/lib/endorsed"
      JAVA_EXT_DIRS="${JAVA_HOME}/jre/lib/ext:${JAVA_HOME}/lib/ext:${KARAF_HOME}

      /lib/ext"

        Issue Links

          Activity

          Hide
          chris@die-schneider.net Christian Schneider added a comment -

          Just checked the current build. Both variables look good now:
          JAVA_ENDORSED_DIRS="$

          {JAVA_HOME}/jre/lib/endorsed:${JAVA_HOME}

          /lib/endorsed:$

          {KARAF_HOME}/lib/endorsed"
          JAVA_EXT_DIRS="${JAVA_HOME}/jre/lib/ext:${JAVA_HOME}/lib/ext:${KARAF_HOME}

          /lib/ext"

          Show
          chris@die-schneider.net Christian Schneider added a comment - Just checked the current build. Both variables look good now: JAVA_ENDORSED_DIRS="$ {JAVA_HOME}/jre/lib/endorsed:${JAVA_HOME} /lib/endorsed:$ {KARAF_HOME}/lib/endorsed" JAVA_EXT_DIRS="${JAVA_HOME}/jre/lib/ext:${JAVA_HOME}/lib/ext:${KARAF_HOME} /lib/ext"

            People

            • Assignee:
              chris@die-schneider.net Christian Schneider
              Reporter:
              roedll Lukas Roedl
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development