From c559db1ad7aaf202c7f407cc51ae2f53f44d58f1 Mon Sep 17 00:00:00 2001 From: pb Date: Sun, 27 Sep 2009 21:23:27 +0000 Subject: [PATCH] =?UTF-8?q?Debug=20Funktionalit=C3=A4t=20zu=20ecdc=20hinzu?= =?UTF-8?q?gef=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Benutzung: In local.runtime.properties die Zeile #app.server.debug.on=true einkommentieren. Per Default hört der Debugger auf Port 8000 (Default in Tomcat). Ankoppeln: In Netbeans: Debuggen -> Debugger anhängen ... Im Menü ausfüllen: Debugger: Java-Debugger (JPDA) Anschluss: SocketAttach Transport: dt_socket Host: localhost Port: 8000 Dann öffnet sich Debugger Fenster. git-svn-id: https://svn.libreccm.org/ccm/trunk@268 8810af33-2d31-482b-a856-94f89814c4df --- tools-ng/ecdc/conf/runtime.properties | 8 ++++++++ tools-ng/ecdc/local.runtime.properties | 23 +++++++++++++++++++++++ tools-ng/ecdc/scriptlib/build-runtime.xml | 15 +++++++++++++++ 3 files changed, 46 insertions(+) diff --git a/tools-ng/ecdc/conf/runtime.properties b/tools-ng/ecdc/conf/runtime.properties index 49a075482..15b5c3276 100644 --- a/tools-ng/ecdc/conf/runtime.properties +++ b/tools-ng/ecdc/conf/runtime.properties @@ -41,4 +41,12 @@ catalina.home.dir=${app.server.home.dir} catalina.base.dir=${app.server.home.dir} + +## +## Debugger Usage +## + + app.server.debug.port=8000 + app.server.debug.suspend=n + app.server.debug.on=false diff --git a/tools-ng/ecdc/local.runtime.properties b/tools-ng/ecdc/local.runtime.properties index 540a07537..78639f241 100644 --- a/tools-ng/ecdc/local.runtime.properties +++ b/tools-ng/ecdc/local.runtime.properties @@ -12,3 +12,26 @@ app.server.version=6.0.18 #app.server.vendor=apache +## +## Debugger Usage +## + + ## Default values for debugger, modify as needed: + # + ## Port to attach a remote debug client (e.g. Netbeans) + #app.server.debug.port=8000 + ## Dont wait untill a debugger has attached + #app.server.debug.suspend=n + ## Dont activate debugging + #app.server.debug.on=false + + ## To activate debugger uncomment the following line + #app.server.debug.on=true + +## +## Server Directory +## + + #app.server.parent.dir=${ccm.project.dir}/runtime + #app.server.deploy.dir=${app.server.parent.dir}/${app.server.bundles.name} + diff --git a/tools-ng/ecdc/scriptlib/build-runtime.xml b/tools-ng/ecdc/scriptlib/build-runtime.xml index 9e39b3dac..b9f3166bc 100644 --- a/tools-ng/ecdc/scriptlib/build-runtime.xml +++ b/tools-ng/ecdc/scriptlib/build-runtime.xml @@ -55,6 +55,20 @@ + + + + + + + + + + +