Sha256: 22be28e964945637b3ff7e5d6bf88f8d6d88ec88d0da7c545cad212e9a3f55bb
Contents?: true
Size: 1.76 KB
Versions: 1
Compression:
Stored size: 1.76 KB
Contents
#!/bin/sh # Add User Utility # # A simple utility for adding new users to the properties file used # for domain management authentication out of the box. # DIRNAME=`dirname "$0"` # OS specific support (must be 'true' or 'false'). cygwin=false; if [ `uname|grep -i CYGWIN` ]; then cygwin = true; fi # For Cygwin, ensure paths are in UNIX format before anything is touched if $cygwin ; then [ -n "$JBOSS_HOME" ] && JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"` [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` [ -n "$JAVAC_JAR" ] && JAVAC_JAR=`cygpath --unix "$JAVAC_JAR"` fi # Setup JBOSS_HOME if [ "x$JBOSS_HOME" = "x" ]; then # get the full path (without any relative bits) JBOSS_HOME=`cd "$DIRNAME/.."; pwd` fi export JBOSS_HOME # Setup the JVM if [ "x$JAVA" = "x" ]; then if [ "x$JAVA_HOME" != "x" ]; then JAVA="$JAVA_HOME/bin/java" else JAVA="java" fi fi if [ "x$JBOSS_MODULEPATH" = "x" ]; then JBOSS_MODULEPATH="$JBOSS_HOME/modules" fi # For Cygwin, switch paths to Windows format before running java if $cygwin; then JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"` JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` JBOSS_CLASSPATH=`cygpath --path --windows "$JBOSS_CLASSPATH"` JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"` JBOSS_MODULEPATH=`cygpath --path --windows "$JBOSS_MODULEPATH"` fi # Sample JPDA settings for remote socket debugging #JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y" eval \"$JAVA\" $JAVA_OPTS \ -jar \"$JBOSS_HOME/jboss-modules.jar\" \ -mp \"${JBOSS_MODULEPATH}\" \ -logmodule "org.jboss.logmanager" \ org.jboss.as.domain-add-user \ "$@"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
torquebox-server-2.0.0.beta3-java | jboss/bin/add-user.sh |