OSDN Git Service

ADD Java Web Start build file.
authorTakuya Ono <takuya-o@users.sourceforge.jp>
Mon, 9 Aug 2010 06:00:41 +0000 (15:00 +0900)
committerTakuya Ono <takuya-o@users.sourceforge.jp>
Mon, 9 Aug 2010 06:00:41 +0000 (15:00 +0900)
nbproject/build-jaws-impl.xml [new file with mode: 0644]

diff --git a/nbproject/build-jaws-impl.xml b/nbproject/build-jaws-impl.xml
new file mode 100644 (file)
index 0000000..aa1c717
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*** GENERATED FROM project.xml - DO NOT EDIT  ***
+***         EDIT ../build.xml INSTEAD         ***
+
+For the purpose of easier reading the script
+is divided into following sections:
+
+  - initialization
+  - compilation
+  - jar
+  - execution
+  - debugging
+  - javadoc
+  - junit compilation
+  - junit execution
+  - junit debugging
+  - applet
+  - cleanup
+
+-->
+<project name="-impl" default="build" basedir="..">
+    <!-- 
+    ====================
+    JAVAWS SECTION
+    ====================
+    -->
+    <target name="-debug-javaws-debuggee" depends="jar" description="start javaws debuggee.">
+        <exec dir="${javaws.dir}" executable="javaws">
+            <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>
+    <target name="javaws-debug" if="netbeans.home" depends="init,jar,-debug-start-debugger,-debug-javaws-debuggee" description="Debug javaws project in IDE."/>
+    <target name="javaws-run" depends="jar" description="start javaws run">
+        <exec dir="${javaws.dir}" executable="${javaws.dir}/javaws">
+            <env key="JAVAWS_VM_ARGS" value="${run.jvmargs}"/>
+            <arg line="${javaws.includes}"/>
+        </exec>
+    </target>
+    <target name="run-display-browser" depends="-pre-deploy,war">
+        <nbbrowse url="${client.url}"/>
+    </target>
+    <target name="-pre-deploy" depends="jar" description="prepare deployment.">
+        <copy todir="${web.dir}">
+            <fileset dir=".">
+                <include name="${dist.dir}/**/*"/>
+                <include name="${conf.jnlp}"/>
+            </fileset>
+        </copy>
+    </target>
+    <target name="war">
+        <jar jarfile="${dist.war}" compress="${jar.compress}">
+            <fileset dir="${web.dir}"/>
+        </jar>
+    </target>
+</project>