You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by re...@apache.org on 2013/04/10 12:59:23 UTC

svn commit: r1466423 - in /stanbol/trunk/launchers/full: nbactions.xml pom.xml

Author: reto
Date: Wed Apr 10 10:59:23 2013
New Revision: 1466423

URL: http://svn.apache.org/r1466423
Log:
STANBOL-1020: passing debug arguments to java instance. Also changed run-built to offline and added custom action to resume debug of an existing instance.

Modified:
    stanbol/trunk/launchers/full/nbactions.xml
    stanbol/trunk/launchers/full/pom.xml

Modified: stanbol/trunk/launchers/full/nbactions.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/launchers/full/nbactions.xml?rev=1466423&r1=1466422&r2=1466423&view=diff
==============================================================================
--- stanbol/trunk/launchers/full/nbactions.xml (original)
+++ stanbol/trunk/launchers/full/nbactions.xml Wed Apr 10 10:59:23 2013
@@ -6,6 +6,7 @@
             <goal>clean</goal>
             <goal>package</goal>
             <goal>antrun:run</goal>
+            <goal>-o</goal>
         </goals>
     </action>
     <action>
@@ -14,6 +15,7 @@
             <goal>clean</goal>
             <goal>package</goal>
             <goal>antrun:run</goal>
+            <goal>-o</goal>
         </goals>
         <properties>
             <vm.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address}</vm.args>
@@ -26,6 +28,7 @@
             <goal>clean</goal>
             <goal>package</goal>
             <goal>antrun:run</goal>
+            <goal>-o</goal>
         </goals>
         <properties>
             <vm.args>${profiler.args}</vm.args>
@@ -33,4 +36,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: stanbol/trunk/launchers/full/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/launchers/full/pom.xml?rev=1466423&r1=1466422&r2=1466423&view=diff
==============================================================================
--- stanbol/trunk/launchers/full/pom.xml (original)
+++ stanbol/trunk/launchers/full/pom.xml Wed Apr 10 10:59:23 2013
@@ -140,9 +140,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>