Update of /cvsroot/jrman/drafts
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv27862
Modified Files:
build.xml
Log Message:
Added Ant task for NetBeans Profiler.
Index: build.xml
===================================================================
RCS file: /cvsroot/jrman/drafts/build.xml,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** build.xml 30 Jan 2007 05:09:32 -0000 1.19
--- build.xml 1 Feb 2007 18:52:00 -0000 1.20
***************
*** 54,57 ****
--- 54,83 ----
</target>
+ <target name="profile" depends="compile" description="Profile Project">
+ <fail unless="netbeans.home">This target can only be run inside the NetBeans IDE.</fail>
+ <nbprofiledirect>
+ <classpath>
+ <path path="build"/>
+ <path path="src"/>
+ <fileset dir="lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ </classpath>
+ </nbprofiledirect>
+ <java dir="sampleData" classname="org.jrman.main.JrManGUI" fork="true">
+ <classpath>
+ <path path="build"/>
+ <path path="src"/>
+ <fileset dir="lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ </classpath>
+ <jvmarg value="${profiler.info.jvmargs.agent}"/>
+ <jvmarg value="-server"/>
+ <jvmarg value="-Xms512m"/>
+ <jvmarg value="-Xmx512m"/>
+ </java>
+ </target>
+
<target name="dist" depends="compile"
description="generate the distribution" >
|