C:\Program Files\jboss-4.2.0.GA\bin>.\run.bat
C:\Program Files\jboss-4.2.0.GA\bin>
this is the result .
And i make some change in run.bat file as echo on and i run the bat file then the output
is
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\sowjanya>cd\
C:\>cd "Program Files"
C:\Program Files>cd jboss-4.2.0.GA
C:\Program Files\jboss-4.2.0.GA>cd bin
C:\Program Files\jboss-4.2.0.GA\bin>.\run.bat
C:\Program Files\jboss-4.2.0.GA\bin>run.bat
C:\Program Files\jboss-4.2.0.GA\bin>rem ----------------------------------------
---------------------------------
C:\Program Files\jboss-4.2.0.GA\bin>rem JBoss Bootstrap Script for Win32
C:\Program Files\jboss-4.2.0.GA\bin>rem ----------------------------------------
---------------------------------
C:\Program Files\jboss-4.2.0.GA\bin>rem $Id: run.bat 60996 2007-02-28 13:44:01Z
dimitris(a)jboss.org $
C:\Program Files\jboss-4.2.0.GA\bin>set DIRNAME=.\
C:\Program Files\jboss-4.2.0.GA\bin>if "Windows_NT" == "Windows_NT"
set DIRNAME=
C:\Program Files\jboss-4.2.0.GA\bin\
C:\Program Files\jboss-4.2.0.GA\bin>set PROGNAME=run.bat
C:\Program Files\jboss-4.2.0.GA\bin>if "Windows_NT" == "Windows_NT"
set PROGNAME
=run.bat
C:\Program Files\jboss-4.2.0.GA\bin>pushd C:\Program Files\jboss-4.2.0.GA\bin\..
C:\Program Files\jboss-4.2.0.GA>set JBOSS_HOME=C:\Program Files\jboss-4.2.0.GA
C:\Program Files\jboss-4.2.0.GA>popd
C:\Program Files\jboss-4.2.0.GA\bin>REM Add bin/native to the PATH if present
C:\Program Files\jboss-4.2.0.GA\bin>if exist "C:\Program Files\jboss-4.2.0.GA\bi
n\native" set PATH=C:\Program Files\jboss-4.2.0.GA\bin\native;C:\Program Files\J
ava\jdk1.5.0\bin;.;
C:\Program Files\jboss-4.2.0.GA\bin>if exist "C:\Program Files\jboss-4.2.0.GA\bi
n\native" set JAVA_OPTS= -Djava.library.path=C:\Program Files\jboss-4.2.0.GA\bin
\native
C:\Program Files\jboss-4.2.0.GA\bin>rem Read all command line arguments
C:\Program Files\jboss-4.2.0.GA\bin>REM
C:\Program Files\jboss-4.2.0.GA\bin>REM The env variable commented out in favor
of using to include
C:\Program Files\jboss-4.2.0.GA\bin>REM all args in java command line. See bug #
840239. [jpl]
C:\Program Files\jboss-4.2.0.GA\bin>REM
C:\Program Files\jboss-4.2.0.GA\bin>REM set ARGS=
C:\Program Files\jboss-4.2.0.GA\bin>REM :loop
C:\Program Files\jboss-4.2.0.GA\bin>REM if [] == [] goto endloop
C:\Program Files\jboss-4.2.0.GA\bin>REM set ARGS=
C:\Program Files\jboss-4.2.0.GA\bin>REM shift
C:\Program Files\jboss-4.2.0.GA\bin>REM goto loop
C:\Program Files\jboss-4.2.0.GA\bin>REM :endloop
C:\Program Files\jboss-4.2.0.GA\bin>rem Find run.jar, or we can't continue
C:\Program Files\jboss-4.2.0.GA\bin>set RUNJAR=C:\Program Files\jboss-4.2.0.GA\b
in\run.jar
C:\Program Files\jboss-4.2.0.GA\bin>if exist "C:\Program Files\jboss-4.2.0.GA\bi
n\run.jar" goto FOUND_RUN_JAR
C:\Program Files\jboss-4.2.0.GA\bin>if not "C:\Program Files\Java\jdk1.5.0;"
==
"" goto ADD_TOOLS
C:\Program Files\jboss-4.2.0.GA\bin>set JAVA=C:\Program Files\Java\jdk1.5.0;\bin
\java
C:\Program Files\jboss-4.2.0.GA\bin>rem A full JDK with toos.jar is not required
anymore since jboss web packages
C:\Program Files\jboss-4.2.0.GA\bin>rem the eclipse jdt compiler and javassist h
as its own internal compiler.
C:\Program Files\jboss-4.2.0.GA\bin>if not exist "C:\Program Files\Java\jdk1.5.0
;\lib\tools.jar" goto SKIP_TOOLS
C:\Program Files\jboss-4.2.0.GA\bin>rem If JBOSS_CLASSPATH or JAVAC_JAR is empty
, don't include it, as this will
C:\Program Files\jboss-4.2.0.GA\bin>rem result in including the local directory
in the classpath, which makes
C:\Program Files\jboss-4.2.0.GA\bin>rem error tracking harder.
C:\Program Files\jboss-4.2.0.GA\bin>if not "" == "" set
RUNJAR=;C:\Program Files
\jboss-4.2.0.GA\bin\run.jar
C:\Program Files\jboss-4.2.0.GA\bin>if "" == "" set
RUN_CLASSPATH=C:\Program Fil
es\jboss-4.2.0.GA\bin\run.jar
C:\Program Files\jboss-4.2.0.GA\bin>if "C:\Program Files\jboss-4.2.0.GA\bin\run.
jar" == "" set RUN_CLASSPATH=;C:\Program Files\jboss-4.2.0.GA\bin\run.jar
C:\Program Files\jboss-4.2.0.GA\bin>set JBOSS_CLASSPATH=C:\Program Files\jboss-4
.2.0.GA\bin\run.jar
C:\Program Files\jboss-4.2.0.GA\bin>rem Setup JBoss specific properties
C:\Program Files\jboss-4.2.0.GA\bin>set JAVA_OPTS= -Dprogram.name=run.bat
C:\Program Files\jboss-4.2.0.GA\bin>rem Add -server to the JVM options, if suppo
rted
C:\Program Files\jboss-4.2.0.GA\bin>"C:\Program
Files\Java\jdk1.5.0;\bin\java" -
version 2>&1 | findstr /I hotspot 1>nul
C:\Program Files\jboss-4.2.0.GA\bin>
i think it may givesu some idea.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100490#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...