Sha256: eef3d142354a8b27280ff663ab1e5a8b772127520c06f816f9b8cf8cac322ef0
Contents?: true
Size: 1.59 KB
Versions: 1
Compression:
Stored size: 1.59 KB
Contents
@echo off rem ------------------------------------------------------------------------- rem Ass User script for Windows rem ------------------------------------------------------------------------- rem rem A simple utility for adding new users to the properties file used rem for domain management authentication out of the box. rem $Id$ @if not "%ECHO%" == "" echo %ECHO% @if "%OS%" == "Windows_NT" setlocal if "%OS%" == "Windows_NT" ( set "DIRNAME=%~dp0%" ) else ( set DIRNAME=.\ ) pushd %DIRNAME%.. if "x%JBOSS_HOME%" == "x" ( set "JBOSS_HOME=%CD%" ) popd set DIRNAME= if "%OS%" == "Windows_NT" ( set "PROGNAME=%~nx0%" ) else ( set "PROGNAME=jdr.bat" ) rem Setup JBoss specific properties if "x%JAVA_HOME%" == "x" ( set JAVA=java echo JAVA_HOME is not set. Unexpected results may occur. echo Set JAVA_HOME to the directory of your local JDK to avoid this message. ) else ( set "JAVA=%JAVA_HOME%\bin\java" ) rem Find jboss-modules.jar, or we can't continue if exist "%JBOSS_HOME%\jboss-modules.jar" ( set "RUNJAR=%JBOSS_HOME%\jboss-modules.jar" ) else ( echo Could not locate "%JBOSS_HOME%\jboss-modules.jar". echo Please check that you are in the bin directory when running this script. goto END ) rem Setup JBoss specific properties rem Setup the java endorsed dirs set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed rem Set default module root paths if "x%MODULEPATH%" == "x" ( set "MODULEPATH=%JBOSS_HOME%\modules" ) "%JAVA%" ^ -jar "%JBOSS_HOME%\jboss-modules.jar" ^ -mp "%MODULEPATH%" ^ org.jboss.as.domain-add-user ^ %* :END if "x%NOPAUSE%" == "x" pause
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
torquebox-server-2.0.0.beta2-java | jboss/bin/add-user.bat |