<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<project name="mdc2" default="default" basedir=".">
- <description>Builds, tests, and runs the project mdc2.</description>
- <import file="nbproject/build-impl.xml"/>
- <!--
+ <description>Builds, tests, and runs the project mdc2.</description>
+ <import file="nbproject/build-impl.xml"/>
+ <import file="nbproject/build-jaws-impl.xml"/>
+ <!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
<!-- Add by tkyn -->
<target name="-signjar" if="signjar.storepass" >
<signjar jar="${dist.jar}" alias="CodeSigning" storepass="${signjar.storepass}"/>
+ <signjar jar="${dist.jar.dir}/lib/swing-layout-1.0.1.jar" alias="CodeSigning" storepass="${signjar.storepass}" />
</target>
<target name="-post-jar" depends="-signjar" >
<!-- tkyn
<fileset dir="./dist/"/>
</copy> -->
<zip destfile="./deploy/mdc.zip"
- basedir="./dist/"
+ basedir="${dist.jar.dir}"
excludes="**/README.TXT" />
</target>
-
+
+ <target name="-debug-javaws-debuggee" depends="jar" description="start javaws debuggee.">
+ <exec dir="${javaws.dir}" executable="${javaws.dir}/javaws"> <!--NetBeans Bug? javaws is not absoute path-->
+ <env key="JAVAWS_VM_ARGS" value="-Xdebug -Xnoagent -Djava.compiler=none -Xrunjdwp:transport=dt_socket,address=${jpda.address} ${run.jvmargs}"/>
+ <arg line="${javaws.debug.includes}"/>
+ </exec>
+ </target>
+
</project>