[jboss-jira] [JBoss JIRA] (WFLY-3649) On Darwin domain.sh JBOSS_BASE_DIR isn't resolved properly
Arcadiy Ivanov (JIRA)
issues at jboss.org
Sun Jul 20 14:18:29 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986487#comment-12986487 ]
Arcadiy Ivanov commented on WFLY-3649:
--------------------------------------
I would also recommend inspecting standalone and other shell scripts in case this is a cut-n-paste snippet.
> On Darwin domain.sh JBOSS_BASE_DIR isn't resolved properly
> ----------------------------------------------------------
>
> Key: WFLY-3649
> URL: https://issues.jboss.org/browse/WFLY-3649
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Domain Management
> Affects Versions: 8.1.0.Final
> Environment: Darwin arcivanovs-Mac-Pro.local 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
> Reporter: Arcadiy Ivanov
> Assignee: Brian Stansberry
> Labels: darwin, domain, macos, shell
> Attachments: domain.sh.patch
>
>
> In the following code in domain.sh all "cd ${p#*=} ; pwd -P" should be "cd ${var#*=} ; pwd -P"
> =========================
> # No readlink -m on BSD
> if $darwin; then
> # consolidate the host-controller and command line opts
> HOST_CONTROLLER_OPTS="$HOST_CONTROLLER_JAVA_OPTS $@"
> # 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
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list