Author: reto
Date: Sun Mar 24 17:40:21 2013
New Revision: 1460419
URL: http://svn.apache.org/r1460419
Log:
CLEREZZA-752: fixed debug option and also added custom goal to resume in debug
a previously started instance, allowing to debug an instance being restarted
Modified:
clerezza/trunk/platform.launcher.tdb/nbactions.xml
clerezza/trunk/platform.launcher.tdb/pom.xml
Modified: clerezza/trunk/platform.launcher.tdb/nbactions.xml
URL:
http://svn.apache.org/viewvc/clerezza/trunk/platform.launcher.tdb/nbactions.xml?rev=1460419&r1=1460418&r2=1460419&view=diff
==============================================================================
--- clerezza/trunk/platform.launcher.tdb/nbactions.xml (original)
+++ clerezza/trunk/platform.launcher.tdb/nbactions.xml Sun Mar 24 17:40:21 2013
@@ -33,4 +33,15 @@
<profiler.action>profile</profiler.action>
</properties>
</action>
+ <action>
+ <actionName>CUSTOM-resume-debug</actionName>
+ <displayName>Resume Debug</displayName>
+ <goals>
+ <goal>antrun:run</goal>
+ </goals>
+ <properties>
+ <vm.args>-Xdebug
-Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address}</vm.args>
+ <jpda.listen>true</jpda.listen>
+ </properties>
+ </action>
</actions>
Modified: clerezza/trunk/platform.launcher.tdb/pom.xml
URL:
http://svn.apache.org/viewvc/clerezza/trunk/platform.launcher.tdb/pom.xml?rev=1460419&r1=1460418&r2=1460419&view=diff
==============================================================================
--- clerezza/trunk/platform.launcher.tdb/pom.xml (original)
+++ clerezza/trunk/platform.launcher.tdb/pom.xml Sun Mar 24 17:40:21 2013
@@ -133,9 +133,10 @@
<version>1.7</version>
<configuration>
<target>
+ <property name="vm.args" value=""/>
<java fork="true"
jar="${project.build.directory}/${project.build.finalName}.jar"
dir="${project.build.directory}">
- <jvmarg line="-Xmx1024m -XX:MaxPermSize=256M"/>
+ <jvmarg line="-Xmx1024m -XX:MaxPermSize=256M
${vm.args}"/>
</java>
</target>
</configuration>