[
https://issues.jboss.org/browse/AS7-2154?page=com.atlassian.jira.plugin.s...
]
Gregory Charles edited comment on AS7-2154 at 1/24/12 2:07 PM:
---------------------------------------------------------------
Here's my port of vault.sh to Windows. I've only tested it on Windows XP, so it
may need some tweaks for less moldy versions of Windows. I left out some parts of vault.sh
that weren't being used, such as the warn and die functions and a couple of local
variables.
@echo off
SETLOCAL
rem Author: Gregory Charles, JBoss Community Member
rem Date: January 24, 2012
set DIRNAME=%~dp0
set PROGNAME=%0
rem Setup JBOSS_HOME
set JBOSS_HOME=%DIRNAME%\..\..
rem Setup the JVM
IF NOT DEFINED JAVA (
echo not defined java
IF DEFINED JAVA_HOME (
set JAVA=%JAVA_HOME%\bin\java
) ELSE (
JAVA=java
)
)
IF NOT DEFINED MODULEPATH (
set MODULEPATH=%JBOSS_HOME%\modules
)
rem
rem Setup the JBoss Vault Tool classpath
rem
rem Shared libs
set JBOSS_VAULT_CLASSPATH=%MODULEPATH%\org\picketbox\main\*
set JBOSS_VAULT_CLASSPATH=%JBOSS_VAULT_CLASSPATH%;%MODULEPATH%\org\jboss\logging\main\*
set
JBOSS_VAULT_CLASSPATH=%JBOSS_VAULT_CLASSPATH%;%MODULEPATH%\org\jboss\common-core\main\*
set
JBOSS_VAULT_CLASSPATH=%JBOSS_VAULT_CLASSPATH%;%MODULEPATH%\org\jboss\as\security\main\*
rem Display our environment
echo =========================================================================
echo.
echo JBoss Vault
echo.
echo JBOSS_HOME: %JBOSS_HOME%
echo.
echo JAVA: %JAVA%
echo.
echo VAULT Classpath: %JBOSS_VAULT_CLASSPATH%
echo =========================================================================
echo.
%JAVA% -classpath %JBOSS_VAULT_CLASSPATH% org.jboss.as.security.vault.VaultTool
ENDLOCAL
was (Author: gregcharles):
Port of vault.sh to Windows.
VaultTool script is not available for Windows
---------------------------------------------
Key: AS7-2154
URL:
https://issues.jboss.org/browse/AS7-2154
Project: Application Server 7
Issue Type: Bug
Components: Scripts, Security
Affects Versions: 7.1.0.Alpha1
Reporter: Rostislav Svoboda
Assignee: Ondrej Zizka
Fix For: 7.1.0.Final
Attachments: vault.bat
VaultTool script is not available for Windows, only .sh version exists.
Please create vault.bat script too, .sh version was created under AS7-1895 - searched on
github [1]
[1]
https://github.com/jbossas/jboss-as/tree/master/build/src/main/resources/...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira