Author: reto
Date: Tue Feb 26 05:05:42 2013
New Revision: 1450028
URL: http://svn.apache.org/r1450028
Log:
STANBOL-962: added antrun configuration to pom and nbactions.xml file
Added:
stanbol/trunk/launchers/full/nbactions.xml
Modified:
stanbol/trunk/launchers/full/pom.xml
Added: stanbol/trunk/launchers/full/nbactions.xml
URL:
http://svn.apache.org/viewvc/stanbol/trunk/launchers/full/nbactions.xml?rev=1450028&view=auto
==============================================================================
--- stanbol/trunk/launchers/full/nbactions.xml (added)
+++ stanbol/trunk/launchers/full/nbactions.xml Tue Feb 26 05:05:42 2013
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<actions>
+ <action>
+ <actionName>run</actionName>
+ <goals>
+ <goal>package</goal>
+ <goal>antrun:run</goal>
+ </goals>
+ </action>
+ <action>
+ <actionName>debug</actionName>
+ <goals>
+ <goal>package</goal>
+ <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>
+ <action>
+ <actionName>profile</actionName>
+ <goals>
+ <goal>package</goal>
+ <goal>antrun:run</goal>
+ </goals>
+ <properties>
+ <vm.args>${profiler.args}</vm.args>
+ <!-- XXX <java jvm="${profiler.java}" ...> -->
+ <profiler.action>profile</profiler.action>
+ </properties>
+ </action>
+</actions>
Modified: stanbol/trunk/launchers/full/pom.xml
URL:
http://svn.apache.org/viewvc/stanbol/trunk/launchers/full/pom.xml?rev=1450028&r1=1450027&r2=1450028&view=diff
==============================================================================
--- stanbol/trunk/launchers/full/pom.xml (original)
+++ stanbol/trunk/launchers/full/pom.xml Tue Feb 26 05:05:42 2013
@@ -131,6 +131,18 @@
<excludes></excludes>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ <configuration>
+ <target>
+ <java fork="true"
jar="${project.build.directory}/${project.build.finalName}.jar">
+ <jvmarg line="-Xmx1024m -XX:MaxPermSize=256M"/>
+ </java>
+ </target>
+ </configuration>
+ </plugin>
</plugins>
</build>