notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2086 - development/main/metro/main/etc/bin
- From: niclas AT hedhman.org
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2086 - development/main/metro/main/etc/bin
- Date: Sat, 19 Mar 2005 15:45:37 -0500
Author: niclas AT hedhman.org
Date: Sat Mar 19 15:45:37 2005
New Revision: 2086
Added:
development/main/metro/main/etc/bin/metro-dbg (contents, props changed)
development/main/metro/main/etc/bin/metro-dbg.bat (contents, props
changed)
Log:
Debug enabling scripts.
Added: development/main/metro/main/etc/bin/metro-dbg
==============================================================================
--- (empty file)
+++ development/main/metro/main/etc/bin/metro-dbg Sat Mar 19 15:45:37
2005
@@ -0,0 +1,25 @@
+#!/bin/sh
+#
+# Copyright 2004 Niclas Hedhman
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+#
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+if [ -z "$METRO_PLUGIN_URI" ] ; then
+ METRO_PLUGIN_URI=@METRO-PLUGIN-URI@
+fi
+TRANSIT_JVM_OPTS="-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y"
+export TRANSIT_JVM_OPTS
+BIN_DIR=`dirname "$0"`
+$BIN_DIR/transit -load $METRO_PLUGIN_URI "$@"
Added: development/main/metro/main/etc/bin/metro-dbg.bat
==============================================================================
--- (empty file)
+++ development/main/metro/main/etc/bin/metro-dbg.bat Sat Mar 19 15:45:37
2005
@@ -0,0 +1,5 @@
+@echo off
+set TRANSIT_JVM_OPTS="-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y"
+set CMD_LINE_ARGS=%*
+if "%METRO_PLUGIN_URI%" == "" set METRO_PLUGIN_URI=@METRO-PLUGIN-URI@
+transit -load %METRO_PLUGIN_URI% %CMD_LINE_ARGS%
- svn commit: r2086 - development/main/metro/main/etc/bin, niclas, 03/19/2005
Archive powered by MHonArc 2.6.24.