Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-3995

incorrect classpath setting in hop-encrypt.sh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.0, 1.2.0, 2.0.0
    • 2.1.0
    • CLI

    Description

      classpath readsĀ 

      case $(uname -s) in
      Linux)
        CLASSPATH="lib/*"
        ;;
      Darwin)
        CLASSPATH="lib/*"
        HOP_OPTIONS="${HOP_OPTIONS} -XstartOnFirstThread"
        ;;esac
      

      should readĀ 

      case $(uname -s) in
      Linux)
          if $($_HOP_JAVA -XshowSettings:properties -version 2>&1| grep -q "os.arch = aarch64"); then
              CLASSPATH="lib/*:libswt/linux/arm64/*"
          else
              CLASSPATH="lib/*:libswt/linux/$(uname -m)/*"
          fi
        ;;
      Darwin)
        if $($_HOP_JAVA -XshowSettings:properties -version 2>&1| grep -q "os.arch = aarch64"); then
            CLASSPATH="lib/*:libswt/osx/arm64/*"
        else
            CLASSPATH="lib/*:libswt/osx/x86_64/*"
        fi
        HOP_OPTIONS="${HOP_OPTIONS} -XstartOnFirstThread"
        ;;
      esac

      Attachments

        Activity

          People

            bartmaer Bart Maertens
            bartmaer Bart Maertens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m