Bladeren bron

Add missing files

git-svn-id: http://svn.dmdirc.com/trunk@6 00569f92-eb28-0410-84fd-f71c24880f
tags/0.1
Chris Smith 17 jaren geleden
bovenliggende
commit
ff5dcbd1a4
4 gewijzigde bestanden met toevoegingen van 622 en 0 verwijderingen
  1. 541
    0
      nbproject/build-impl.xml
  2. 8
    0
      nbproject/genfiles.properties
  3. 57
    0
      nbproject/project.properties
  4. 16
    0
      nbproject/project.xml

+ 541
- 0
nbproject/build-impl.xml Bestand weergeven

@@ -0,0 +1,541 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!--
3
+*** GENERATED FROM project.xml - DO NOT EDIT  ***
4
+***         EDIT ../build.xml INSTEAD         ***
5
+
6
+For the purpose of easier reading the script
7
+is divided into following sections:
8
+
9
+  - initialization
10
+  - compilation
11
+  - jar
12
+  - execution
13
+  - debugging
14
+  - javadoc
15
+  - junit compilation
16
+  - junit execution
17
+  - junit debugging
18
+  - applet
19
+  - cleanup
20
+
21
+-->
22
+<project name="DMDirc-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.src.dir}"/>
66
+            </or>
67
+        </condition>
68
+        <condition property="have.sources">
69
+            <or>
70
+                <available file="${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.dir">Must set src.dir</fail>
99
+        <fail unless="test.src.dir">Must set test.src.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.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.src.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>
212
+                        <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.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.dir}"/>
398
+            </sourcepath>
399
+            <packageset dir="${src.dir}" includes="*/**"/>
400
+            <fileset dir="${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.src.dir}" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}"/>
421
+        <copy todir="${build.test.classes.dir}">
422
+            <fileset dir="${test.src.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.src.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.src.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."/>
541
+</project>

+ 8
- 0
nbproject/genfiles.properties Bestand weergeven

@@ -0,0 +1,8 @@
1
+build.xml.data.CRC32=42229879
2
+build.xml.script.CRC32=ef7aa04d
3
+build.xml.stylesheet.CRC32=240b97a2
4
+# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5
+# 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=42229879
7
+nbproject/build-impl.xml.script.CRC32=07e37bde
8
+nbproject/build-impl.xml.stylesheet.CRC32=20b9345e

+ 57
- 0
nbproject/project.properties Bestand weergeven

@@ -0,0 +1,57 @@
1
+application.args=
2
+build.classes.dir=${build.dir}/classes
3
+build.classes.excludes=**/*.java,**/*.form
4
+# This directory is removed when the project is cleaned:
5
+build.dir=build
6
+build.generated.dir=${build.dir}/generated
7
+# Only compile against the classpath explicitly listed here:
8
+build.sysclasspath=ignore
9
+build.test.classes.dir=${build.dir}/test/classes
10
+build.test.results.dir=${build.dir}/test/results
11
+debug.classpath=\
12
+    ${run.classpath}
13
+debug.test.classpath=\
14
+    ${run.test.classpath}
15
+# This directory is removed when the project is cleaned:
16
+dist.dir=dist
17
+dist.jar=${dist.dir}/DMDirc.jar
18
+dist.javadoc.dir=${dist.dir}/javadoc
19
+jar.compress=false
20
+javac.classpath=\
21
+    ${libs.swing-layout.classpath}
22
+# Space-separated list of extra javac options
23
+javac.compilerargs=
24
+javac.deprecation=false
25
+javac.source=1.5
26
+javac.target=1.5
27
+javac.test.classpath=\
28
+    ${javac.classpath}:\
29
+    ${build.classes.dir}:\
30
+    ${libs.junit.classpath}
31
+javadoc.additionalparam=
32
+javadoc.author=false
33
+javadoc.encoding=
34
+javadoc.noindex=false
35
+javadoc.nonavbar=false
36
+javadoc.notree=false
37
+javadoc.private=false
38
+javadoc.splitindex=true
39
+javadoc.use=true
40
+javadoc.version=false
41
+javadoc.windowtitle=
42
+main.class=dmdirc.Main
43
+manifest.file=manifest.mf
44
+meta.inf.dir=${src.dir}/META-INF
45
+platform.active=default_platform
46
+run.classpath=\
47
+    ${javac.classpath}:\
48
+    ${build.classes.dir}
49
+# Space-separated list of JVM arguments used when running the project
50
+# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
51
+# or test-sys-prop.name=value to set system properties for unit tests):
52
+run.jvmargs=
53
+run.test.classpath=\
54
+    ${javac.test.classpath}:\
55
+    ${build.test.classes.dir}
56
+src.dir=src
57
+test.src.dir=test

+ 16
- 0
nbproject/project.xml Bestand weergeven

@@ -0,0 +1,16 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://www.netbeans.org/ns/project/1">
3
+    <type>org.netbeans.modules.java.j2seproject</type>
4
+    <configuration>
5
+        <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
6
+            <name>DMDirc</name>
7
+            <minimum-ant-version>1.6.5</minimum-ant-version>
8
+            <source-roots>
9
+                <root id="src.dir"/>
10
+            </source-roots>
11
+            <test-roots>
12
+                <root id="test.src.dir"/>
13
+            </test-roots>
14
+        </data>
15
+    </configuration>
16
+</project>

Laden…
Annuleren
Opslaan