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

Karaf 3.0.0 build has some property substitution issues...

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0.0
    • None
    • karaf
    • None
    • Windows 7, JDK7

    Description

      I was doing a directory compare on the latest 3.0.0-SNAPSHOT compared to 3.0.0-RC1. I noticed what appear to be some problems in the generation of the karaf.bat file:

      The setupNativePath() now shows:

      LD_LIBRARY_PATH="/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:$KARAF_BASE/lib:$KARAF_HOME/lib"

      instead of the following in RC1

      LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$KARAF_BASE/lib:$KARAF_HOME/lib"

      Also, the JAVA_ENDORSED DIRS are set to:

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

      Rather than what was in RC1:
      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"

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              rmoquin Ryan Moquin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: