takuy****@users*****
takuy****@users*****
2008年 8月 15日 (金) 02:50:09 JST
Index: BetaProject/build.xml diff -u BetaProject/build.xml:1.2 BetaProject/build.xml:1.3 --- BetaProject/build.xml:1.2 Wed Aug 29 00:42:26 2007 +++ BetaProject/build.xml Fri Aug 15 02:50:09 2008 @@ -3,9 +3,10 @@ <!-- 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 @@ -70,6 +71,7 @@ <!-- 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 @@ -77,8 +79,15 @@ <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>