| Summary: | twiddle.bat fails | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 4 | Reporter: | Jehudi Castro Sierra <jcastro> |
| Component: | Tooling | Assignee: | trev <tkirby> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.2 Beta 1 | CC: | mvecera |
| Target Milestone: | --- | ||
| Target Release: | 4.2 Beta 2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/SOA-292 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
Win2k3
|
|
| Last Closed: | 2008-01-21 10:45:05 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jehudi Castro Sierra
2008-01-08 13:24:19 UTC
This works on Mac OS X. I assume it works for you on Linux? yes, twiddle.sh works on Linux The following should work correctly @echo off rem ------------------------------------------------------------------------- rem JBoss JVM Launcher rem ------------------------------------------------------------------------- rem $Id: twiddle.bat 62209 2007-04-10 12:41:38Z dimitris $ if not "%ECHO%" == "" echo %ECHO% if "%OS%" == "Windows_NT" setlocal set MAIN_JAR_NAME=twiddle.jar set MAIN_CLASS=org.jboss.console.twiddle.Twiddle set DIRNAME=.\ if "%OS%" == "Windows_NT" set DIRNAME=%~dp0% set PROGNAME=run.bat if "%OS%" == "Windows_NT" set PROGNAME=%~nx0% rem Read all command line arguments REM REM Applying fix for sourceforge bug #840239. REM REM set ARGS= REM :loop REM if [%1] == [] goto end REM set ARGS=%ARGS% %1 REM shift REM goto loop REM :end rem Find MAIN_JAR, or we can't continue set MAIN_JAR=%DIRNAME%\%MAIN_JAR_NAME% if exist "%MAIN_JAR%" goto FOUND_MAIN_JAR echo Could not locate %MAIN_JAR%. Please check that you are in the echo bin directory when running this script. goto END :FOUND_MAIN_JAR if not "%JAVA_HOME%" == "" goto HAVE_JAVA_HOME 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. goto SKIP_SET_JAVA_HOME :HAVE_JAVA_HOME set JAVA=%JAVA_HOME%\bin\java :SKIP_SET_JAVA_HOME rem only include jbossall-client.jar in classpath, if rem JBOSS_CLASSPATH was not yet set if not "%JBOSS_CLASSPATH%" == "" GOTO HAVE_JB_CP set JBOSS_CLASSPATH=%DIRNAME%\..\client\jbossall-client.jar set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\client\getopt.jar set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\client\log4j.jar set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\jboss-jmx.jar :HAVE_JB_CP set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%MAIN_JAR% rem Setup JBoss sepecific properties set JBOSS_HOME=%DIRNAME%\.. set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed set JAVA_OPTS=%JAVA_OPTS% -Djboss.boot.loader.name=%PROGNAME% "%JAVA%" %JAVA_OPTS% "-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%" -classpath "%JBOSS_CLASSPATH%" %MAIN_CLASS% %* :END patched here needs to be raised with AS Link: Added: This issue is related to JBPAPP-540 Verified in beta 2 Link: Added: This issue related JBAS-5444 |