[vlma-devel] commit: Enable assertions and the JMX agent. (Adrien Grand )
git version control
git at videolan.org
Wed Feb 4 03:47:27 CET 2009
vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Wed Feb 4 03:46:10 2009 +0100| [4f132b3deb891de2c51546dafe010782b4dca223] | committer: Adrien Grand
Enable assertions and the JMX agent.
> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=4f132b3deb891de2c51546dafe010782b4dca223
---
vlma-distribution/src/bin/vlmad | 2 ++
vlma-distribution/src/bin/vlmad.bat | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/vlma-distribution/src/bin/vlmad b/vlma-distribution/src/bin/vlmad
index 698e14c..3657f05 100644
--- a/vlma-distribution/src/bin/vlmad
+++ b/vlma-distribution/src/bin/vlmad
@@ -38,6 +38,8 @@ done
# Set VLMA_OPTS
VLMA_OPTS="$VLMA_OPTS\
+ -ea\
+ -Dcom.sun.management.jmxremote\
-Dvlma.home=$VLMA_HOME\
-Dvlma.conf=$VLMA_CONF\
-Dvlma.data=$VLMA_DATA\
diff --git a/vlma-distribution/src/bin/vlmad.bat b/vlma-distribution/src/bin/vlmad.bat
index ba3bfb6..4ca6805 100644
--- a/vlma-distribution/src/bin/vlmad.bat
+++ b/vlma-distribution/src/bin/vlmad.bat
@@ -15,7 +15,7 @@ call vlma-env.cmd
call bin\build_cp.cmd "%VLMA_LIBS%\daemon"
-set VLMA_OPTS=-Dvlma.home="%VLMA_HOME%" -Dvlma.conf="%VLMA_CONF%" -Dvlma.data="%VLMA_DATA%" -Dvlma.logs="%VLMA_LOGS%" -Dvlma.work="%VLMA_WORK%" -Dlog4j.configuration="file:%VLMA_CONF%\log4j.properties" -classpath %VLMA_CLASSPATH%
+set VLMA_OPTS=-ea -Dcom.sun.management.jmxremote -Dvlma.home="%VLMA_HOME%" -Dvlma.conf="%VLMA_CONF%" -Dvlma.data="%VLMA_DATA%" -Dvlma.logs="%VLMA_LOGS%" -Dvlma.work="%VLMA_WORK%" -Dlog4j.configuration="file:%VLMA_CONF%\log4j.properties" -classpath %VLMA_CLASSPATH%
set OPTS=%VLMA_OPTS% %JAVA_OPTS% org.videolan.vlma.daemon.VLMad %command%
More information about the vlma-devel
mailing list