[jboss-cvs] JBossAS SVN: r88820 - branches/Branch_5_x/main/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed May 13 11:25:44 EDT 2009
Author: dimitris at jboss.org
Date: 2009-05-13 11:25:44 -0400 (Wed, 13 May 2009)
New Revision: 88820
Added:
branches/Branch_5_x/main/src/bin/run.conf.bat
Removed:
branches/Branch_5_x/main/src/bin/run-conf.bat
Modified:
branches/Branch_5_x/main/src/bin/run.bat
Log:
JBAS-6754, tidy up things a bit
rename to run.conf.bat so they appear together with the run.conf counterpart
remove the extra backslash from the bin dirname
simplify comments
Deleted: branches/Branch_5_x/main/src/bin/run-conf.bat
===================================================================
--- branches/Branch_5_x/main/src/bin/run-conf.bat 2009-05-13 15:23:22 UTC (rev 88819)
+++ branches/Branch_5_x/main/src/bin/run-conf.bat 2009-05-13 15:25:44 UTC (rev 88820)
@@ -1,54 +0,0 @@
-rem ### -*- batch file -*- ######################################################
-rem # ##
-rem # JBoss Bootstrap Script Configuration ##
-rem # ##
-rem #############################################################################
-
-rem # $Id$
-
-rem #
-rem # This batch file is executed by run.bat to initialize the environment
-rem # variables that run.bat uses. It is recommended to use this file to
-rem # configure these variables, rather than modifying run.bat itself.
-rem #
-
-rem #
-rem # Specify the JBoss Profiler configuration file to load.
-rem #
-rem # Default is to not load a JBoss Profiler configuration file.
-rem #
-rem set "PROFILER=%JBOSS_HOME%\bin\jboss-profiler.properties"
-
-rem #
-rem # Specify the location of the Java home directory (it is recommended that
-rem # this always be set). If set, then "%JAVA_HOME%\bin\java" will be used as
-rem # the Java VM executable; otherwise, "%JAVA%" will be used (see below).
-rem #
-rem set "JAVA_HOME=C:\opt\jdk1.6.0_13"
-
-rem #
-rem # Specify the exact Java VM executable to use - only used if JAVA_HOME is
-rem # not set. Default is "java".
-rem #
-rem set "JAVA=C:\opt\jdk1.6.0_13\bin\java"
-
-rem #
-rem # Specify options to pass to the Java VM. Note, there are some additional
-rem # options that are always passed by run.bat.
-rem #
-if not "x%JAVA_OPTS%" == "x" goto javaOptsSet
-rem # JVM memory allocation pool parameters - modify as appropriate.
-set "JAVA_OPTS=-Xms128M -Xmx512M -XX:MaxPermSize=256M"
-
-rem # Reduce the RMI GCs to once per hour for Sun JVMs.
-set "JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
-
-rem # Warn when resolving remote XML DTDs or schemas.
-set "JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true"
-
-rem # Sample JPDA settings for remote socket debugging
-rem set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
-
-rem # Sample JPDA settings for shared memory debugging
-rem set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n"
-:javaOptsSet
Modified: branches/Branch_5_x/main/src/bin/run.bat
===================================================================
--- branches/Branch_5_x/main/src/bin/run.bat 2009-05-13 15:23:22 UTC (rev 88819)
+++ branches/Branch_5_x/main/src/bin/run.bat 2009-05-13 15:25:44 UTC (rev 88820)
@@ -16,13 +16,13 @@
rem Read an optional configuration file.
if "x%RUN_CONF%" == "x" (
- set "RUN_CONF=%DIRNAME%\run-conf.bat"
+ set "RUN_CONF=%DIRNAME%run.conf.bat"
)
if exist "%RUN_CONF%" (
- echo Calling %RUN_CONF% to initialize environment...
- call "%RUN_CONF%" %*
+ echo Calling %RUN_CONF%
+ call "%RUN_CONF%" %*
) else (
- echo Warning: Configuration file not found at %RUN_CONF%.
+ echo Config file not found %RUN_CONF%
)
pushd %DIRNAME%..
Copied: branches/Branch_5_x/main/src/bin/run.conf.bat (from rev 88817, branches/Branch_5_x/main/src/bin/run-conf.bat)
===================================================================
--- branches/Branch_5_x/main/src/bin/run.conf.bat (rev 0)
+++ branches/Branch_5_x/main/src/bin/run.conf.bat 2009-05-13 15:25:44 UTC (rev 88820)
@@ -0,0 +1,57 @@
+rem ### -*- batch file -*- ######################################################
+rem # ##
+rem # JBoss Bootstrap Script Configuration ##
+rem # ##
+rem #############################################################################
+
+rem # $Id$
+
+rem #
+rem # This batch file is executed by run.bat to initialize the environment
+rem # variables that run.bat uses. It is recommended to use this file to
+rem # configure these variables, rather than modifying run.bat itself.
+rem #
+
+if not "x%JAVA_OPTS%" == "x" goto JAVA_OPTS_SET
+
+rem #
+rem # Specify the JBoss Profiler configuration file to load.
+rem #
+rem # Default is to not load a JBoss Profiler configuration file.
+rem #
+rem set "PROFILER=%JBOSS_HOME%\bin\jboss-profiler.properties"
+
+rem #
+rem # Specify the location of the Java home directory (it is recommended that
+rem # this always be set). If set, then "%JAVA_HOME%\bin\java" will be used as
+rem # the Java VM executable; otherwise, "%JAVA%" will be used (see below).
+rem #
+rem set "JAVA_HOME=C:\opt\jdk1.6.0_13"
+
+rem #
+rem # Specify the exact Java VM executable to use - only used if JAVA_HOME is
+rem # not set. Default is "java".
+rem #
+rem set "JAVA=C:\opt\jdk1.6.0_13\bin\java"
+
+rem #
+rem # Specify options to pass to the Java VM. Note, there are some additional
+rem # options that are always passed by run.bat.
+rem #
+
+rem # JVM memory allocation pool parameters - modify as appropriate.
+set "JAVA_OPTS=-Xms128M -Xmx512M -XX:MaxPermSize=256M"
+
+rem # Reduce the RMI GCs to once per hour for Sun JVMs.
+set "JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
+
+rem # Warn when resolving remote XML DTDs or schemas.
+set "JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true"
+
+rem # Sample JPDA settings for remote socket debugging
+rem set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
+
+rem # Sample JPDA settings for shared memory debugging
+rem set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n"
+
+:JAVA_OPTS_SET
Property changes on: branches/Branch_5_x/main/src/bin/run.conf.bat
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:mergeinfo
+
Name: svn:eol-style
+ CRLF
More information about the jboss-cvs-commits
mailing list