Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3649

On Darwin domain.sh JBOSS_BASE_DIR isn't resolved properly

XMLWordPrintable

    • Hide

      Start domain using domain.sh on MacOS X with "-Djboss.domain.base.dir=<whatever>" specified.

      Show
      Start domain using domain.sh on MacOS X with "-Djboss.domain.base.dir=<whatever>" specified.
    • Compatibility/Configuration

      In the following code in domain.sh all "cd ${p#=} ; pwd -P" should be "cd ${var#=} ; pwd -P"

      =========================

      1. No readlink -m on BSD
        if $darwin; then
      2. consolidate the host-controller and command line opts
        HOST_CONTROLLER_OPTS="$HOST_CONTROLLER_JAVA_OPTS $@"
      3. process the host-controller options
        for var in $HOST_CONTROLLER_OPTS
        do
        case $var in
        -Djboss.domain.base.dir=*)
        JBOSS_BASE_DIR=`cd ${p#*=} ; pwd -P`
        ;;
        -Djboss.domain.log.dir=*)
        JBOSS_LOG_DIR=`cd ${p#*=} ; pwd -P`
        ;;
        -Djboss.domain.config.dir=*)
        JBOSS_CONFIG_DIR=`cd ${p#*=} ; pwd -P`
        ;;
        esac
        done
        fi

        1. domain.sh.patch
          0.6 kB
          Arcadiy Ivanov

              arcivanov_jira Arcadiy Ivanov (Inactive)
              arcivanov_jira Arcadiy Ivanov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: