• R/O
  • HTTP
  • SSH
  • HTTPS

BetaProject: 提交

Mail送信先確認プログラムβプロジェクト


Commit MetaInfo

修訂7eed711e3e68086c067ec2e4c4b647d32d3e849f (tree)
時間2008-08-18 02:19:56
作者Takuya Ono <takuya-o@user...>
CommiterTakuya Ono

Log Message

ADD: Java Web Start
MOD: Change to development JDK for Java SE 6.

Change Summary

差異

--- a/nbproject/build-impl.xml
+++ b/nbproject/build-impl.xml
@@ -18,524 +18,645 @@ is divided into following sections:
1818 - applet
1919 - cleanup
2020
21--->
22-<project name="mdc2-impl" default="default" basedir=".." xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:j2seproject2="http://www.netbeans.org/ns/j2se-project/2" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:jaxws="http://www.netbeans.org/ns/jax-ws/1">
23- <target name="default" depends="test,jar,javadoc" description="Build and test whole project."/>
24- <!--
25- ======================
26- INITIALIZATION SECTION
27- ======================
28- -->
29- <target name="-pre-init">
30- <!-- Empty placeholder for easier customization. -->
31- <!-- You can override this target in the ../build.xml file. -->
32- </target>
33- <target name="-init-private" depends="-pre-init">
34- <property file="nbproject/private/private.properties"/>
35- </target>
36- <target name="-init-user" depends="-pre-init,-init-private">
37- <property file="${user.properties.file}"/>
38- <!-- The two properties below are usually overridden -->
39- <!-- by the active platform. Just a fallback. -->
40- <property name="default.javac.source" value="1.4"/>
41- <property name="default.javac.target" value="1.4"/>
42- </target>
43- <target name="-init-project" depends="-pre-init,-init-private,-init-user">
44- <property file="nbproject/project.properties"/>
45- </target>
46- <target name="-do-init" depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property">
47- <available file="${manifest.file}" property="manifest.available"/>
48- <condition property="manifest.available+main.class">
49- <and>
50- <isset property="manifest.available"/>
51- <isset property="main.class"/>
52- <not>
53- <equals arg1="${main.class}" arg2="" trim="true"/>
54- </not>
55- </and>
56- </condition>
57- <condition property="manifest.available+main.class+mkdist.available">
58- <and>
59- <istrue value="${manifest.available+main.class}"/>
60- <isset property="libs.CopyLibs.classpath"/>
61- </and>
62- </condition>
63- <condition property="have.tests">
64- <or>
65- <available file="${test.test.dir}"/>
66- </or>
67- </condition>
68- <condition property="have.sources">
69- <or>
70- <available file="${src.src.dir}"/>
71- </or>
72- </condition>
73- <condition property="netbeans.home+have.tests">
74- <and>
75- <isset property="netbeans.home"/>
76- <isset property="have.tests"/>
77- </and>
78- </condition>
79- <condition property="no.javadoc.preview">
80- <isfalse value="${javadoc.preview}"/>
81- </condition>
82- <property name="run.jvmargs" value=""/>
83- <property name="javac.compilerargs" value=""/>
84- <property name="work.dir" value="${basedir}"/>
85- <condition property="no.deps">
86- <and>
87- <istrue value="${no.dependencies}"/>
88- </and>
89- </condition>
90- <property name="javac.debug" value="true"/>
91- <property name="javadoc.preview" value="true"/>
92- </target>
93- <target name="-post-init">
94- <!-- Empty placeholder for easier customization. -->
95- <!-- You can override this target in the ../build.xml file. -->
96- </target>
97- <target name="-init-check" depends="-pre-init,-init-private,-init-user,-init-project,-do-init">
98- <fail unless="src.src.dir">Must set src.src.dir</fail>
99- <fail unless="test.test.dir">Must set test.test.dir</fail>
100- <fail unless="build.dir">Must set build.dir</fail>
101- <fail unless="dist.dir">Must set dist.dir</fail>
102- <fail unless="build.classes.dir">Must set build.classes.dir</fail>
103- <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
104- <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
105- <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
106- <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
107- <fail unless="dist.jar">Must set dist.jar</fail>
108- </target>
109- <target name="-init-macrodef-property">
110- <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
111- <attribute name="name"/>
112- <attribute name="value"/>
113- <sequential>
114- <property name="@{name}" value="${@{value}}"/>
115- </sequential>
116- </macrodef>
117- </target>
118- <target name="-init-macrodef-javac">
119- <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
120- <attribute name="srcdir" default="${src.src.dir}"/>
121- <attribute name="destdir" default="${build.classes.dir}"/>
122- <attribute name="classpath" default="${javac.classpath}"/>
123- <attribute name="debug" default="${javac.debug}"/>
124- <element name="customize" optional="true"/>
125- <sequential>
126- <javac srcdir="@{srcdir}" destdir="@{destdir}" debug="@{debug}" deprecation="${javac.deprecation}" source="${javac.source}" target="${javac.target}" includeantruntime="false">
127- <classpath>
128- <path path="@{classpath}"/>
129- </classpath>
130- <compilerarg line="${javac.compilerargs}"/>
131- <customize/>
132- </javac>
133- </sequential>
134- </macrodef>
135- </target>
136- <target name="-init-macrodef-junit">
137- <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
138- <attribute name="includes" default="**/*Test.java"/>
139- <sequential>
140- <junit showoutput="true" fork="true" dir="${basedir}" failureproperty="tests.failed" errorproperty="tests.failed">
141- <batchtest todir="${build.test.results.dir}">
142- <fileset dir="${test.test.dir}" includes="@{includes}"/>
143- </batchtest>
144- <classpath>
145- <path path="${run.test.classpath}"/>
146- </classpath>
147- <syspropertyset>
148- <propertyref prefix="test-sys-prop."/>
149- <mapper type="glob" from="test-sys-prop.*" to="*"/>
150- </syspropertyset>
151- <formatter type="brief" usefile="false"/>
152- <formatter type="xml"/>
153- <jvmarg line="${run.jvmargs}"/>
154- </junit>
155- </sequential>
156- </macrodef>
157- </target>
158- <target name="-init-macrodef-nbjpda">
159- <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
160- <attribute name="name" default="${main.class}"/>
161- <attribute name="classpath" default="${debug.classpath}"/>
162- <attribute name="stopclassname" default=""/>
163- <sequential>
164- <nbjpdastart transport="dt_socket" addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}">
165- <classpath>
166- <path path="@{classpath}"/>
167- </classpath>
168- </nbjpdastart>
169- </sequential>
170- </macrodef>
171- <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
172- <attribute name="dir" default="${build.classes.dir}"/>
173- <sequential>
174- <nbjpdareload>
175- <fileset includes="${fix.includes}*.class" dir="@{dir}"/>
176- </nbjpdareload>
177- </sequential>
178- </macrodef>
179- </target>
180- <target name="-init-macrodef-debug">
181- <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
182- <attribute name="classname" default="${main.class}"/>
183- <attribute name="classpath" default="${debug.classpath}"/>
184- <element name="customize" optional="true"/>
185- <sequential>
186- <java fork="true" classname="@{classname}" dir="${work.dir}">
187- <jvmarg value="-Xdebug"/>
188- <jvmarg value="-Xnoagent"/>
189- <jvmarg value="-Djava.compiler=none"/>
190- <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
191- <jvmarg line="${run.jvmargs}"/>
192- <classpath>
193- <path path="@{classpath}"/>
194- </classpath>
195- <syspropertyset>
196- <propertyref prefix="run-sys-prop."/>
197- <mapper type="glob" from="run-sys-prop.*" to="*"/>
198- </syspropertyset>
199- <customize/>
200- </java>
201- </sequential>
202- </macrodef>
203- </target>
204- <target name="-init-macrodef-java">
205- <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
206- <attribute name="classname" default="${main.class}"/>
207- <element name="customize" optional="true"/>
208- <sequential>
209- <java fork="true" classname="@{classname}" dir="${work.dir}">
210- <jvmarg line="${run.jvmargs}"/>
211- <classpath>
21+ -->
22+<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject2="http://www.netbeans.org/ns/j2se-project/2" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="mdc2-impl">
23+ <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
24+ <!--
25+ ======================
26+ INITIALIZATION SECTION
27+ ======================
28+ -->
29+ <target name="-pre-init">
30+ <!-- Empty placeholder for easier customization. -->
31+ <!-- You can override this target in the ../build.xml file. -->
32+ </target>
33+ <target depends="-pre-init" name="-init-private">
34+ <property file="nbproject/private/config.properties"/>
35+ <property file="nbproject/private/configs/${config}.properties"/>
36+ <property file="nbproject/private/private.properties"/>
37+ </target>
38+ <target depends="-pre-init,-init-private" name="-init-user">
39+ <property file="${user.properties.file}"/>
40+ <!-- The two properties below are usually overridden -->
41+ <!-- by the active platform. Just a fallback. -->
42+ <property name="default.javac.source" value="1.4"/>
43+ <property name="default.javac.target" value="1.4"/>
44+ </target>
45+ <target depends="-pre-init,-init-private,-init-user" name="-init-project">
46+ <property file="nbproject/configs/${config}.properties"/>
47+ <property file="nbproject/project.properties"/>
48+ </target>
49+ <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
50+ <j2seproject1:property name="platform.home" value="platforms.${platform.active}.home"/>
51+ <j2seproject1:property name="platform.bootcp" value="platforms.${platform.active}.bootclasspath"/>
52+ <j2seproject1:property name="platform.compiler" value="platforms.${platform.active}.compile"/>
53+ <j2seproject1:property name="platform.javac.tmp" value="platforms.${platform.active}.javac"/>
54+ <condition property="platform.javac" value="${platform.home}/bin/javac">
55+ <equals arg1="${platform.javac.tmp}" arg2="$${platforms.${platform.active}.javac}"/>
56+ </condition>
57+ <property name="platform.javac" value="${platform.javac.tmp}"/>
58+ <j2seproject1:property name="platform.java.tmp" value="platforms.${platform.active}.java"/>
59+ <condition property="platform.java" value="${platform.home}/bin/java">
60+ <equals arg1="${platform.java.tmp}" arg2="$${platforms.${platform.active}.java}"/>
61+ </condition>
62+ <property name="platform.java" value="${platform.java.tmp}"/>
63+ <j2seproject1:property name="platform.javadoc.tmp" value="platforms.${platform.active}.javadoc"/>
64+ <condition property="platform.javadoc" value="${platform.home}/bin/javadoc">
65+ <equals arg1="${platform.javadoc.tmp}" arg2="$${platforms.${platform.active}.javadoc}"/>
66+ </condition>
67+ <property name="platform.javadoc" value="${platform.javadoc.tmp}"/>
68+ <condition property="platform.invalid" value="true">
69+ <or>
70+ <contains string="${platform.javac}" substring="$${platforms."/>
71+ <contains string="${platform.java}" substring="$${platforms."/>
72+ <contains string="${platform.javadoc}" substring="$${platforms."/>
73+ </or>
74+ </condition>
75+ <fail unless="platform.home">Must set platform.home</fail>
76+ <fail unless="platform.bootcp">Must set platform.bootcp</fail>
77+ <fail unless="platform.java">Must set platform.java</fail>
78+ <fail unless="platform.javac">Must set platform.javac</fail>
79+ <fail if="platform.invalid">Platform is not correctly set up</fail>
80+ <available file="${manifest.file}" property="manifest.available"/>
81+ <condition property="manifest.available+main.class">
82+ <and>
83+ <isset property="manifest.available"/>
84+ <isset property="main.class"/>
85+ <not>
86+ <equals arg1="${main.class}" arg2="" trim="true"/>
87+ </not>
88+ </and>
89+ </condition>
90+ <condition property="manifest.available+main.class+mkdist.available">
91+ <and>
92+ <istrue value="${manifest.available+main.class}"/>
93+ <isset property="libs.CopyLibs.classpath"/>
94+ </and>
95+ </condition>
96+ <condition property="have.tests">
97+ <or>
98+ <available file="${test.test.dir}"/>
99+ </or>
100+ </condition>
101+ <condition property="have.sources">
102+ <or>
103+ <available file="${src.src.dir}"/>
104+ </or>
105+ </condition>
106+ <condition property="netbeans.home+have.tests">
107+ <and>
108+ <isset property="netbeans.home"/>
109+ <isset property="have.tests"/>
110+ </and>
111+ </condition>
112+ <condition property="no.javadoc.preview">
113+ <and>
114+ <isset property="javadoc.preview"/>
115+ <isfalse value="${javadoc.preview}"/>
116+ </and>
117+ </condition>
118+ <property name="run.jvmargs" value=""/>
119+ <property name="javac.compilerargs" value=""/>
120+ <property name="work.dir" value="${basedir}"/>
121+ <condition property="no.deps">
122+ <and>
123+ <istrue value="${no.dependencies}"/>
124+ </and>
125+ </condition>
126+ <property name="javac.debug" value="true"/>
127+ <property name="javadoc.preview" value="true"/>
128+ <property name="application.args" value=""/>
129+ <property name="source.encoding" value="${file.encoding}"/>
130+ <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
131+ <and>
132+ <isset property="javadoc.encoding"/>
133+ <not>
134+ <equals arg1="${javadoc.encoding}" arg2=""/>
135+ </not>
136+ </and>
137+ </condition>
138+ <property name="javadoc.encoding.used" value="${source.encoding}"/>
139+ <property name="includes" value="**"/>
140+ <property name="excludes" value=""/>
141+ <property name="do.depend" value="false"/>
142+ <condition property="do.depend.true">
143+ <istrue value="${do.depend}"/>
144+ </condition>
145+ <condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'">
146+ <and>
147+ <isset property="jaxws.endorsed.dir"/>
148+ <available file="nbproject/jaxws-build.xml"/>
149+ </and>
150+ </condition>
151+ </target>
152+ <target name="-post-init">
153+ <!-- Empty placeholder for easier customization. -->
154+ <!-- You can override this target in the ../build.xml file. -->
155+ </target>
156+ <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
157+ <fail unless="src.src.dir">Must set src.src.dir</fail>
158+ <fail unless="test.test.dir">Must set test.test.dir</fail>
159+ <fail unless="build.dir">Must set build.dir</fail>
160+ <fail unless="dist.dir">Must set dist.dir</fail>
161+ <fail unless="build.classes.dir">Must set build.classes.dir</fail>
162+ <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
163+ <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
164+ <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
165+ <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
166+ <fail unless="dist.jar">Must set dist.jar</fail>
167+ </target>
168+ <target name="-init-macrodef-property">
169+ <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
170+ <attribute name="name"/>
171+ <attribute name="value"/>
172+ <sequential>
173+ <property name="@{name}" value="${@{value}}"/>
174+ </sequential>
175+ </macrodef>
176+ </target>
177+ <target name="-init-macrodef-javac">
178+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
179+ <attribute default="${src.src.dir}" name="srcdir"/>
180+ <attribute default="${build.classes.dir}" name="destdir"/>
181+ <attribute default="${javac.classpath}" name="classpath"/>
182+ <attribute default="${includes}" name="includes"/>
183+ <attribute default="${excludes}" name="excludes"/>
184+ <attribute default="${javac.debug}" name="debug"/>
185+ <attribute default="" name="sourcepath"/>
186+ <element name="customize" optional="true"/>
187+ <sequential>
188+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" executable="${platform.javac}" fork="yes" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
189+ <classpath>
190+ <path path="@{classpath}"/>
191+ </classpath>
192+ <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/>
193+ <customize/>
194+ </javac>
195+ </sequential>
196+ </macrodef>
197+ <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
198+ <attribute default="${src.src.dir}" name="srcdir"/>
199+ <attribute default="${build.classes.dir}" name="destdir"/>
200+ <attribute default="${javac.classpath}" name="classpath"/>
201+ <sequential>
202+ <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
203+ <classpath>
204+ <path path="@{classpath}"/>
205+ </classpath>
206+ </depend>
207+ </sequential>
208+ </macrodef>
209+ <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
210+ <attribute default="${build.classes.dir}" name="destdir"/>
211+ <sequential>
212+ <fail unless="javac.includes">Must set javac.includes</fail>
213+ <pathconvert pathsep="," property="javac.includes.binary">
214+ <path>
215+ <filelist dir="@{destdir}" files="${javac.includes}"/>
216+ </path>
217+ <globmapper from="*.java" to="*.class"/>
218+ </pathconvert>
219+ <delete>
220+ <files includes="${javac.includes.binary}"/>
221+ </delete>
222+ </sequential>
223+ </macrodef>
224+ </target>
225+ <target name="-init-macrodef-junit">
226+ <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
227+ <attribute default="${includes}" name="includes"/>
228+ <attribute default="${excludes}" name="excludes"/>
229+ <attribute default="**" name="testincludes"/>
230+ <sequential>
231+ <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${platform.java}" showoutput="true">
232+ <batchtest todir="${build.test.results.dir}">
233+ <fileset dir="${test.test.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
234+ <filename name="@{testincludes}"/>
235+ </fileset>
236+ </batchtest>
237+ <classpath>
238+ <path path="${run.test.classpath}"/>
239+ </classpath>
240+ <syspropertyset>
241+ <propertyref prefix="test-sys-prop."/>
242+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
243+ </syspropertyset>
244+ <formatter type="brief" usefile="false"/>
245+ <formatter type="xml"/>
246+ <jvmarg line="${run.jvmargs}"/>
247+ </junit>
248+ </sequential>
249+ </macrodef>
250+ </target>
251+ <target name="-init-macrodef-nbjpda">
252+ <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
253+ <attribute default="${main.class}" name="name"/>
254+ <attribute default="${debug.classpath}" name="classpath"/>
255+ <attribute default="" name="stopclassname"/>
256+ <sequential>
257+ <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="dt_socket">
258+ <classpath>
259+ <path path="@{classpath}"/>
260+ </classpath>
261+ <bootclasspath>
262+ <path path="${platform.bootcp}"/>
263+ </bootclasspath>
264+ </nbjpdastart>
265+ </sequential>
266+ </macrodef>
267+ <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
268+ <attribute default="${build.classes.dir}" name="dir"/>
269+ <sequential>
270+ <nbjpdareload>
271+ <fileset dir="@{dir}" includes="${fix.includes}*.class"/>
272+ </nbjpdareload>
273+ </sequential>
274+ </macrodef>
275+ </target>
276+ <target name="-init-debug-args">
277+ <exec executable="${platform.java}" outputproperty="version-output">
278+ <arg value="-version"/>
279+ </exec>
280+ <condition property="have-jdk-older-than-1.4">
281+ <or>
282+ <contains string="${version-output}" substring="java version &quot;1.0"/>
283+ <contains string="${version-output}" substring="java version &quot;1.1"/>
284+ <contains string="${version-output}" substring="java version &quot;1.2"/>
285+ <contains string="${version-output}" substring="java version &quot;1.3"/>
286+ </or>
287+ </condition>
288+ <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
289+ <istrue value="${have-jdk-older-than-1.4}"/>
290+ </condition>
291+ </target>
292+ <target depends="-init-debug-args" name="-init-macrodef-debug">
293+ <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
294+ <attribute default="${main.class}" name="classname"/>
295+ <attribute default="${debug.classpath}" name="classpath"/>
296+ <element name="customize" optional="true"/>
297+ <sequential>
298+ <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}">
299+ <jvmarg line="${debug-args-line}"/>
300+ <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
301+ <jvmarg line="${run.jvmargs}"/>
302+ <classpath>
303+ <path path="@{classpath}"/>
304+ </classpath>
305+ <syspropertyset>
306+ <propertyref prefix="run-sys-prop."/>
307+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
308+ </syspropertyset>
309+ <customize/>
310+ </java>
311+ </sequential>
312+ </macrodef>
313+ </target>
314+ <target name="-init-macrodef-java">
315+ <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
316+ <attribute default="${main.class}" name="classname"/>
317+ <element name="customize" optional="true"/>
318+ <sequential>
319+ <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}">
320+ <jvmarg line="${run.jvmargs}"/>
321+ <classpath>
322+ <path path="${run.classpath}"/>
323+ </classpath>
324+ <syspropertyset>
325+ <propertyref prefix="run-sys-prop."/>
326+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
327+ </syspropertyset>
328+ <customize/>
329+ </java>
330+ </sequential>
331+ </macrodef>
332+ </target>
333+ <target name="-init-presetdef-jar">
334+ <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
335+ <jar compress="${jar.compress}" jarfile="${dist.jar}">
336+ <j2seproject1:fileset dir="${build.classes.dir}"/>
337+ </jar>
338+ </presetdef>
339+ </target>
340+ <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar" name="init"/>
341+ <!--
342+ ===================
343+ COMPILATION SECTION
344+ ===================
345+ -->
346+ <target depends="init" name="deps-jar" unless="no.deps"/>
347+ <target depends="init,deps-jar" name="-pre-pre-compile">
348+ <mkdir dir="${build.classes.dir}"/>
349+ </target>
350+ <target name="-pre-compile">
351+ <!-- Empty placeholder for easier customization. -->
352+ <!-- You can override this target in the ../build.xml file. -->
353+ </target>
354+ <target if="do.depend.true" name="-compile-depend">
355+ <j2seproject3:depend/>
356+ </target>
357+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">
358+ <j2seproject3:javac/>
359+ <copy todir="${build.classes.dir}">
360+ <fileset dir="${src.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
361+ </copy>
362+ </target>
363+ <target name="-post-compile">
364+ <!-- Empty placeholder for easier customization. -->
365+ <!-- You can override this target in the ../build.xml file. -->
366+ </target>
367+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
368+ <target name="-pre-compile-single">
369+ <!-- Empty placeholder for easier customization. -->
370+ <!-- You can override this target in the ../build.xml file. -->
371+ </target>
372+ <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
373+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
374+ <j2seproject3:force-recompile/>
375+ <j2seproject3:javac excludes="" includes="${javac.includes}" sourcepath="${src.src.dir}"/>
376+ </target>
377+ <target name="-post-compile-single">
378+ <!-- Empty placeholder for easier customization. -->
379+ <!-- You can override this target in the ../build.xml file. -->
380+ </target>
381+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
382+ <!--
383+ ====================
384+ JAR BUILDING SECTION
385+ ====================
386+ -->
387+ <target depends="init" name="-pre-pre-jar">
388+ <dirname file="${dist.jar}" property="dist.jar.dir"/>
389+ <mkdir dir="${dist.jar.dir}"/>
390+ </target>
391+ <target name="-pre-jar">
392+ <!-- Empty placeholder for easier customization. -->
393+ <!-- You can override this target in the ../build.xml file. -->
394+ </target>
395+ <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available">
396+ <j2seproject1:jar/>
397+ </target>
398+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
399+ <j2seproject1:jar manifest="${manifest.file}"/>
400+ </target>
401+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
402+ <j2seproject1:jar manifest="${manifest.file}">
403+ <j2seproject1:manifest>
404+ <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
405+ </j2seproject1:manifest>
406+ </j2seproject1:jar>
407+ <echo>To run this application from the command line without Ant, try:</echo>
408+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
409+ <property location="${dist.jar}" name="dist.jar.resolved"/>
410+ <pathconvert property="run.classpath.with.dist.jar">
212411 <path path="${run.classpath}"/>
213- </classpath>
214- <syspropertyset>
215- <propertyref prefix="run-sys-prop."/>
216- <mapper type="glob" from="run-sys-prop.*" to="*"/>
217- </syspropertyset>
218- <customize/>
219- </java>
220- </sequential>
221- </macrodef>
222- </target>
223- <target name="-init-presetdef-jar">
224- <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
225- <jar jarfile="${dist.jar}" compress="${jar.compress}">
226- <j2seproject1:fileset dir="${build.classes.dir}"/>
227- </jar>
228- </presetdef>
229- </target>
230- <target name="init" depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar"/>
231- <!--
232- ===================
233- COMPILATION SECTION
234- ===================
235- -->
236- <target name="deps-jar" depends="init" unless="no.deps"/>
237- <target name="-pre-pre-compile" depends="init,deps-jar">
238- <mkdir dir="${build.classes.dir}"/>
239- </target>
240- <target name="-pre-compile">
241- <!-- Empty placeholder for easier customization. -->
242- <!-- You can override this target in the ../build.xml file. -->
243- </target>
244- <target name="-do-compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile" if="have.sources">
245- <j2seproject3:javac/>
246- <copy todir="${build.classes.dir}">
247- <fileset dir="${src.src.dir}" excludes="${build.classes.excludes}"/>
248- </copy>
249- </target>
250- <target name="-post-compile">
251- <!-- Empty placeholder for easier customization. -->
252- <!-- You can override this target in the ../build.xml file. -->
253- </target>
254- <target name="compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project."/>
255- <target name="-pre-compile-single">
256- <!-- Empty placeholder for easier customization. -->
257- <!-- You can override this target in the ../build.xml file. -->
258- </target>
259- <target name="-do-compile-single" depends="init,deps-jar,-pre-pre-compile">
260- <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
261- <j2seproject3:javac>
262- <customize>
263- <patternset includes="${javac.includes}"/>
264- </customize>
265- </j2seproject3:javac>
266- </target>
267- <target name="-post-compile-single">
268- <!-- Empty placeholder for easier customization. -->
269- <!-- You can override this target in the ../build.xml file. -->
270- </target>
271- <target name="compile-single" depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single"/>
272- <!--
273- ====================
274- JAR BUILDING SECTION
275- ====================
276- -->
277- <target name="-pre-pre-jar" depends="init">
278- <dirname property="dist.jar.dir" file="${dist.jar}"/>
279- <mkdir dir="${dist.jar.dir}"/>
280- </target>
281- <target name="-pre-jar">
282- <!-- Empty placeholder for easier customization. -->
283- <!-- You can override this target in the ../build.xml file. -->
284- </target>
285- <target name="-do-jar-without-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" unless="manifest.available">
286- <j2seproject1:jar/>
287- </target>
288- <target name="-do-jar-with-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" unless="manifest.available+main.class">
289- <j2seproject1:jar manifest="${manifest.file}"/>
290- </target>
291- <target name="-do-jar-with-mainclass" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class" unless="manifest.available+main.class+mkdist.available">
292- <j2seproject1:jar manifest="${manifest.file}">
293- <j2seproject1:manifest>
294- <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
295- </j2seproject1:manifest>
296- </j2seproject1:jar>
297- <echo>To run this application from the command line without Ant, try:</echo>
298- <property name="build.classes.dir.resolved" location="${build.classes.dir}"/>
299- <property name="dist.jar.resolved" location="${dist.jar}"/>
300- <pathconvert property="run.classpath.with.dist.jar">
301- <path path="${run.classpath}"/>
302- <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
303- </pathconvert>
304- <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
305- </target>
306- <target name="-do-jar-with-libraries" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available">
307- <property name="build.classes.dir.resolved" location="${build.classes.dir}"/>
308- <pathconvert property="run.classpath.without.build.classes.dir">
309- <path path="${run.classpath}"/>
310- <map from="${build.classes.dir.resolved}" to=""/>
311- </pathconvert>
312- <pathconvert property="jar.classpath" pathsep=" ">
313- <path path="${run.classpath.without.build.classes.dir}"/>
314- <chainedmapper>
315- <flattenmapper/>
316- <globmapper from="*" to="lib/*"/>
317- </chainedmapper>
318- </pathconvert>
319- <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" name="copylibs" classpath="${libs.CopyLibs.classpath}"/>
320- <copylibs manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}" jarfile="${dist.jar}" compress="${jar.compress}">
321- <fileset dir="${build.classes.dir}"/>
322- <manifest>
323- <attribute name="Main-Class" value="${main.class}"/>
324- <attribute name="Class-Path" value="${jar.classpath}"/>
325- </manifest>
326- </copylibs>
327- <echo>To run this application from the command line without Ant, try:</echo>
328- <property name="dist.jar.resolved" location="${dist.jar}"/>
329- <echo>java -jar "${dist.jar.resolved}"</echo>
330- </target>
331- <target name="-post-jar">
332- <!-- Empty placeholder for easier customization. -->
333- <!-- You can override this target in the ../build.xml file. -->
334- </target>
335- <target name="jar" depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR."/>
336- <!--
337- =================
338- EXECUTION SECTION
339- =================
340- -->
341- <target name="run" depends="init,compile" description="Run a main class.">
342- <j2seproject1:java>
343- <customize>
344- <arg line="${application.args}"/>
345- </customize>
346- </j2seproject1:java>
347- </target>
348- <target name="run-single" depends="init,compile-single">
349- <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
350- <j2seproject1:java classname="${run.class}"/>
351- </target>
352- <!--
353- =================
354- DEBUGGING SECTION
355- =================
356- -->
357- <target name="-debug-start-debugger" if="netbeans.home" depends="init">
358- <j2seproject1:nbjpdastart name="${debug.class}"/>
359- </target>
360- <target name="-debug-start-debuggee" depends="init,compile">
361- <j2seproject3:debug>
362- <customize>
363- <arg line="${application.args}"/>
364- </customize>
365- </j2seproject3:debug>
366- </target>
367- <target name="debug" if="netbeans.home" depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE."/>
368- <target name="-debug-start-debugger-stepinto" if="netbeans.home" depends="init">
369- <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
370- </target>
371- <target name="debug-stepinto" if="netbeans.home" depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee"/>
372- <target name="-debug-start-debuggee-single" if="netbeans.home" depends="init,compile-single">
373- <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
374- <j2seproject3:debug classname="${debug.class}"/>
375- </target>
376- <target name="debug-single" if="netbeans.home" depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single"/>
377- <target name="-pre-debug-fix" depends="init">
378- <fail unless="fix.includes">Must set fix.includes</fail>
379- <property name="javac.includes" value="${fix.includes}.java"/>
380- </target>
381- <target name="-do-debug-fix" if="netbeans.home" depends="init,-pre-debug-fix,compile-single">
382- <j2seproject1:nbjpdareload/>
383- </target>
384- <target name="debug-fix" if="netbeans.home" depends="init,-pre-debug-fix,-do-debug-fix"/>
385- <!--
386- ===============
387- JAVADOC SECTION
388- ===============
389- -->
390- <target name="-javadoc-build" depends="init">
391- <mkdir dir="${dist.javadoc.dir}"/>
392- <javadoc destdir="${dist.javadoc.dir}" source="${javac.source}" notree="${javadoc.notree}" use="${javadoc.use}" nonavbar="${javadoc.nonavbar}" noindex="${javadoc.noindex}" splitindex="${javadoc.splitindex}" author="${javadoc.author}" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}" private="${javadoc.private}" additionalparam="${javadoc.additionalparam}" failonerror="true" useexternalfile="true">
393- <classpath>
394- <path path="${javac.classpath}"/>
395- </classpath>
396- <sourcepath>
397- <pathelement location="${src.src.dir}"/>
398- </sourcepath>
399- <packageset dir="${src.src.dir}" includes="*/**"/>
400- <fileset dir="${src.src.dir}" includes="*.java"/>
401- </javadoc>
402- </target>
403- <target name="-javadoc-browse" if="netbeans.home" unless="no.javadoc.preview" depends="init,-javadoc-build">
404- <nbbrowse file="${dist.javadoc.dir}/index.html"/>
405- </target>
406- <target name="javadoc" depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc."/>
407- <!--
408- =========================
409- JUNIT COMPILATION SECTION
410- =========================
411- -->
412- <target name="-pre-pre-compile-test" if="have.tests" depends="init,compile">
413- <mkdir dir="${build.test.classes.dir}"/>
414- </target>
415- <target name="-pre-compile-test">
416- <!-- Empty placeholder for easier customization. -->
417- <!-- You can override this target in the ../build.xml file. -->
418- </target>
419- <target name="-do-compile-test" if="have.tests" depends="init,compile,-pre-pre-compile-test,-pre-compile-test">
420- <j2seproject3:javac srcdir="${test.test.dir}" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}"/>
421- <copy todir="${build.test.classes.dir}">
422- <fileset dir="${test.test.dir}" excludes="**/*.java"/>
423- </copy>
424- </target>
425- <target name="-post-compile-test">
426- <!-- Empty placeholder for easier customization. -->
427- <!-- You can override this target in the ../build.xml file. -->
428- </target>
429- <target name="compile-test" depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test"/>
430- <target name="-pre-compile-test-single">
431- <!-- Empty placeholder for easier customization. -->
432- <!-- You can override this target in the ../build.xml file. -->
433- </target>
434- <target name="-do-compile-test-single" if="have.tests" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single">
435- <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
436- <j2seproject3:javac srcdir="${test.test.dir}" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}">
437- <customize>
438- <patternset includes="${javac.includes}"/>
439- </customize>
440- </j2seproject3:javac>
441- <copy todir="${build.test.classes.dir}">
442- <fileset dir="${test.test.dir}" excludes="**/*.java"/>
443- </copy>
444- </target>
445- <target name="-post-compile-test-single">
446- <!-- Empty placeholder for easier customization. -->
447- <!-- You can override this target in the ../build.xml file. -->
448- </target>
449- <target name="compile-test-single" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single"/>
450- <!--
451- =======================
452- JUNIT EXECUTION SECTION
453- =======================
454- -->
455- <target name="-pre-test-run" if="have.tests" depends="init">
456- <mkdir dir="${build.test.results.dir}"/>
457- </target>
458- <target name="-do-test-run" if="have.tests" depends="init,compile-test,-pre-test-run">
459- <j2seproject3:junit/>
460- </target>
461- <target name="-post-test-run" if="have.tests" depends="init,compile-test,-pre-test-run,-do-test-run">
462- <fail if="tests.failed">Some tests failed; see details above.</fail>
463- </target>
464- <target name="test-report" if="have.tests" depends="init"/>
465- <target name="-test-browse" if="netbeans.home+have.tests" depends="init"/>
466- <target name="test" depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests."/>
467- <target name="-pre-test-run-single" if="have.tests" depends="init">
468- <mkdir dir="${build.test.results.dir}"/>
469- </target>
470- <target name="-do-test-run-single" if="have.tests" depends="init,compile-test-single,-pre-test-run-single">
471- <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
472- <j2seproject3:junit includes="${test.includes}"/>
473- </target>
474- <target name="-post-test-run-single" if="have.tests" depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single">
475- <fail if="tests.failed">Some tests failed; see details above.</fail>
476- </target>
477- <target name="test-single" depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test."/>
478- <!--
479- =======================
480- JUNIT DEBUGGING SECTION
481- =======================
482- -->
483- <target name="-debug-start-debuggee-test" if="have.tests" depends="init,compile-test">
484- <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
485- <j2seproject3:debug classname="junit.textui.TestRunner" classpath="${debug.test.classpath}">
486- <customize>
487- <arg line="${test.class}"/>
488- </customize>
489- </j2seproject3:debug>
490- </target>
491- <target name="-debug-start-debugger-test" if="netbeans.home+have.tests" depends="init,compile-test">
492- <j2seproject1:nbjpdastart name="${test.class}" classpath="${debug.test.classpath}"/>
493- </target>
494- <target name="debug-test" depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test"/>
495- <target name="-do-debug-fix-test" if="netbeans.home" depends="init,-pre-debug-fix,compile-test-single">
496- <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
497- </target>
498- <target name="debug-fix-test" if="netbeans.home" depends="init,-pre-debug-fix,-do-debug-fix-test"/>
499- <!--
500- =========================
501- APPLET EXECUTION SECTION
502- =========================
503- -->
504- <target name="run-applet" depends="init,compile-single">
505- <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
506- <j2seproject1:java classname="sun.applet.AppletViewer">
507- <customize>
508- <arg value="${applet.url}"/>
509- </customize>
510- </j2seproject1:java>
511- </target>
512- <!--
513- =========================
514- APPLET DEBUGGING SECTION
515- =========================
516- -->
517- <target name="-debug-start-debuggee-applet" if="netbeans.home" depends="init,compile-single">
518- <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
519- <j2seproject3:debug classname="sun.applet.AppletViewer">
520- <customize>
521- <arg value="${applet.url}"/>
522- </customize>
523- </j2seproject3:debug>
524- </target>
525- <target name="debug-applet" if="netbeans.home" depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet"/>
526- <!--
527- ===============
528- CLEANUP SECTION
529- ===============
530- -->
531- <target name="deps-clean" depends="init" unless="no.deps"/>
532- <target name="-do-clean" depends="init">
533- <delete dir="${build.dir}"/>
534- <delete dir="${dist.dir}"/>
535- </target>
536- <target name="-post-clean">
537- <!-- Empty placeholder for easier customization. -->
538- <!-- You can override this target in the ../build.xml file. -->
539- </target>
540- <target name="clean" depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products."/>
412+ <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
413+ </pathconvert>
414+ <echo>${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
415+ </target>
416+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
417+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
418+ <pathconvert property="run.classpath.without.build.classes.dir">
419+ <path path="${run.classpath}"/>
420+ <map from="${build.classes.dir.resolved}" to=""/>
421+ </pathconvert>
422+ <pathconvert pathsep=" " property="jar.classpath">
423+ <path path="${run.classpath.without.build.classes.dir}"/>
424+ <chainedmapper>
425+ <flattenmapper/>
426+ <globmapper from="*" to="lib/*"/>
427+ </chainedmapper>
428+ </pathconvert>
429+ <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
430+ <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
431+ <fileset dir="${build.classes.dir}"/>
432+ <manifest>
433+ <attribute name="Main-Class" value="${main.class}"/>
434+ <attribute name="Class-Path" value="${jar.classpath}"/>
435+ </manifest>
436+ </copylibs>
437+ <echo>To run this application from the command line without Ant, try:</echo>
438+ <property location="${dist.jar}" name="dist.jar.resolved"/>
439+ <echo>${platform.java} -jar "${dist.jar.resolved}"</echo>
440+ </target>
441+ <target name="-post-jar">
442+ <!-- Empty placeholder for easier customization. -->
443+ <!-- You can override this target in the ../build.xml file. -->
444+ </target>
445+ <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
446+ <!--
447+ =================
448+ EXECUTION SECTION
449+ =================
450+ -->
451+ <target depends="init,compile" description="Run a main class." name="run">
452+ <j2seproject1:java>
453+ <customize>
454+ <arg line="${application.args}"/>
455+ </customize>
456+ </j2seproject1:java>
457+ </target>
458+ <target name="-do-not-recompile">
459+ <property name="javac.includes.binary" value=""/>
460+ </target>
461+ <target depends="init,-do-not-recompile,compile-single" name="run-single">
462+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
463+ <j2seproject1:java classname="${run.class}"/>
464+ </target>
465+ <!--
466+ =================
467+ DEBUGGING SECTION
468+ =================
469+ -->
470+ <target depends="init" if="netbeans.home" name="-debug-start-debugger">
471+ <j2seproject1:nbjpdastart name="${debug.class}"/>
472+ </target>
473+ <target depends="init,compile" name="-debug-start-debuggee">
474+ <j2seproject3:debug>
475+ <customize>
476+ <arg line="${application.args}"/>
477+ </customize>
478+ </j2seproject3:debug>
479+ </target>
480+ <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
481+ <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
482+ <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
483+ </target>
484+ <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
485+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
486+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
487+ <j2seproject3:debug classname="${debug.class}"/>
488+ </target>
489+ <target depends="init,-do-not-recompile,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
490+ <target depends="init" name="-pre-debug-fix">
491+ <fail unless="fix.includes">Must set fix.includes</fail>
492+ <property name="javac.includes" value="${fix.includes}.java"/>
493+ </target>
494+ <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
495+ <j2seproject1:nbjpdareload/>
496+ </target>
497+ <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
498+ <!--
499+ ===============
500+ JAVADOC SECTION
501+ ===============
502+ -->
503+ <target depends="init" name="-javadoc-build">
504+ <mkdir dir="${dist.javadoc.dir}"/>
505+ <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" executable="${platform.javadoc}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
506+ <classpath>
507+ <path path="${javac.classpath}"/>
508+ </classpath>
509+ <fileset dir="${src.src.dir}" excludes="${excludes}" includes="${includes}">
510+ <filename name="**/*.java"/>
511+ </fileset>
512+ </javadoc>
513+ </target>
514+ <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
515+ <nbbrowse file="${dist.javadoc.dir}/index.html"/>
516+ </target>
517+ <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
518+ <!--
519+ =========================
520+ JUNIT COMPILATION SECTION
521+ =========================
522+ -->
523+ <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
524+ <mkdir dir="${build.test.classes.dir}"/>
525+ </target>
526+ <target name="-pre-compile-test">
527+ <!-- Empty placeholder for easier customization. -->
528+ <!-- You can override this target in the ../build.xml file. -->
529+ </target>
530+ <target if="do.depend.true" name="-compile-test-depend">
531+ <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.test.dir}"/>
532+ </target>
533+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
534+ <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.test.dir}"/>
535+ <copy todir="${build.test.classes.dir}">
536+ <fileset dir="${test.test.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
537+ </copy>
538+ </target>
539+ <target name="-post-compile-test">
540+ <!-- Empty placeholder for easier customization. -->
541+ <!-- You can override this target in the ../build.xml file. -->
542+ </target>
543+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
544+ <target name="-pre-compile-test-single">
545+ <!-- Empty placeholder for easier customization. -->
546+ <!-- You can override this target in the ../build.xml file. -->
547+ </target>
548+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
549+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
550+ <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
551+ <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" sourcepath="${test.test.dir}" srcdir="${test.test.dir}"/>
552+ <copy todir="${build.test.classes.dir}">
553+ <fileset dir="${test.test.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
554+ </copy>
555+ </target>
556+ <target name="-post-compile-test-single">
557+ <!-- Empty placeholder for easier customization. -->
558+ <!-- You can override this target in the ../build.xml file. -->
559+ </target>
560+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
561+ <!--
562+ =======================
563+ JUNIT EXECUTION SECTION
564+ =======================
565+ -->
566+ <target depends="init" if="have.tests" name="-pre-test-run">
567+ <mkdir dir="${build.test.results.dir}"/>
568+ </target>
569+ <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
570+ <j2seproject3:junit testincludes="**/*Test.java"/>
571+ </target>
572+ <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
573+ <fail if="tests.failed">Some tests failed; see details above.</fail>
574+ </target>
575+ <target depends="init" if="have.tests" name="test-report"/>
576+ <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
577+ <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
578+ <target depends="init" if="have.tests" name="-pre-test-run-single">
579+ <mkdir dir="${build.test.results.dir}"/>
580+ </target>
581+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
582+ <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
583+ <j2seproject3:junit excludes="" includes="${test.includes}"/>
584+ </target>
585+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
586+ <fail if="tests.failed">Some tests failed; see details above.</fail>
587+ </target>
588+ <target depends="init,-do-not-recompile,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
589+ <!--
590+ =======================
591+ JUNIT DEBUGGING SECTION
592+ =======================
593+ -->
594+ <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
595+ <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
596+ <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
597+ <delete file="${test.report.file}"/>
598+ <mkdir dir="${build.test.results.dir}"/>
599+ <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
600+ <customize>
601+ <syspropertyset>
602+ <propertyref prefix="test-sys-prop."/>
603+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
604+ </syspropertyset>
605+ <arg value="${test.class}"/>
606+ <arg value="showoutput=true"/>
607+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
608+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
609+ </customize>
610+ </j2seproject3:debug>
611+ </target>
612+ <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
613+ <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
614+ </target>
615+ <target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
616+ <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
617+ <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
618+ </target>
619+ <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
620+ <!--
621+ =========================
622+ APPLET EXECUTION SECTION
623+ =========================
624+ -->
625+ <target depends="init,compile-single" name="run-applet">
626+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
627+ <j2seproject1:java classname="sun.applet.AppletViewer">
628+ <customize>
629+ <arg value="${applet.url}"/>
630+ </customize>
631+ </j2seproject1:java>
632+ </target>
633+ <!--
634+ =========================
635+ APPLET DEBUGGING SECTION
636+ =========================
637+ -->
638+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
639+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
640+ <j2seproject3:debug classname="sun.applet.AppletViewer">
641+ <customize>
642+ <arg value="${applet.url}"/>
643+ </customize>
644+ </j2seproject3:debug>
645+ </target>
646+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
647+ <!--
648+ ===============
649+ CLEANUP SECTION
650+ ===============
651+ -->
652+ <target depends="init" name="deps-clean" unless="no.deps"/>
653+ <target depends="init" name="-do-clean">
654+ <delete dir="${build.dir}"/>
655+ <delete dir="${dist.dir}"/>
656+ </target>
657+ <target name="-post-clean">
658+ <!-- Empty placeholder for easier customization. -->
659+ <!-- You can override this target in the ../build.xml file. -->
660+ </target>
661+ <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
541662 </project>
--- a/nbproject/genfiles.properties
+++ b/nbproject/genfiles.properties
@@ -3,6 +3,9 @@ build.xml.script.CRC32=1bb9c400
33 build.xml.stylesheet.CRC32=240b97a2
44 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
55 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6-nbproject/build-impl.xml.data.CRC32=715a224e
7-nbproject/build-impl.xml.script.CRC32=c01b1fa7
8-nbproject/build-impl.xml.stylesheet.CRC32=65d7ca21
6+nbproject/build-impl.xml.data.CRC32=ff1220a2
7+nbproject/build-impl.xml.script.CRC32=d4d6fc37
8+nbproject/build-impl.xml.stylesheet.CRC32=f1d9da08
9+nbproject/build-jaws-impl.xml.data.CRC32=715a224e
10+nbproject/build-jaws-impl.xml.script.CRC32=eead23c2
11+nbproject/build-jaws-impl.xml.stylesheet.CRC32=235a0393
--- a/nbproject/project.properties
+++ b/nbproject/project.properties
@@ -1,4 +1,7 @@
11 application.args=
2+application.homepage=https://sourceforge.jp/projects/mdc
3+application.title=mdc2
4+application.vendor=Mail Destination Confirm Program Project
25 build.classes.dir=${build.dir}/classes
36 build.classes.excludes=**/*.java,**/*.form
47 # This directory is removed when the project is cleaned:
@@ -8,6 +11,7 @@ build.generated.dir=${build.dir}/generated
811 build.sysclasspath=ignore
912 build.test.classes.dir=${build.dir}/test/classes
1013 build.test.results.dir=${build.dir}/test/results
14+conf.jnlp=mdc2.jnlp
1115 debug.classpath=\
1216 ${run.classpath}
1317 debug.test.classpath=\
@@ -16,8 +20,13 @@ debug.test.classpath=\
1620 dist.dir=dist
1721 dist.jar=${dist.dir}/mdc2.jar
1822 dist.javadoc.dir=${dist.dir}/javadoc
23+dist.war=${dist.dir}/mdc2.war
24+excludes=
1925 file.reference.BetaProject-src=test
2026 file.reference.BetaProject-test=src
27+includes=**
28+j2ee.platform=1.4
29+j2ee.server.type=Tomcat55
2130 jar.compress=false
2231 javac.classpath=\
2332 ${libs.swing-layout.classpath}
@@ -41,10 +50,15 @@ javadoc.splitindex=true
4150 javadoc.use=true
4251 javadoc.version=false
4352 javadoc.windowtitle=-charset UTF-8 -docencoding UTF-8
53+jnlp.codebase.type=local
54+jnlp.codebase.url=file:/home/mirara/tkyn/src/NetBeansTest/BetaProject/dist/
55+jnlp.enabled=false
56+jnlp.offline-allowed=false
57+jnlp.signed=false
4458 main.class=org.jent.checksmtp.ApplicationUI
4559 manifest.file=manifest.mf
4660 meta.inf.dir=${src.dir}/META-INF
47-platform.active=default_platform
61+platform.active=Java_SE_6
4862 run.classpath=\
4963 ${javac.classpath}:\
5064 ${build.classes.dir}
@@ -57,3 +71,4 @@ run.test.classpath=\
5771 ${build.test.classes.dir}
5872 src.src.dir=src
5973 test.test.dir=test
74+web.dir=web
--- a/nbproject/project.xml
+++ b/nbproject/project.xml
@@ -5,6 +5,7 @@
55 <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
66 <name>mdc2</name>
77 <minimum-ant-version>1.6.5</minimum-ant-version>
8+ <explicit-platform explicit-source-supported="true"/>
89 <source-roots>
910 <root id="src.src.dir" name="Source Package"/>
1011 </source-roots>
Show on old repository browser