Browse Source

Remove NB project + broken ant files.

I've left build-installer.xml as a reference for when the installers
are gradled.
pull/10/head
Chris Smith 9 years ago
parent
commit
52894bbafb

+ 0
- 52
build-ivy.xml View File

@@ -1,52 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project name="DMDirc-ivy" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
3
-    <description>Ivy utilities for DMDirc</description>
4
-
5
-    <property name="ivy.cache.ttl.default" value="7d"/>
6
-
7
-    <target name="-init-ivy" depends="-init-lib-directory">
8
-        <path id="ivy.classpath">
9
-           <fileset dir="etc/ivy" includes="ivy*.jar"/>
10
-        </path>
11
-
12
-        <available classname="org.apache.ivy.ant.IvyConfigure"
13
-              property="ivy.available" classpathref="ivy.classpath" />
14
-    </target>
15
-
16
-    <target name="-init-dependencies" depends="-init-ivy" unless="ivy.done">
17
-        <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.classpath"/>
18
-        <ivy:settings file="etc/ivy/ivysettings.xml"/>
19
-        <ivy:retrieve symlink="true" pattern="lib/[conf]/[artifact].[ext]" sync="true" />
20
-        <property name="ivy.done" value="true"/>
21
-    </target>
22
-
23
-    <target name="publish-integration" depends="-init-dependencies,jar">
24
-        <copy file="dist/DMDirc.jar" tofile="dist/client.jar"/>
25
-        <ivy:deliver deliverpattern="build/ivy.xml" pubrevision="${git.version}-SNAPSHOT" />
26
-        <ivy:makepom ivyfile="build/ivy.xml" pomfile="dist/client.pom">
27
-            <mapping conf="main" scope="compile"/>
28
-        </ivy:makepom>
29
-        <ivy:resolve file="build/ivy.xml"/>
30
-        <ivy:retrieve/>
31
-        <ivy:publish resolver="dmdirc-snapshots"
32
-                     organisation="com.dmdirc"
33
-                     module="client"
34
-                     revision="${git.version}-SNAPSHOT"
35
-                     status="integration"
36
-                     artifactspattern="dist/[artifact].[ext]"
37
-                     publishivy="false">
38
-        </ivy:publish>
39
-    </target>
40
-
41
-    <target name="publish-from-teamcity" depends="-init-dependencies">
42
-        <echo>Downloading private files, if this fails please pass username and</echo>
43
-        <echo>password to ant using -Dusername=... -Dpassword=...</echo>
44
-
45
-        <get src="http://www.dmdirc.com/private/nexus-teamcity.properties" dest="etc/nexus-teamcity.properties" username="${username}" password="${password}"/>
46
-        <loadproperties srcFile="etc/nexus-teamcity.properties"/>
47
-
48
-        <ivy:settings>
49
-          <credentials host="nexus.dmdirc.com" realm="Sonatype Nexus Repository Manager" username="${nexus.user}" passwd="${nexus.pass}"/>
50
-        </ivy:settings>
51
-    </target>
52
-</project>

+ 0
- 12
build-parsers.xml View File

@@ -1,12 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project name="DMDirc-parsers" default="default" basedir=".">
3
-
4
-    <target name="build-parsers" description="Build all parsers">
5
-        <subant buildpath="modules/parser" target="jar"/>
6
-    </target>
7
-
8
-    <target name="clean-parsers" description="Clean parsers">
9
-        <subant buildpath="modules/parser" target="clean"/>
10
-    </target>
11
-
12
-</project>

+ 0
- 20
build-paths.xml View File

@@ -1,20 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project name="DMDirc-paths" default="default" basedir=".">
3
-
4
-    <path id="build-classpath">
5
-        <fileset dir="lib/build" includes="*.jar"/>
6
-    </path>
7
-
8
-    <path id="test-classpath">
9
-        <fileset dir="lib/test" includes="*.jar"/>
10
-    </path>
11
-
12
-    <path id="analyse-classpath">
13
-        <fileset dir="lib/analyse" includes="*.jar"/>
14
-    </path>
15
-
16
-    <path id="main-classpath">
17
-        <fileset dir="lib/main" includes="*.jar"/>
18
-    </path>
19
-
20
-</project>

+ 0
- 99
build-plugins.xml View File

@@ -1,99 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project name="DMDirc-plugins" default="default" basedir=".">
3
-
4
-    <import file="modules/plugins/build-pluginutils.xml"/>
5
-
6
-    <target name="-init-plugins">
7
-        <taskdef resource="net/sf/fikin/ant/ant.properties" classpathref="build-classpath"/>
8
-        <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="build-classpath"/>
9
-    </target>
10
-
11
-    <target name="-init-default-build-target" unless="plugins.build.target">
12
-        <property name="plugins.build.target" value="jar"/>
13
-    </target>
14
-
15
-    <target name="build-plugins" description="Build all plugins" depends="-init-default-build-target">
16
-        <subant buildpath="modules/plugins" target="${plugins.build.target}">
17
-            <property name="plugins.dmdirc.build.dir" value="../../${build.classes.dir}"/>
18
-            <property name="clover.search.path" value="../../lib/test"/>
19
-            <property name="clover.license.path" location="etc/clover/clover.license"/>
20
-            <property name="clover.init.string" location=".clover/clover.db"/>
21
-        </subant>
22
-    </target>
23
-
24
-    <target name="clean-plugins" description="Clean all plugins">
25
-        <subant buildpath="modules/plugins" target="clean"/>
26
-    </target>
27
-
28
-    <target name="-update-bundled-plugins" depends="-init-plugins">
29
-        <bundleplugins jar="${dist.jar}">
30
-            <fileset dir="modules/plugins/dist/">
31
-                <include name="tabcompletion_*.jar"/>
32
-                <include name="parser_irc.jar"/>
33
-                <include name="ui_swing.jar"/>
34
-            </fileset>
35
-        </bundleplugins>
36
-    </target>
37
-
38
-    <target name="-check-addons-key" unless="dmdirc.addons.apikey">
39
-      <fail>You must specify an API key in the the dmdirc.addons.apikey property</fail>
40
-    </target>
41
-
42
-    <target name="-check-addon-id" unless="addon.id">
43
-      <fail>The ID of the addon to be published must be specified in the addon.id property</fail>
44
-    </target>
45
-
46
-    <target name="-check-addon-channel" unless="addon.channel">
47
-      <fail>
48
-        The channel of the addon to be published must be specified in the addon.channel property.
49
-        Use 1 for Stable, 2 for Unstable, or 3 for Nightly.
50
-      </fail>
51
-    </target>
52
-
53
-    <target name="-check-addon-file" unless="addon.file">
54
-      <fail>The file of the addon to be published must be specified in the addon.file property</fail>
55
-    </target>
56
-
57
-    <target name="publish-all-plugins" description="Publishes all plugins to the addons site"
58
-            depends="-init-plugins,-check-addons-key,-check-addon-channel">
59
-      <foreach target="publish-plugin" param="addon.file" inheritall="true" parallel="true">
60
-        <path>
61
-          <fileset dir="plugins">
62
-            <include name="*.jar"/>
63
-          </fileset>
64
-        </path>
65
-      </foreach>
66
-    </target>
67
-
68
-    <target name="publish-plugin" description="Publish a plugin to the addons site"
69
-            depends="-init-plugins,-check-addons-key,-check-addon-channel,-check-addon-file">
70
-      <tempfile property="temp.dir" prefix="plugintmp"/>
71
-      <mkdir dir="${temp.dir}"/>
72
-      <unzip src="${addon.file}" dest="${temp.dir}">
73
-        <patternset>
74
-            <include name="META-INF/plugin.config"/>
75
-        </patternset>
76
-      </unzip>
77
-      <loadfile srcfile="${temp.dir}/META-INF/plugin.config" property="addon.id">
78
-        <filterchain>
79
-          <!-- This is a bit fickle, and needs to understand config files better. -->
80
-          <linecontains>
81
-            <contains value=" id="/>
82
-          </linecontains>
83
-          <deletecharacters chars="\t id="/>
84
-          <striplinebreaks/>
85
-        </filterchain>
86
-      </loadfile>
87
-      <delete dir="${temp.dir}"/>
88
-      <antcall target="publish-addon"/>
89
-    </target>
90
-    
91
-    <target name="publish-addon" description="Publish an addon to the addons site"
92
-            depends="-init-plugins,-check-addons-key,-check-addon-id,-check-addon-channel,-check-addon-file">
93
-       <httpmpost url="http://addons.dmdirc.com/editaddon/${addon.id}" logLevel="none">
94
-           <postString name="apikey" value="${dmdirc.addons.apikey}"/>
95
-           <postString name="channel" value="${addon.channel}"/>
96
-           <postFile name="download" file="${addon.file}"/>
97
-       </httpmpost>
98
-    </target>
99
-</project>

+ 0
- 39
build-properties.xml View File

@@ -1,39 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project name="DMDirc-properties" default="default" basedir=".">
3
-    <description>Automatically initialises build properties</description>
4
-
5
-    <condition property="private.properties.exists">
6
-        <available file="nbproject/private/private.properties"/>
7
-    </condition>
8
-
9
-    <target name="-create-private-properties" unless="private.properties.exists">
10
-        <mkdir dir="nbproject/private"/>
11
-        <echo file="nbproject/private/private.properties"/>
12
-    </target>
13
-
14
-    <target name="-init-private-properties" depends="-create-private-properties">
15
-        <path id="main-libs">
16
-            <fileset dir="lib/main" includes="*.jar"/>
17
-            <fileset dir="modules" includes="*/lib/*.jar"/>
18
-            <fileset dir="modules" includes="*/lib/main/*.jar"/>
19
-        </path>
20
-        <pathconvert property="main-libs" refid="main-libs">
21
-            <map from="${basedir}/" to=""/>
22
-        </pathconvert>
23
-
24
-        <path id="test-libs">
25
-            <fileset dir="lib/test" includes="*.jar"/>
26
-            <pathelement location="${basedir}/build/classes"/>
27
-            <pathelement location="${basedir}/modules/plugins/build/classes"/>
28
-        </path>
29
-        <pathconvert property="test-libs" refid="test-libs">
30
-            <map from="${basedir}/" to=""/>
31
-        </pathconvert>
32
-
33
-        <propertyfile file="nbproject/private/private.properties">
34
-            <entry key="javac.classpath" value="${main-libs}" />
35
-            <entry key="javac.test.classpath" value="${test-libs}${path.separator}$${javac.classpath}" />
36
-        </propertyfile>
37
-    </target>
38
-
39
-</project>

+ 0
- 237
build-reports.xml View File

@@ -1,237 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project name="DMDirc-reports" default="default" basedir=".">
3
-    <description>Checkstyle and findbugs reports</description>
4
-
5
-    <target name="doallreports" depends="test-both,-allreports,javadoc"
6
-            description="Run all reports." />
7
-    <target name="domostreports" depends="test-both,-mostreports,javadoc"
8
-            description="Run all reports except Findbugs." />
9
-
10
-    <target name="checkstyle" depends="checkstyle-all, -move-index" description="Run checkstyle." />
11
-
12
-    <target name="-allreports" depends="findbugs, checkstyle" />
13
-    <target name="-mostreports" depends="checkstyle" />
14
-
15
-    <target name="-init-checkstyle" depends="-init-dependencies">
16
-        <taskdef resource="checkstyletask.properties" classpathref="analyse-classpath"/>
17
-    </target>
18
-
19
-    <target name="-init-findbugs" depends="-init-dependencies">
20
-        <taskdef name="findbugs" classpathref="analyse-classpath" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" />
21
-    </target>
22
-
23
-    <target name="checkstyle-all" depends="-init-checkstyle">
24
-        <checkstyle config="etc/checkstyle/dmdirc.xml" failureProperty="checkstyle.failure" failOnViolation="false">
25
-            <fileset dir="src/" includes="**/*.java" excludes="net/miginfocom/**"/>
26
-            <fileset dir="modules/parser/src/" includes="**/*.java"/>
27
-            <fileset dir="modules/util/src/" includes="**/*.java"/>
28
-            <formatter type="xml" tofile="reports/checkstyle.xml"/>
29
-        </checkstyle>
30
-        <xslt in="reports/checkstyle.xml" out="reports/checkstyle.html" style="etc/checkstyle/checkstyle.xsl"/>
31
-    </target>
32
-
33
-    <target name="-move-index">
34
-        <copy file="etc/reports/sorttable.js" tofile="reports/sorttable.js"/>
35
-    </target>
36
-
37
-    <target name="findbugs" depends="-init-findbugs,jar" description="Run Findbugs.">
38
-        <mkdir dir="reports/findbugs" />
39
-        <findbugs home="/usr/share/java/findbugs/" effort="max"
40
-                            jvmargs="-Xmx512M"
41
-                            output="xml:withMessages"
42
-                             outputFile="reports/findbugs/report-fb.xml" reportLevel="low">
43
-            <sourcePath path="src/" />
44
-            <class location="dist/DMDirc.jar" />
45
-        </findbugs>
46
-        <xslt in="reports/findbugs/report-fb.xml" style="etc/findbugs/findbugs.xslt" out="reports/report-fb.html" />
47
-    </target>
48
-
49
-    <target name="-init-proguard" depends="-init-dependencies">
50
-        <taskdef resource="proguard/ant/task.properties" classpathref="analyse-classpath"/>
51
-    </target>
52
-
53
-    <target name="deadcode" depends="-init-proguard">
54
-        <proguard>
55
-            -libraryjars ${java.home}/lib/rt.jar
56
-            -libraryjars ${java.home}/lib/jce.jar
57
-            -libraryjars lib/main/
58
-            -libraryjars modules/plugins/lib/main/
59
-
60
-            -injars dist/DMDirc.jar(com/dmdirc/**,net/miginfocom/**)
61
-            -injars modules/plugins/dist/(com/dmdirc/**)
62
-
63
-            -dontoptimize
64
-            -dontobfuscate
65
-            -dontpreverify
66
-            -printusage reports/deadcode.txt
67
-
68
-            -dontnote !com.dmdirc.**
69
-
70
-            <!-- The main entry point -->
71
-            -keep public class com.dmdirc.Main {
72
-                public static void main(java.lang.String[]);
73
-            }
74
-
75
-            <!-- All plugins -->
76
-            -keep class ** implements com.dmdirc.plugins.Plugin {
77
-                &lt;init&gt;(...);
78
-                public void load(com.dmdirc.plugins.PluginInfo, dagger.ObjectGraph);
79
-		public void onLoad();
80
-		public void showConfig(com.dmdirc.config.prefs.PreferencesDialogModel);
81
-            }
82
-
83
-            <!-- Dagger provider methods -->
84
-            -keepclassmembers @dagger.Module class ** {
85
-                @dagger.Provides *;
86
-            }
87
-
88
-            <!-- Dagger generated subclasses -->
89
-            -keep class **$$ModuleAdapter
90
-            -keep class **$$InjectAdapter
91
-            -keep class **$$StaticInjection
92
-
93
-            <!-- Injectable constructors -->
94
-            -keepclassmembers class * {
95
-                @javax.inject.Inject *;
96
-                &lt;init&gt;();
97
-            }
98
-
99
-            <!-- Package info classes -->
100
-            -keep class **.package-info
101
-
102
-            <!-- Enum stuff. -->
103
-            -keepclassmembers enum ** {
104
-                *** valueOf(java.lang.String);
105
-                *** values();
106
-            }
107
-
108
-            <!-- Parser callbacks -->
109
-            -keepclassmembers class ** {
110
-                public void on*(com.dmdirc.parser.interfaces.Parser, ...);
111
-            }
112
-
113
-            <!-- Serializable version fields -->
114
-            -keepclassmembers class ** implements java.io.Serializable {
115
-                static final long serialVersionUID;
116
-            }
117
-
118
-            <!-- Swing dialogs -->
119
-            -keep class com.dmdirc.addons.ui_swing.** extends com.dmdirc.addons.ui_swing.dialogs.StandardDialog {
120
-                &lt;init&gt;(...);
121
-            }
122
-
123
-            <!-- Swing window implementations -->
124
-            -keep class ** extends com.dmdirc.addons.ui_swing.components.frames.TextFrame {
125
-                &lt;init&gt;(...);
126
-            }
127
-
128
-            <!-- Swing frame managers -->
129
-            -keep class ** implements com.dmdirc.addons.ui_swing.framemanager.FrameManager {
130
-                &lt;init&gt;(...);
131
-            }
132
-
133
-            <!-- DCC plugin panels -->
134
-            -keep class com.dmdirc.addons.dcc.ui.PlaceholderPanel { &lt;init&gt;(...); }
135
-            -keep class com.dmdirc.addons.dcc.ui.TransferPanel { &lt;init&gt;(...); }
136
-
137
-            <!-- Exported services -->
138
-            -keepclassmembers class ** implements com.dmdirc.plugins.Plugin {
139
-                @com.dmdirc.plugins.Exported &lt;methods&gt;;
140
-            }
141
-
142
-            <!-- Debug plugin commands -->
143
-            -keep class * extends com.dmdirc.addons.debug.DebugCommand {
144
-                &lt;init&gt;(...);
145
-                String getName();
146
-                void execute(...);
147
-            }
148
-
149
-            <!-- Possibly inlined constants -->
150
-            -keepclassmembers class * {
151
-                static final % *;
152
-                static final java.lang.String *;
153
-            }
154
-
155
-            <!-- Non-DMDirc classes -->
156
-            -keep class org.** { *; }
157
-            -keep class net.** { *; }
158
-            -keep class com.sun.** { *; }
159
-            -keep class com.google.** { *; }
160
-            -keep class com.palintir.** { *; }
161
-            -keep class dagger.** { *; }
162
-        </proguard>
163
-    </target>
164
-
165
-    <target name="with.warnings">
166
-        <record name="reports/build-log.txt" action="start"/>
167
-    </target>
168
-
169
-    <target name="warnings-report">
170
-        <record name="reports/build-log.txt" action="stop"/>
171
-
172
-        <copy file="reports/build-log.txt" tofile="reports/warnings.txt">
173
-            <filterchain>
174
-                <!-- Pick out the warnings generated for source files -->
175
-                <linecontainsregexp>
176
-                    <regexp pattern="java:[0-9]+: warning: .*"/>
177
-                </linecontainsregexp>
178
-                <!-- Trim whitespace and boilerplate -->
179
-                <trim/>
180
-                <replacestring from="[javac] ${basedir}${file.separator}" to=""/>
181
-                <!-- Ignore anything that's not from a source directory (e.g. dagger generated code) -->
182
-                <linecontainsregexp>
183
-                    <regexp pattern="^(modules${file.separator}[a-z]+${file.separator})?src.*"/>
184
-                </linecontainsregexp>
185
-                <!-- Sort the results in file order -->
186
-                <sortfilter/>
187
-            </filterchain>
188
-        </copy>
189
-
190
-        <copy file="reports/warnings.txt" tofile="reports/warnings-deprecations.txt">
191
-            <filterchain>
192
-                <linecontainsregexp>
193
-                    <regexp pattern=".*: warning: \[deprecation\] .*"/>
194
-                </linecontainsregexp>
195
-           </filterchain>
196
-        </copy>
197
-
198
-        <copy file="reports/warnings.txt" tofile="reports/warnings-other.txt">
199
-            <filterchain>
200
-                <linecontainsregexp negate="true">
201
-                    <regexp pattern=".*: warning: \[deprecation\] .*"/>
202
-                </linecontainsregexp>
203
-           </filterchain>
204
-        </copy>
205
-    </target>
206
-
207
-    <target name="teamcity-warnings-report">
208
-        <resourcecount property="warnings.count">
209
-            <tokens>
210
-                <concat>
211
-                    <filterchain>
212
-                        <tokenfilter>
213
-                           <linetokenizer/>
214
-                        </tokenfilter>
215
-                    </filterchain>
216
-                    <fileset file="reports/warnings.txt"/>
217
-                </concat>
218
-            </tokens>
219
-        </resourcecount>
220
-
221
-        <copy file="etc/warnings/template.xml" tofile="teamcity-info.xml">
222
-            <filterset>
223
-                <filter token="COUNT" value="${warnings.count}"/>
224
-            </filterset>
225
-        </copy>
226
-    </target>
227
-
228
-    <target name="-init-tattletale">
229
-        <taskdef name="report"
230
-           classname="org.jboss.tattletale.ant.ReportTask"
231
-           classpathref="analyse-classpath"/>
232
-    </target>
233
-
234
-    <target name="tattletale" depends="-init-tattletale">
235
-        <report source="modules/plugins/dist/" destination="reports/tattletale/"/>
236
-    </target>
237
-</project>

+ 0
- 100
build-tests.xml View File

@@ -1,100 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project name="DMDirc-tests" default="default" basedir=".">
3
-    <description>Test-related tasks for DMDirc.</description>
4
-
5
-    <target name="-init-clover" depends="-init-dependencies">
6
-        <taskdef resource="cloverlib.xml" classpathref="test-classpath"/>
7
-        <taskdef resource="cloverjunitlib.xml" classpathref="test-classpath"/>
8
-        <property name="clover.license.path" location="etc/clover/clover.license"/>
9
-        <property name="clover.init.string" location=".clover/clover.db"/>
10
-
11
-        <condition property="clover.installed">
12
-            <and>
13
-                <available classname="com.atlassian.clover.CloverInstr"/>
14
-                <available file="etc/clover/clover.license"/>
15
-            </and>
16
-        </condition>
17
-
18
-        <property name="plugins.build.target" value="compile-for-tests"/>
19
-    </target>
20
-
21
-    <target name="with.clover" depends="-init-clover,clean" if="clover.installed"
22
-            description="Set up Clover to instrument tests.">
23
-        <clover-clean/>
24
-        <clover-env/>
25
-        <clover-setup initstring="${clover.init.string}">
26
-            <fileset dir="src/com/" includes="**/*.java" />
27
-            <fileset dir="modules/parser/src/" includes="**/*.java" />
28
-            <fileset dir="modules/util/src/" includes="**/*.java" />
29
-            <fileset dir="modules/plugins/src/" includes="**/*.java" />
30
-            <fileset dir="test/">
31
-                <include name="**/*.java" />
32
-                <exclude name="**/harness/**/*.java" />
33
-            </fileset>
34
-            <fileset dir="modules/parser/test/">
35
-                <include name="**/*.java" />
36
-                <exclude name="**/harness/**/*.java" />
37
-            </fileset>
38
-            <fileset dir="modules/util/test/">
39
-                <include name="**/*.java" />
40
-                <exclude name="**/harness/**/*.java" />
41
-            </fileset>
42
-            <fileset dir="modules/plugins/test/">
43
-                <include name="**/*.java" />
44
-                <exclude name="**/harness/**/*.java" />
45
-            </fileset>
46
-            <methodContext name="private_ctor" regexp="(.* )?private +[a-zA-Z0-9_$]+ *\( *\).*"/>
47
-        </clover-setup>
48
-    </target>
49
-
50
-    <target name="clover.snapshot" depends="with.clover" if="clover.installed">
51
-        <clover-snapshot/>
52
-    </target>
53
-
54
-    <target name="clover.xml" if="clover.installed" depends="-init-clover"
55
-            description="Generate a Clover XML report.">
56
-        <mkdir dir="reports/clover" />
57
-        <clover-report>
58
-            <current outfile="reports/clover/clover.xml">
59
-                <format type="xml" filter="private_ctor"/>
60
-            </current>
61
-        </clover-report>
62
-    </target>
63
-
64
-    <target name="clover.html" if="clover.installed" depends="-init-clover"
65
-            description="Generate a Clover HTML report.">
66
-        <mkdir dir="reports/clover" />
67
-        <mkdir dir="reports/clover/history" />
68
-        <clover-historypoint historydir="reports/clover/history" />
69
-        <clover-report>
70
-            <current outfile="reports/clover">
71
-                <format type="html" filter="private_ctor"/>
72
-             </current>
73
-             <historical outfile="reports/clover" historydir="reports/clover/history" />
74
-        </clover-report>
75
-    </target>
76
-
77
-    <property name="test.reports" value="./junitreports" />
78
-
79
-    <target name="-do-test-reports">
80
-        <mkdir dir="${test.reports}" />
81
-        <junitreport todir="${test.reports}">
82
-            <fileset dir="${build.test.results.dir}">
83
-                <include name="TEST-*.xml" />
84
-            </fileset>
85
-            <report todir="${test.reports}" />
86
-        </junitreport>
87
-    </target>
88
-
89
-    <target name="test-html" depends="with.clover,compile-test,test,clover.html,clover.snapshot"
90
-            description="Run tests and generate a Clover HTML report."/>
91
-    <target name="test-xml" depends="with.clover,compile-test,test,clover.xml,clover.snapshot"
92
-            description="Run tests and generate a Clover XML report."/>
93
-    <target name="test-both" depends="test-html,test-xml"
94
-            description="Run tests and generate Clover XML and HTML reports."/>
95
-
96
-    <target name="teamcity-clover-report">
97
-        <xslt in="reports/clover/clover.xml" style="etc/clover/clover.xsl" out="teamcity-info.xml" />
98
-    </target>
99
-
100
-</project>

+ 0
- 99
build-versioning.xml View File

@@ -1,99 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project name="DMDirc-versioning" default="default" basedir=".">
3
-    <description>Adds automatic versioning information to DMDirc</description>
4
-
5
-    <property name="version.config" value="build/classes/com/dmdirc/version.config"/>
6
-    <property name="version.config.idea" value="build/production/DMDirc/com/dmdirc/version.config"/>
7
-    <property name="defaults.path" value="modules/defaults/.git/"/>
8
-    <property name="defaults.output" value="build/classes/com/dmdirc/config/defaults/"/>
9
-    <property name="defaults.target" value="${defaults.output}default/defaults"/>
10
-    <property name="modealiases.target" value="${defaults.output}modealiases/generic"/>
11
-
12
-    <available file=".git" property="is.git"/>
13
-
14
-    <target name="-init-version">
15
-        <taskdef name="git-describe" classname="org.mdonoughe.JGitDescribeTask" classpathref="build-classpath"/>
16
-    </target>
17
-
18
-    <target name="-write-version" depends="-init-version, -write-version-header, -add-version, -write-updater, -write-identities, -write-disable-updates"/>
19
-
20
-    <target name="write-version-for-idea" depends="-write-version">
21
-        <copy file="${version.config}" tofile="${version.config.idea}" overwrite="true"/>
22
-    </target>
23
-
24
-    <target name="-write-version-header">
25
-        <echo file="${version.config}"># This is a DMDirc configuration file automatically generated by
26
-# the build process.
27
-
28
-keysections:
29
-   identity
30
-   version
31
-   updater
32
-
33
-identity:
34
-   name=DMDirc version information
35
-   globaldefault=true
36
-   order=95000
37
-
38
-version:
39
-   version=</echo>
40
-    </target>
41
-
42
-    <target name="-add-version" depends="-add-git-version"/>
43
-
44
-    <target name="-add-git-version" if="is.git">
45
-        <git-describe dir=".git" property="git.version" />
46
-        <echo file="${version.config}" append="true">${git.version}
47
-</echo>
48
-    </target>
49
-
50
-    <target name="-init-channel" unless="channel">
51
-        <property name="channel" value="NONE"/>
52
-    </target>
53
-
54
-    <target name="with.disabled.updater">
55
-        <property name="disableupdates" value="true" />
56
-    </target>
57
-
58
-    <target name="-write-disable-updates" if="disableupdates">
59
-        <echo file="${version.config}" append="true">
60
-version:
61
-    noupdates=true
62
-</echo>
63
-    </target>
64
-
65
-    <target name="-write-updater" depends="-init-channel, -read-identities">
66
-        <echo file="${version.config}" append="true">
67
-updater:
68
-    channel=${channel}
69
-    bundleddefaultsversion=${defaults.version}
70
-    bundledmodealiasesversion=${modealiases.version}
71
-</echo>
72
-    </target>
73
-
74
-    <target name="-write-identities" depends="-read-identities, -copy-identities">
75
-        <echo file="${defaults.target}" append="true">
76
-identity:
77
-  defaultsversion=${defaults.version}
78
-</echo>
79
-        <echo file="${modealiases.target}" append="true">
80
-identity:
81
-  modealiasversion=${modealiases.version}
82
-</echo>
83
-    </target>
84
-
85
-    <target name="-copy-identities">
86
-        <mkdir dir="${defaults.output}"/>
87
-        <copy todir="${defaults.output}" overwrite="true">
88
-            <fileset dir="modules/defaults/" excludes=".git/"/>
89
-        </copy>
90
-    </target>
91
-
92
-    <target name="-read-identities" depends="-read-identities-git"/>
93
-
94
-    <target name="-read-identities-git" if="is.git">
95
-        <git-describe dir="${defaults.path}" property="defaults.version" subdir="default" />
96
-        <git-describe dir="${defaults.path}" property="modealiases.version" subdir="modealiases" />
97
-    </target>
98
-
99
-</project>

+ 0
- 110
build.xml View File

@@ -1,110 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project name="DMDirc" default="default" basedir=".">
3
-    <description>Builds, tests, and runs the project DMDirc.</description>
4
-
5
-    <import file="nbproject/build-impl.xml"/>
6
-    <import file="build-installer.xml"/>
7
-    <import file="build-paths.xml"/>
8
-    <import file="build-plugins.xml"/>
9
-    <import file="build-reports.xml"/>
10
-    <import file="build-tests.xml"/>
11
-    <import file="build-versioning.xml"/>
12
-    <import file="build-properties.xml"/>
13
-    <import file="build-ivy.xml"/>
14
-
15
-    <target name="-init-lib-directory">
16
-        <mkdir dir="lib"/>
17
-    </target>
18
-
19
-    <target name="init-private" depends="-init-lib-directory">
20
-        <echo>Downloading private files, if this fails please pass username and</echo>
21
-        <echo>password to ant using -Dusername=... -Dpassword=...</echo>
22
-
23
-        <get src="http://www.dmdirc.com/private/clover.license" dest="etc/clover/clover.license" username="${username}" password="${password}"/>
24
-
25
-        <get dest="installer/signing/" username="${username}" password="${password}">
26
-            <url url="http://www.dmdirc.com/private/DMDirc.cer"/>
27
-            <url url="http://www.dmdirc.com/private/DMDirc.pvk"/>
28
-            <url url="http://www.dmdirc.com/private/DMDirc.spc"/>
29
-        </get>
30
-
31
-	<get dest="addons.api.key" username="${username}" password="${password}" src="http://www.dmdirc.com/private/addons.api.key"/>
32
-
33
-        <!-- Re-evaluate as the license is probably here now -->
34
-        <condition property="clover.installed">
35
-            <and>
36
-                <available classname="com.atlassian.clover.CloverInstr"/>
37
-                <available file="etc/clover/clover.license"/>
38
-            </and>
39
-        </condition>
40
-    </target>
41
-
42
-    <target name="-post-clean">
43
-        <delete dir="modules/plugins/build"/>
44
-        <delete dir="modules/plugins/dist"/>
45
-        <delete dir="modules/parser/build"/>
46
-        <delete dir="modules/parser/dist"/>
47
-        <delete dir="modules/util/build"/>
48
-        <delete dir="modules/util/dist"/>
49
-    </target>
50
-
51
-    <target name="-bundle-slf4j">
52
-        <jar destfile="${dist.jar}" update="true">
53
-            <zipfileset src="lib/main/slf4j-api.jar" includes="org/slf4j/**/*"/>
54
-        </jar>
55
-    </target>
56
-
57
-    <target name="-bundle-base64">
58
-        <jar destfile="${dist.jar}" update="true">
59
-            <zipfileset src="lib/main/migbase64.jar" includes="com/migcomponents/**"/>
60
-        </jar>
61
-    </target>
62
-
63
-    <target name="-bundle-dagger">
64
-        <jar destfile="${dist.jar}" update="true">
65
-            <zipfileset src="lib/main/dagger.jar" includes="dagger/**"/>
66
-            <zipfileset src="lib/main/javax.inject.jar" includes="javax/inject/*"/>
67
-        </jar>
68
-    </target>
69
-
70
-    <target name="-bundle-raven">
71
-        <jar destfile="${dist.jar}" update="true">
72
-            <zipfileset src="lib/main/jackson-core.jar" includes="com/fasterxml/**"/>
73
-            <zipfileset src="lib/main/raven.jar" includes="net/kencochrane/**,raven-build.properties"/>
74
-        </jar>
75
-    </target>
76
-
77
-    <target name="-bundle-guava">
78
-        <jar destfile="${dist.jar}" update="true">
79
-            <zipfileset src="lib/main/guava.jar" includes="com/google/**"/>
80
-        </jar>
81
-    </target>
82
-
83
-    <target name="-bundle-mbassador">
84
-        <jar destfile="${dist.jar}" update="true">
85
-            <zipfileset src="lib/main/mbassador.jar" includes="net/engio/**"/>
86
-        </jar>
87
-    </target>
88
-
89
-    <target name="-bundle-yamlreader">
90
-        <jar destfile="${dist.jar}" update="true">
91
-            <zipfileset src="lib/main/yamlbeans.jar" includes="com/esotericsoftware/yamlbeans/**" />
92
-        </jar>
93
-    </target>
94
-
95
-    <target name="-bundle-util">
96
-        <jar destfile="${dist.jar}" update="true">
97
-            <zipfileset src="lib/main/util.jar" includes="com/dmdirc/**" />
98
-        </jar>
99
-    </target>
100
-
101
-    <target name="-init-submodule-dependencies">
102
-        <subant buildpath="modules/plugins" target="init-dependencies"/>
103
-    </target>
104
-
105
-    <target name="-pre-init" depends="-init-dependencies,-init-submodule-dependencies,-init-private-properties"/>
106
-    <target name="-post-compile" depends="-write-version, build-plugins"/>
107
-    <target name="-post-test-run" depends="-do-test-reports"/>
108
-    <target name="-post-jar" depends="-update-bundled-plugins,-bundle-slf4j,-bundle-dagger,-bundle-base64,-bundle-guava,-bundle-mbassador,-bundle-raven,-bundle-yamlreader,-bundle-util"/>
109
-
110
-</project>

+ 0
- 7
etc/ivy/ant-fikin/ivy.xml View File

@@ -1,7 +0,0 @@
1
-<ivy-module version="2.0">
2
-    <info organisation="net.sourceforge.fikin-ant-tasks" module="ant-fikin"/>
3
-    <dependencies>
4
-        <dependency org="commons-httpclient" name="commons-httpclient" rev="3.+" conf="default" />
5
-        <dependency org="xerces" name="xercesImpl" rev="2.+" conf="default"/>
6
-    </dependencies>
7
-</ivy-module>

+ 0
- 9
etc/ivy/ant-fikin/packager.xml View File

@@ -1,9 +0,0 @@
1
-<packager-module version="1.0">
2
-    <property name="name" value="${ivy.packager.module}"/>
3
-    <property name="version" value="${ivy.packager.revision}"/>
4
-
5
-    <resource dest="archive" url="http://sourceforge.net/projects/fikin-ant-tasks/files/fikin-ant-tasks/${version}%20release/fikin-ant-${version}-bin.tar.gz/download" sha1="e7677de1feae55d8d4bd27cb562f9d84d7386204" type="tar.gz"/>
6
-    <build>
7
-        <move file="archive/fikin-ant-${version}/fikin-ant-${version}.jar" tofile="artifacts/jars/${name}.jar"/>
8
-    </build>
9
-</packager-module>

BIN
etc/ivy/ivy-2.3.0.jar View File


+ 0
- 31
etc/ivy/ivysettings.xml View File

@@ -1,31 +0,0 @@
1
-<ivysettings>
2
-    <settings defaultResolver="default"/>
3
-    <property name="${nexus.user}" value="invalid"  override="false"/>
4
-    <property name="${nexus.pass}" value="invalid"  override="false"/>
5
-    <credentials host="nexus.dmdirc.com" realm="Sonatype Nexus Repository Manager" username="${nexus.user}" passwd="${nexus.pass}"/>
6
-    <resolvers>
7
-        <ibiblio name="default" m2compatible="true"/>
8
-
9
-        <ibiblio name="jgit" root="http://download.eclipse.org/jgit/maven" m2compatible="true"/>
10
-        <ibiblio name="dmdirc-thirdparty" root="http://nexus.dmdirc.com/nexus/content/repositories/thirdparty/" m2compatible="true"/>
11
-        <ibiblio name="dmdirc-releases" root="http://nexus.dmdirc.com/nexus/content/repositories/releases/" m2compatible="true"/>
12
-        <ibiblio name="dmdirc-snapshots" root="http://nexus.dmdirc.com/nexus/content/repositories/snapshots/" m2compatible="true"/>
13
-
14
-        <url name="ant-nsis">
15
-            <artifact pattern="https://cloud.github.com/downloads/dreese/nsis-ant/nsisant-[revision].jar"/>
16
-        </url>
17
-
18
-        <packager name="packager" buildRoot="${user.home}/.ivy2/packager/build" resourceCache="${user.home}/.ivy2/packager/cache" preserveBuildDirectories="true">
19
-            <ivy pattern="file:///${basedir}/etc/ivy/[module]/ivy.xml"/>
20
-            <artifact pattern="file:///${basedir}/etc/ivy/[module]/packager.xml"/>
21
-        </packager>
22
-    </resolvers>
23
-    <modules>
24
-        <module organisation="org.sourceforce.ant-nsis" name="ant-nsis" resolver="ant-nsis"/>
25
-        <module organisation="com.github.shanemcc" name="jgit-describe" resolver="dmdirc-thirdparty"/>
26
-        <module organisation="net.sourceforge.fikin-ant-tasks" name="ant-fikin" resolver="packager"/>
27
-        <module organisation="org.eclipse.jgit" name="*" resolver="jgit"/>
28
-        <module organisation="net.miginfocom" name="*" resolver="dmdirc-thirdparty"/>
29
-        <module organisation="com.dmdirc" name="*" resolver="dmdirc-snapshots"/>
30
-    </modules>
31
-</ivysettings>

+ 0
- 54
ivy.xml View File

@@ -1,54 +0,0 @@
1
-<ivy-module version="2.0">
2
-    <info organisation="com.dmdirc" module="client"/>
3
-
4
-    <configurations>
5
-        <conf name="build" description="Everything needed to support the build process"/>
6
-        <conf name="main" description="Everything needed to compile DMDirc separately"/>
7
-        <conf name="test" description="Everything needed to test DMDirc"/>
8
-        <conf name="analyse" description="Everything needed to run analysis on DMDirc"/>
9
-        <conf name="bundled" description="Things bundled and distributed in full with DMDirc"/>
10
-    </configurations>
11
-
12
-    <publications>
13
-        <artifact type="jar" ext="jar" conf="main"/>
14
-        <artifact type="pom" ext="pom" conf="main"/>
15
-    </publications>
16
-
17
-    <dependencies>
18
-        <dependency org="ant-contrib" name="ant-contrib" rev="1.0b3" conf="build->default" />
19
-        <dependency org="org.sourceforce.ant-nsis" name="ant-nsis" rev="1.3" conf="build->default" />
20
-        <dependency org="com.github.shanemcc" name="jgit-describe" rev="0.5" conf="build->default" />
21
-        <dependency org="org.eclipse.jgit" name="org.eclipse.jgit" rev="2.3.1.+" conf="build->default" />
22
-        <dependency org="net.sourceforge.fikin-ant-tasks" name="ant-fikin" rev="1.7.3" conf="build->default" />
23
-
24
-        <dependency org="org.slf4j" name="slf4j-api" rev="1.+" conf="main->default" />
25
-        <dependency org="ch.qos.logback" name="logback-classic" rev="1.+" conf="test->default" />
26
-
27
-        <dependency org="com.google.code.findbugs" name="jsr305" rev="3.0.0" conf="main->default" />
28
-
29
-        <dependency org="com.squareup.dagger" name="dagger" rev="1.2.1" conf="bundled,main->default" />
30
-        <dependency org="com.squareup.dagger" name="dagger-compiler" rev="1.2.1" conf="main->default" />
31
-
32
-        <dependency org="com.esotericsoftware.yamlbeans" name="yamlbeans" rev="1.08" conf="bundled,main->default" />
33
-
34
-        <dependency org="com.brsanthu" name="migbase64" rev="2.2" conf="bundled,main->default" />
35
-
36
-        <dependency org="net.kencochrane.raven" name="raven" rev="5.0.1" conf="bundled,main->default" />
37
-
38
-        <dependency org="com.google.guava" name="guava" rev="18.0" conf="bundled,main->default" />
39
-        <dependency org="net.engio" name="mbassador" rev="1.2.0" conf="bundled,main->default" />
40
-        <dependency org="com.dmdirc" name="util" rev="latest.integration" conf="bundled,main->default" />
41
-
42
-        <dependency org="junit" name="junit" rev="4.11" conf="test->default" />
43
-        <dependency org="org.mockito" name="mockito-all" rev="1.9.5" conf="test->default" />
44
-        <dependency org="com.atlassian.clover" name="clover" rev="4.+" conf="test->default" />
45
-
46
-        <dependency org="com.puppycrawl.tools" name="checkstyle" rev="5.+" conf="analyse->default" />
47
-        <dependency org="com.google.code.findbugs" name="findbugs-ant" rev="2.+" conf="analyse->default" />
48
-        <dependency org="org.jboss.tattletale" name="tattletale-ant" rev="1.2.0.Beta2" conf="analyse->default" />
49
-
50
-        <dependency org="net.sf.proguard" name="proguard-anttask" rev="4.+" conf="analyse->default" />
51
-
52
-        <exclude org="ant" module="ant"/>
53
-    </dependencies>
54
-</ivy-module>

+ 0
- 668
nbproject/build-impl.xml View File

@@ -1,668 +0,0 @@
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 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="DMDirc-impl">
23
-    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
24
-    <!--
25
-                ======================
26
-                INITIALIZATION SECTION
27
-                ======================
28
-            -->
29
-    <path id="all.libs">
30
-        <fileset dir="lib" includes="*.jar"/>
31
-    </path>
32
-
33
-    <property name="test_profile_dir" value="./test_profile"/>
34
-    <target name="-pre-init">
35
-        <!-- Empty placeholder for easier customization. -->
36
-        <!-- You can override this target in the ../build.xml file. -->
37
-    </target>
38
-
39
-    <target depends="-pre-init" name="-init-private">
40
-        <property file="nbproject/private/config.properties"/>
41
-        <property file="nbproject/private/configs/${config}.properties"/>
42
-        <property file="nbproject/private/private.properties"/>
43
-    </target>
44
-    <target depends="-pre-init,-init-private" name="-init-user">
45
-        <property file="${user.properties.file}"/>
46
-        <!-- The two properties below are usually overridden -->
47
-        <!-- by the active platform. Just a fallback. -->
48
-        <property name="default.javac.source" value="1.4"/>
49
-        <property name="default.javac.target" value="1.4"/>
50
-    </target>
51
-    <target depends="-pre-init,-init-private,-init-user" name="-init-project">
52
-        <property file="nbproject/configs/${config}.properties"/>
53
-        <property file="nbproject/project.properties"/>
54
-    </target>
55
-    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
56
-        <available file="${manifest.file}" property="manifest.available"/>
57
-        <condition property="manifest.available+main.class">
58
-            <and>
59
-                <isset property="manifest.available"/>
60
-                <isset property="main.class"/>
61
-                <not>
62
-                    <equals arg1="${main.class}" arg2="" trim="true"/>
63
-                </not>
64
-            </and>
65
-        </condition>
66
-        <condition property="have.tests">
67
-            <and>
68
-                <available file="${main.test.dir}"/>
69
-                <available file="${parser.test.dir}"/>
70
-            </and>
71
-        </condition>
72
-        <condition property="have.sources">
73
-            <and>
74
-                <available file="${main.src.dir}"/>
75
-                <available file="${parser.src.dir}"/>
76
-            </and>
77
-        </condition>
78
-        <condition property="netbeans.home+have.tests">
79
-            <and>
80
-                <isset property="netbeans.home"/>
81
-                <isset property="have.tests"/>
82
-            </and>
83
-        </condition>
84
-        <condition property="no.javadoc.preview">
85
-            <and>
86
-                <isset property="javadoc.preview"/>
87
-                <isfalse value="${javadoc.preview}"/>
88
-            </and>
89
-        </condition>
90
-        <property name="run.jvmargs" value=""/>
91
-        <property name="javac.compilerargs" value=""/>
92
-        <property name="work.dir" value="${basedir}"/>
93
-        <condition property="no.deps">
94
-            <and>
95
-                <istrue value="${no.dependencies}"/>
96
-            </and>
97
-        </condition>
98
-        <property name="javac.debug" value="true"/>
99
-        <property name="javadoc.preview" value="true"/>
100
-        <property name="application.args" value=""/>
101
-        <property name="source.encoding" value="${file.encoding}"/>
102
-        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
103
-            <and>
104
-                <isset property="javadoc.encoding"/>
105
-                <not>
106
-                    <equals arg1="${javadoc.encoding}" arg2=""/>
107
-                </not>
108
-            </and>
109
-        </condition>
110
-        <property name="javadoc.encoding.used" value="${source.encoding}"/>
111
-        <property name="includes" value="**"/>
112
-        <property name="excludes" value=""/>
113
-        <property name="do.depend" value="true"/>
114
-        <condition property="do.depend.true">
115
-            <istrue value="${do.depend}"/>
116
-        </condition>
117
-        <fail unless="have.sources">Not all sources are available, have you run `git submodule init` and `git submodule update`</fail>
118
-    </target>
119
-    <target name="-post-init">
120
-        <!-- Empty placeholder for easier customization. -->
121
-        <!-- You can override this target in the ../build.xml file. -->
122
-    </target>
123
-    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
124
-        <fail unless="main.src.dir">Must set main.src.dir</fail>
125
-        <fail unless="main.test.dir">Must set main.test.dir</fail>
126
-        <fail unless="parser.src.dir">Must set parser.src.dir</fail>
127
-        <fail unless="parser.test.dir">Must set parser.test.dir</fail>
128
-        <fail unless="build.dir">Must set build.dir</fail>
129
-        <fail unless="dist.dir">Must set dist.dir</fail>
130
-        <fail unless="build.classes.dir">Must set build.classes.dir</fail>
131
-        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
132
-        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
133
-        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
134
-        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
135
-        <fail unless="dist.jar">Must set dist.jar</fail>
136
-    </target>
137
-    <target name="-init-macrodef-property">
138
-        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
139
-            <attribute name="name"/>
140
-            <attribute name="value"/>
141
-            <sequential>
142
-                <property name="@{name}" value="${@{value}}"/>
143
-            </sequential>
144
-        </macrodef>
145
-    </target>
146
-    <target name="-init-macrodef-javac">
147
-        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
148
-            <attribute default="${parser.src.dir}:${main.src.dir}" name="srcdir"/>
149
-            <attribute default="${build.classes.dir}" name="destdir"/>
150
-            <attribute default="${javac.classpath}" name="classpath"/>
151
-            <attribute default="${includes}" name="includes"/>
152
-            <attribute default="${excludes}" name="excludes"/>
153
-            <attribute default="${javac.debug}" name="debug"/>
154
-            <attribute default="" name="javac.compilerargs.jaxws"/>
155
-            <attribute default="" name="sourcepath"/>
156
-            <element name="customize" optional="true"/>
157
-            <sequential>
158
-                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}">
159
-                    <classpath refid="all.libs"/>
160
-                    <classpath>
161
-                        <path path="@{classpath}"/>
162
-                    </classpath>
163
-                    <compilerarg line="${javac.compilerargs} @{javac.compilerargs.jaxws}"/>
164
-                    <customize/>
165
-                </javac>
166
-            </sequential>
167
-        </macrodef>
168
-        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
169
-            <attribute default="${parser.src.dir}:${main.src.dir}" name="srcdir"/>
170
-            <attribute default="${build.classes.dir}" name="destdir"/>
171
-            <attribute default="${javac.classpath}" name="classpath"/>
172
-            <sequential>
173
-                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
174
-                    <classpath>
175
-                        <path path="@{classpath}"/>
176
-                    </classpath>
177
-                    <classpath refid="all.libs"/>
178
-                </depend>
179
-            </sequential>
180
-        </macrodef>
181
-        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
182
-            <attribute default="${build.classes.dir}" name="destdir"/>
183
-            <sequential>
184
-                <fail unless="javac.includes">Must set javac.includes</fail>
185
-                <pathconvert pathsep="," property="javac.includes.binary">
186
-                    <path>
187
-                        <filelist dir="@{destdir}" files="${javac.includes}"/>
188
-                    </path>
189
-                    <globmapper from="*.java" to="*.class"/>
190
-                </pathconvert>
191
-                <delete>
192
-                    <files includes="${javac.includes.binary}"/>
193
-                </delete>
194
-            </sequential>
195
-        </macrodef>
196
-    </target>
197
-
198
-    <target name="-init-macrodef-junit">
199
-        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
200
-            <attribute default="${includes}" name="includes"/>
201
-            <attribute default="${excludes}" name="excludes"/>
202
-            <attribute default="**" name="testincludes"/>
203
-            <sequential>
204
-                <delete dir="${test_profile_dir}"/>
205
-                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="yes" forkmode="once" showoutput="true" timeout="120000">
206
-                    <env key="DMDIRC_HOME" value="${test_profile_dir}"/>
207
-                    <classpath refid="all.libs"/>
208
-                    <batchtest todir="${build.test.results.dir}">
209
-                        <fileset dir="${main.test.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
210
-                            <filename name="@{testincludes}"/>
211
-                        </fileset>
212
-                        <fileset dir="${parser.test.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
213
-                            <filename name="@{testincludes}"/>
214
-                        </fileset>
215
-                    </batchtest>
216
-                    <classpath>
217
-                        <path path="${run.test.classpath}"/>
218
-                    </classpath>
219
-                    <syspropertyset>
220
-                        <propertyref prefix="test-sys-prop."/>
221
-                        <mapper from="test-sys-prop.*" to="*" type="glob"/>
222
-                    </syspropertyset>
223
-                    <formatter type="brief" usefile="false"/>
224
-                    <formatter type="xml"/>
225
-                    <jvmarg line="${run.jvmargs}"/>
226
-                </junit>
227
-                <delete dir="${test_profile_dir}"/>
228
-            </sequential>
229
-        </macrodef>
230
-    </target>
231
-
232
-    <target name="-init-macrodef-nbjpda">
233
-        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
234
-            <attribute default="${main.class}" name="name"/>
235
-            <attribute default="${debug.classpath}" name="classpath"/>
236
-            <attribute default="" name="stopclassname"/>
237
-            <sequential>
238
-                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="dt_socket">
239
-                    <classpath>
240
-                        <path path="@{classpath}"/>
241
-                        <path refid="all.libs"/>
242
-                    </classpath>
243
-                </nbjpdastart>
244
-            </sequential>
245
-        </macrodef>
246
-        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
247
-            <attribute default="${build.classes.dir}" name="dir"/>
248
-            <sequential>
249
-                <nbjpdareload>
250
-                    <fileset dir="@{dir}" includes="${fix.includes}*.class"/>
251
-                </nbjpdareload>
252
-            </sequential>
253
-        </macrodef>
254
-    </target>
255
-    <target name="-init-debug-args">
256
-        <property name="version-output" value="java version &quot;${ant.java.version}"/>
257
-        <condition property="have-jdk-older-than-1.4">
258
-            <or>
259
-                <contains string="${version-output}" substring="java version &quot;1.0"/>
260
-                <contains string="${version-output}" substring="java version &quot;1.1"/>
261
-                <contains string="${version-output}" substring="java version &quot;1.2"/>
262
-                <contains string="${version-output}" substring="java version &quot;1.3"/>
263
-            </or>
264
-        </condition>
265
-        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
266
-            <istrue value="${have-jdk-older-than-1.4}"/>
267
-        </condition>
268
-    </target>
269
-    <target depends="-init-debug-args" name="-init-macrodef-debug">
270
-        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
271
-            <attribute default="${main.class}" name="classname"/>
272
-            <attribute default="${debug.classpath}" name="classpath"/>
273
-            <element name="customize" optional="true"/>
274
-            <sequential>
275
-                <java classname="@{classname}" dir="${work.dir}" fork="true">
276
-                    <classpath refid="all.libs"/>
277
-                    <jvmarg line="${debug-args-line}"/>
278
-                    <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
279
-                    <jvmarg line="${run.jvmargs}"/>
280
-                    <classpath>
281
-                        <path path="@{classpath}"/>
282
-                    </classpath>
283
-                    <syspropertyset>
284
-                        <propertyref prefix="run-sys-prop."/>
285
-                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
286
-                    </syspropertyset>
287
-                    <customize/>
288
-                </java>
289
-            </sequential>
290
-        </macrodef>
291
-    </target>
292
-    <target name="-init-macrodef-java">
293
-        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
294
-            <attribute default="${main.class}" name="classname"/>
295
-            <element name="customize" optional="true"/>
296
-            <sequential>
297
-                <java classname="@{classname}" dir="${work.dir}" fork="true">
298
-                    <jvmarg line="${run.jvmargs}"/>
299
-                    <classpath>
300
-                        <path path="${run.classpath}"/>
301
-                    </classpath>
302
-                    <syspropertyset>
303
-                        <propertyref prefix="run-sys-prop."/>
304
-                        <mapper from="run-sys-prop.*" to="*" type="glob"/>
305
-                    </syspropertyset>
306
-                    <customize/>
307
-                </java>
308
-            </sequential>
309
-        </macrodef>
310
-    </target>
311
-    <target name="-init-presetdef-jar">
312
-        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
313
-            <jar compress="${jar.compress}" jarfile="${dist.jar}">
314
-                <j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.jar.excludes}"/>
315
-            </jar>
316
-        </presetdef>
317
-    </target>
318
-    <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"/>
319
-    <!--
320
-                ===================
321
-                COMPILATION SECTION
322
-                ===================
323
-            -->
324
-    <target depends="init" name="deps-jar" unless="no.deps"/>
325
-    <target depends="init,deps-jar" name="-pre-pre-compile">
326
-        <mkdir dir="${build.classes.dir}"/>
327
-    </target>
328
-    <target name="-pre-compile">
329
-        <!-- Empty placeholder for easier customization. -->
330
-        <!-- You can override this target in the ../build.xml file. -->
331
-    </target>
332
-    <target if="do.depend.true" name="-compile-depend">
333
-        <j2seproject3:depend/>
334
-    </target>
335
-    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile">
336
-        <j2seproject3:javac/>
337
-        <copy todir="${build.classes.dir}">
338
-            <fileset dir="${main.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
339
-            <fileset dir="${parser.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
340
-        </copy>
341
-    </target>
342
-    <target name="-post-compile">
343
-        <!-- Empty placeholder for easier customization. -->
344
-        <!-- You can override this target in the ../build.xml file. -->
345
-    </target>
346
-    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
347
-    <target name="-pre-compile-single">
348
-        <!-- Empty placeholder for easier customization. -->
349
-        <!-- You can override this target in the ../build.xml file. -->
350
-    </target>
351
-    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
352
-        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
353
-        <j2seproject3:force-recompile/>
354
-        <j2seproject3:javac excludes="" includes="${javac.includes}" sourcepath="${main.src.dir}:${parser.src.dir}"/>
355
-    </target>
356
-    <target name="-post-compile-single">
357
-        <!-- Empty placeholder for easier customization. -->
358
-        <!-- You can override this target in the ../build.xml file. -->
359
-    </target>
360
-    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
361
-    <!--
362
-                ====================
363
-                JAR BUILDING SECTION
364
-                ====================
365
-            -->
366
-    <target depends="init" name="-pre-pre-jar">
367
-        <dirname file="${dist.jar}" property="dist.jar.dir"/>
368
-        <mkdir dir="${dist.jar.dir}"/>
369
-    </target>
370
-    <target name="-pre-jar">
371
-        <!-- Empty placeholder for easier customization. -->
372
-        <!-- You can override this target in the ../build.xml file. -->
373
-    </target>
374
-    <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available">
375
-        <j2seproject1:jar/>
376
-    </target>
377
-    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
378
-        <j2seproject1:jar manifest="${manifest.file}"/>
379
-    </target>
380
-    <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">
381
-        <j2seproject1:jar manifest="${manifest.file}">
382
-            <j2seproject1:manifest>
383
-                <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
384
-            </j2seproject1:manifest>
385
-        </j2seproject1:jar>
386
-    </target>
387
-    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries">
388
-        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
389
-        <pathconvert property="run.classpath.without.build.classes.dir">
390
-            <path path="${run.classpath}"/>
391
-            <map from="${build.classes.dir.resolved}" to=""/>
392
-        </pathconvert>
393
-        <pathconvert pathsep=" " property="jar.classpath">
394
-            <path path="${run.classpath.without.build.classes.dir}"/>
395
-            <chainedmapper>
396
-                <flattenmapper/>
397
-                <globmapper from="*" to="lib/*"/>
398
-            </chainedmapper>
399
-        </pathconvert>
400
-        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
401
-        <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
402
-            <fileset dir="${build.classes.dir}" excludes="${dist.jar.excludes}" />
403
-            <manifest>
404
-                <attribute name="Main-Class" value="${main.class}"/>
405
-                <attribute name="Class-Path" value="${jar.classpath}"/>
406
-            </manifest>
407
-        </copylibs>
408
-    </target>
409
-    <target name="-post-jar">
410
-        <!-- Empty placeholder for easier customization. -->
411
-        <!-- You can override this target in the ../build.xml file. -->
412
-    </target>
413
-    <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"/>
414
-    <!--
415
-                =================
416
-                EXECUTION SECTION
417
-                =================
418
-            -->
419
-    <target depends="init,compile" description="Run a main class." name="run">
420
-        <j2seproject1:java>
421
-            <customize>
422
-                <arg line="${application.args}"/>
423
-            </customize>
424
-        </j2seproject1:java>
425
-    </target>
426
-    <target name="-do-not-recompile">
427
-        <property name="javac.includes.binary" value=""/>
428
-    </target>
429
-    <target depends="init,-do-not-recompile,compile-single" name="run-single">
430
-        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
431
-        <j2seproject1:java classname="${run.class}"/>
432
-    </target>
433
-    <!--
434
-                =================
435
-                DEBUGGING SECTION
436
-                =================
437
-            -->
438
-    <target depends="init" if="netbeans.home" name="-debug-start-debugger">
439
-        <j2seproject1:nbjpdastart name="${debug.class}"/>
440
-    </target>
441
-    <target depends="init,compile" name="-debug-start-debuggee">
442
-        <j2seproject3:debug>
443
-            <customize>
444
-                <arg line="${application.args}"/>
445
-            </customize>
446
-        </j2seproject3:debug>
447
-    </target>
448
-    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
449
-    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
450
-        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
451
-    </target>
452
-    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
453
-    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
454
-        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
455
-        <j2seproject3:debug classname="${debug.class}"/>
456
-    </target>
457
-    <target depends="init,-do-not-recompile,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
458
-    <target depends="init" name="-pre-debug-fix">
459
-        <fail unless="fix.includes">Must set fix.includes</fail>
460
-        <property name="javac.includes" value="${fix.includes}.java"/>
461
-    </target>
462
-    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
463
-        <j2seproject1:nbjpdareload/>
464
-    </target>
465
-    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
466
-    <!--
467
-                ===============
468
-                JAVADOC SECTION
469
-                ===============
470
-            -->
471
-    <target depends="init" name="-javadoc-build">
472
-        <mkdir dir="${dist.javadoc.dir}"/>
473
-        <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="${javadoc.encoding.used}" destdir="${dist.javadoc.dir}" docencoding="${javadoc.encoding.used}" encoding="${javadoc.encoding.used}" 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}">
474
-            <classpath>
475
-                <path path="${javac.classpath}"/>
476
-            </classpath>
477
-            <classpath refid="all.libs"/>
478
-            <fileset dir="${main.src.dir}" excludes="${excludes}" includes="${includes}">
479
-                <filename name="**/*.java"/>
480
-            </fileset>
481
-            <fileset dir="${parser.src.dir}" excludes="${excludes}" includes="${includes}">
482
-                <filename name="**/*.java"/>
483
-            </fileset>
484
-        </javadoc>
485
-    </target>
486
-
487
-    <target name="move-javadoc-check">
488
-        <condition property="move.javadoc">
489
-            <isset property="javadoc.moveto"/>
490
-        </condition>
491
-    </target>
492
-    <target name="move-javadoc" depends="move-javadoc-check" if="move.javadoc">
493
-        <delete dir="${javadoc.moveto}"/>
494
-        <move file="${dist.javadoc.dir}" tofile="${javadoc.moveto}"/>
495
-    </target>
496
-
497
-    <target depends="init,-doccheck-check" name="-doccheck-build" if="doccheck.run">
498
-        <mkdir dir="${doccheck.dir}"/>
499
-        <javadoc additionalparam="-doclet com.sun.tools.doclets.doccheck.DocCheck -docletpath ${doccheck.path} -skipPkg net.miginfocom.*" author="${javadoc.author}" destdir="${doccheck.dir}" failonerror="true" private="${javadoc.private}" source="${javac.source}" sourcepath="${main.src.dir}:${parser.src.dir}" useexternalfile="true" version="${javadoc.version}">
500
-            <classpath>
501
-                <path path="${javac.classpath}"/>
502
-            </classpath>
503
-            <classpath refid="all.libs"/>
504
-        </javadoc>
505
-    </target>
506
-
507
-    <target name="-doccheck-check">
508
-        <condition property="doccheck.run">
509
-            <and>
510
-                <isset property="doccheck.path"/>
511
-                <isset property="doccheck.dir"/>
512
-                <available file="${doccheck.path}"/>
513
-            </and>
514
-        </condition>
515
-    </target>
516
-
517
-    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
518
-        <nbbrowse file="${dist.javadoc.dir}/index.html"/>
519
-    </target>
520
-    <target depends="init,-javadoc-build,-javadoc-browse,move-javadoc,-doccheck-build" description="Build Javadoc." name="javadoc"/>
521
-    <target depends="-doccheck-build" description="Build Javadoc error report (doccheck)." name="doccheck"/>
522
-    <!--
523
-                =========================
524
-                JUNIT COMPILATION SECTION
525
-                =========================
526
-            -->
527
-    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
528
-        <mkdir dir="${build.test.classes.dir}"/>
529
-    </target>
530
-    <target name="-pre-compile-test">
531
-        <!-- Empty placeholder for easier customization. -->
532
-        <!-- You can override this target in the ../build.xml file. -->
533
-    </target>
534
-    <target if="do.depend.true" name="-compile-test-depend">
535
-        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${main.test.dir}:${parser.test.dir}"/>
536
-    </target>
537
-    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
538
-        <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${main.test.dir}:${parser.test.dir}"/>
539
-        <copy todir="${build.test.classes.dir}">
540
-            <fileset dir="${main.test.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
541
-            <fileset dir="${parser.test.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
542
-        </copy>
543
-    </target>
544
-    <target name="-post-compile-test">
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,-do-compile-test,-post-compile-test" name="compile-test"/>
549
-    <target name="-pre-compile-test-single">
550
-        <!-- Empty placeholder for easier customization. -->
551
-        <!-- You can override this target in the ../build.xml file. -->
552
-    </target>
553
-    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
554
-        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
555
-        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
556
-        <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" sourcepath="${main.test.dir}:${parser.test.dir}" srcdir="${main.test.dir}:${parser.test.dir}"/>
557
-        <copy todir="${build.test.classes.dir}">
558
-            <fileset dir="${main.test.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
559
-            <fileset dir="${parser.test.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
560
-        </copy>
561
-    </target>
562
-    <target name="-post-compile-test-single">
563
-        <!-- Empty placeholder for easier customization. -->
564
-        <!-- You can override this target in the ../build.xml file. -->
565
-    </target>
566
-    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
567
-    <!--
568
-                =======================
569
-                JUNIT EXECUTION SECTION
570
-                =======================
571
-            -->
572
-    <target depends="init" if="have.tests" name="-pre-test-run">
573
-        <mkdir dir="${build.test.results.dir}"/>
574
-    </target>
575
-    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
576
-        <j2seproject3:junit testincludes="**/*Test.java"/>
577
-    </target>
578
-    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
579
-        <fail if="tests.failed">Some tests failed; see details above.</fail>
580
-    </target>
581
-    <target depends="init" if="have.tests" name="test-report"/>
582
-    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
583
-    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
584
-    <target depends="init" if="have.tests" name="-pre-test-run-single">
585
-        <mkdir dir="${build.test.results.dir}"/>
586
-    </target>
587
-    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
588
-        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
589
-        <j2seproject3:junit excludes="" includes="${test.includes}"/>
590
-    </target>
591
-    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
592
-        <fail if="tests.failed">Some tests failed; see details above.</fail>
593
-    </target>
594
-    <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"/>
595
-    <!--
596
-                =======================
597
-                JUNIT DEBUGGING SECTION
598
-                =======================
599
-            -->
600
-    <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
601
-        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
602
-        <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
603
-        <delete file="${test.report.file}"/>
604
-        <mkdir dir="${build.test.results.dir}"/>
605
-        <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}">
606
-            <customize>
607
-                <syspropertyset>
608
-                    <propertyref prefix="test-sys-prop."/>
609
-                    <mapper from="test-sys-prop.*" to="*" type="glob"/>
610
-                </syspropertyset>
611
-                <arg value="${test.class}"/>
612
-                <arg value="showoutput=true"/>
613
-                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
614
-                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
615
-            </customize>
616
-        </j2seproject3:debug>
617
-    </target>
618
-    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
619
-        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
620
-    </target>
621
-    <target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
622
-    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
623
-        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
624
-    </target>
625
-    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
626
-    <!--
627
-                =========================
628
-                APPLET EXECUTION SECTION
629
-                =========================
630
-            -->
631
-    <target depends="init,compile-single" name="run-applet">
632
-        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
633
-        <j2seproject1:java classname="sun.applet.AppletViewer">
634
-            <customize>
635
-                <arg value="${applet.url}"/>
636
-            </customize>
637
-        </j2seproject1:java>
638
-    </target>
639
-    <!--
640
-                =========================
641
-                APPLET DEBUGGING  SECTION
642
-                =========================
643
-            -->
644
-    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
645
-        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
646
-        <j2seproject3:debug classname="sun.applet.AppletViewer">
647
-            <customize>
648
-                <arg value="${applet.url}"/>
649
-            </customize>
650
-        </j2seproject3:debug>
651
-    </target>
652
-    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
653
-    <!--
654
-                ===============
655
-                CLEANUP SECTION
656
-                ===============
657
-            -->
658
-    <target name="deps-clean" unless="no.deps"/>
659
-    <target name="-do-clean">
660
-        <delete dir="build"/>
661
-        <delete dir="dist"/>
662
-    </target>
663
-    <target name="-post-clean">
664
-        <!-- Empty placeholder for easier customization. -->
665
-        <!-- You can override this target in the ../build.xml file. -->
666
-    </target>
667
-    <target depends="deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
668
-</project>

+ 0
- 1
nbproject/configs/Web_UI.properties View File

@@ -1 +0,0 @@
1
-$label=Web UI

+ 0
- 244
nbproject/findbugs.settings View File

@@ -1,244 +0,0 @@
1
-#FindBugs User Preferences
2
-#Wed Jun 02 00:55:40 BST 2010
3
-detectorAbnormalFinallyBlockReturn=AbnormalFinallyBlockReturn|false
4
-detectorAbstractClassEmptyMethods=AbstractClassEmptyMethods|false
5
-detectorAbstractOverriddenMethod=AbstractOverriddenMethod|false
6
-detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true
7
-detectorArrayBasedCollections=ArrayBasedCollections|false
8
-detectorArrayWrappedCallByReference=ArrayWrappedCallByReference|false
9
-detectorBCPMethodReturnCheck=BCPMethodReturnCheck|false
10
-detectorBadAppletConstructor=BadAppletConstructor|false
11
-detectorBadResultSetAccess=BadResultSetAccess|true
12
-detectorBadSyntaxForRegularExpression=BadSyntaxForRegularExpression|true
13
-detectorBadUseOfReturnValue=BadUseOfReturnValue|true
14
-detectorBadlyOverriddenAdapter=BadlyOverriddenAdapter|true
15
-detectorBloatedAssignmentScope=BloatedAssignmentScope|false
16
-detectorBloatedSynchronizedBlock=BloatedSynchronizedBlock|false
17
-detectorBogusExceptionDeclaration=BogusExceptionDeclaration|false
18
-detectorBooleanReturnNull=BooleanReturnNull|true
19
-detectorBuildInterproceduralCallGraph=BuildInterproceduralCallGraph|false
20
-detectorBuildObligationPolicyDatabase=BuildObligationPolicyDatabase|true
21
-detectorCallToUnsupportedMethod=CallToUnsupportedMethod|false
22
-detectorCalledMethods=CalledMethods|true
23
-detectorCheckCalls=CheckCalls|false
24
-detectorCheckExpectedWarnings=CheckExpectedWarnings|false
25
-detectorCheckImmutableAnnotation=CheckImmutableAnnotation|true
26
-detectorCheckTypeQualifiers=CheckTypeQualifiers|true
27
-detectorClassEnvy=ClassEnvy|false
28
-detectorCloneIdiom=CloneIdiom|true
29
-detectorCollectStatistics=CollectStatistics|false
30
-detectorComparatorIdiom=ComparatorIdiom|true
31
-detectorConfusedInheritance=ConfusedInheritance|true
32
-detectorConfusingAutoboxedOverloading=ConfusingAutoboxedOverloading|false
33
-detectorConfusingFunctionSemantics=ConfusingFunctionSemantics|false
34
-detectorConfusionBetweenInheritedAndOuterMethod=ConfusionBetweenInheritedAndOuterMethod|true
35
-detectorConstantListIndex=ConstantListIndex|false
36
-detectorCopiedOverriddenMethod=CopiedOverriddenMethod|false
37
-detectorCrossSiteScripting=CrossSiteScripting|true
38
-detectorCustomBuiltXML=CustomBuiltXML|false
39
-detectorCyclomaticComplexity=CyclomaticComplexity|false
40
-detectorDateComparison=DateComparison|false
41
-detectorDeclaredRuntimeException=DeclaredRuntimeException|false
42
-detectorDeletingWhileIterating=DeletingWhileIterating|false
43
-detectorDeprecatedTypesafeEnumPattern=DeprecatedTypesafeEnumPattern|false
44
-detectorDoInsideDoPrivileged=DoInsideDoPrivileged|true
45
-detectorDontCatchIllegalMonitorStateException=DontCatchIllegalMonitorStateException|true
46
-detectorDontIgnoreResultOfPutIfAbsent=DontIgnoreResultOfPutIfAbsent|true
47
-detectorDontUseEnum=DontUseEnum|true
48
-detectorDroppedException=DroppedException|true
49
-detectorDubiousListCollection=DubiousListCollection|false
50
-detectorDubiousSetOfCollections=DubiousSetOfCollections|false
51
-detectorDumbMethodInvocations=DumbMethodInvocations|true
52
-detectorDumbMethods=DumbMethods|true
53
-detectorDuplicateBranches=DuplicateBranches|true
54
-detectorEmptyZipFileEntry=EmptyZipFileEntry|true
55
-detectorEqStringTest=EqStringTest|false
56
-detectorEqualsOperandShouldHaveClassCompatibleWithThis=EqualsOperandShouldHaveClassCompatibleWithThis|true
57
-detectorExceptionSoftening=ExceptionSoftening|false
58
-detectorFieldCouldBeLocal=FieldCouldBeLocal|false
59
-detectorFieldItemSummary=FieldItemSummary|true
60
-detectorFinalParameters=FinalParameters|false
61
-detectorFinalizerNullsFields=FinalizerNullsFields|true
62
-detectorFindBadCast=FindBadCast|false
63
-detectorFindBadCast2=FindBadCast2|true
64
-detectorFindBadEqualsImplementation=FindBadEqualsImplementation|false
65
-detectorFindBadForLoop=FindBadForLoop|true
66
-detectorFindBugsSummaryStats=FindBugsSummaryStats|true
67
-detectorFindCircularDependencies=FindCircularDependencies|false
68
-detectorFindDeadLocalStores=FindDeadLocalStores|true
69
-detectorFindDoubleCheck=FindDoubleCheck|true
70
-detectorFindEmptySynchronizedBlock=FindEmptySynchronizedBlock|true
71
-detectorFindFieldSelfAssignment=FindFieldSelfAssignment|true
72
-detectorFindFinalizeInvocations=FindFinalizeInvocations|true
73
-detectorFindFloatEquality=FindFloatEquality|true
74
-detectorFindFloatMath=FindFloatMath|false
75
-detectorFindHEmismatch=FindHEmismatch|true
76
-detectorFindInconsistentSync2=FindInconsistentSync2|true
77
-detectorFindJSR166LockMonitorenter=FindJSR166LockMonitorenter|true
78
-detectorFindLocalSelfAssignment2=FindLocalSelfAssignment2|true
79
-detectorFindMaskedFields=FindMaskedFields|true
80
-detectorFindMismatchedWaitOrNotify=FindMismatchedWaitOrNotify|true
81
-detectorFindNakedNotify=FindNakedNotify|true
82
-detectorFindNonSerializableStoreIntoSession=FindNonSerializableStoreIntoSession|true
83
-detectorFindNonSerializableValuePassedToWriteObject=FindNonSerializableValuePassedToWriteObject|true
84
-detectorFindNonShortCircuit=FindNonShortCircuit|true
85
-detectorFindNullDeref=FindNullDeref|true
86
-detectorFindNullDerefsInvolvingNonShortCircuitEvaluation=FindNullDerefsInvolvingNonShortCircuitEvaluation|true
87
-detectorFindOpenStream=FindOpenStream|true
88
-detectorFindPuzzlers=FindPuzzlers|true
89
-detectorFindRefComparison=FindRefComparison|true
90
-detectorFindReturnRef=FindReturnRef|true
91
-detectorFindRunInvocations=FindRunInvocations|true
92
-detectorFindSelfComparison=FindSelfComparison|true
93
-detectorFindSelfComparison2=FindSelfComparison2|true
94
-detectorFindSleepWithLockHeld=FindSleepWithLockHeld|true
95
-detectorFindSpinLoop=FindSpinLoop|true
96
-detectorFindSqlInjection=FindSqlInjection|true
97
-detectorFindTwoLockWait=FindTwoLockWait|true
98
-detectorFindUncalledPrivateMethods=FindUncalledPrivateMethods|true
99
-detectorFindUnconditionalWait=FindUnconditionalWait|true
100
-detectorFindUninitializedGet=FindUninitializedGet|true
101
-detectorFindUnrelatedTypesInGenericContainer=FindUnrelatedTypesInGenericContainer|true
102
-detectorFindUnreleasedLock=FindUnreleasedLock|true
103
-detectorFindUnsatisfiedObligation=FindUnsatisfiedObligation|true
104
-detectorFindUnsyncGet=FindUnsyncGet|true
105
-detectorFindUselessControlFlow=FindUselessControlFlow|true
106
-detectorFloatingPointLoops=FloatingPointLoops|false
107
-detectorFormatStringChecker=FormatStringChecker|true
108
-detectorHugeSharedStringConstants=HugeSharedStringConstants|true
109
-detectorIDivResultCastToDouble=IDivResultCastToDouble|true
110
-detectorInappropriateToStringUse=InappropriateToStringUse|false
111
-detectorIncompatMask=IncompatMask|true
112
-detectorInconsistentAnnotations=InconsistentAnnotations|true
113
-detectorIncorrectInternalClassUse=IncorrectInternalClassUse|false
114
-detectorInefficientMemberAccess=InefficientMemberAccess|false
115
-detectorInefficientStringBuffering=InefficientStringBuffering|false
116
-detectorInefficientToArray=InefficientToArray|true
117
-detectorInfiniteLoop=InfiniteLoop|true
118
-detectorInfiniteRecursiveLoop=InfiniteRecursiveLoop|true
119
-detectorInfiniteRecursiveLoop2=InfiniteRecursiveLoop2|false
120
-detectorInheritanceTypeChecking=InheritanceTypeChecking|false
121
-detectorInheritanceUnsafeGetResource=InheritanceUnsafeGetResource|true
122
-detectorInitializationChain=InitializationChain|true
123
-detectorInstantiateStaticClass=InstantiateStaticClass|true
124
-detectorInvalidJUnitTest=InvalidJUnitTest|true
125
-detectorIteratorIdioms=IteratorIdioms|true
126
-detectorJDBCVendorReliance=JDBCVendorReliance|false
127
-detectorJUnitAssertionOddities=JUnitAssertionOddities|false
128
-detectorLazyInit=LazyInit|true
129
-detectorListIndexedIterating=ListIndexedIterating|false
130
-detectorLiteralStringComparison=LiteralStringComparison|false
131
-detectorLoadOfKnownNullValue=LoadOfKnownNullValue|true
132
-detectorLocalSynchronizedCollection=LocalSynchronizedCollection|false
133
-detectorLockedFields=LockedFields|false
134
-detectorLoggerOddities=LoggerOddities|false
135
-detectorLostExceptionStackTrace=LostExceptionStackTrace|false
136
-detectorLostLoggerDueToWeakReference=LostLoggerDueToWeakReference|true
137
-detectorManualArrayCopy=ManualArrayCopy|false
138
-detectorMethodReturnCheck=MethodReturnCheck|true
139
-detectorMethodReturnsConstant=MethodReturnsConstant|false
140
-detectorMethods=Methods|true
141
-detectorMisleadingOverloadModel=MisleadingOverloadModel|false
142
-detectorMultithreadedInstanceAccess=MultithreadedInstanceAccess|true
143
-detectorMutableLock=MutableLock|true
144
-detectorMutableStaticFields=MutableStaticFields|true
145
-detectorNaming=Naming|true
146
-detectorNeedlessAutoboxing=NeedlessAutoboxing|false
147
-detectorNeedlessCustomSerialization=NeedlessCustomSerialization|false
148
-detectorNeedlessInstanceRetrieval=NeedlessInstanceRetrieval|false
149
-detectorNeedlessMemberCollectionSynchronization=NeedlessMemberCollectionSynchronization|false
150
-detectorNoise=Noise|false
151
-detectorNoiseNullDeref=NoiseNullDeref|false
152
-detectorNonCollectionMethodUse=NonCollectionMethodUse|false
153
-detectorNonOwnedSynchronization=NonOwnedSynchronization|false
154
-detectorNonRecycleableTaglibs=NonRecycleableTaglibs|false
155
-detectorNoteAnnotationRetention=NoteAnnotationRetention|true
156
-detectorNoteCheckReturnValue=NoteCheckReturnValue|true
157
-detectorNoteCheckReturnValueAnnotations=NoteCheckReturnValueAnnotations|true
158
-detectorNoteDirectlyRelevantTypeQualifiers=NoteDirectlyRelevantTypeQualifiers|true
159
-detectorNoteJCIPAnnotation=NoteJCIPAnnotation|true
160
-detectorNoteNonNullAnnotations=NoteNonNullAnnotations|true
161
-detectorNoteNonnullReturnValues=NoteNonnullReturnValues|true
162
-detectorNoteSuppressedWarnings=NoteSuppressedWarnings|true
163
-detectorNoteUnconditionalParamDerefs=NoteUnconditionalParamDerefs|true
164
-detectorNumberConstructor=NumberConstructor|true
165
-detectorOrphanedDOMNode=OrphanedDOMNode|false
166
-detectorOverlyConcreteParameter=OverlyConcreteParameter|false
167
-detectorOverridingEqualsNotSymmetrical=OverridingEqualsNotSymmetrical|true
168
-detectorParallelLists=ParallelLists|false
169
-detectorPartiallyConstructedObjectAccess=PartiallyConstructedObjectAccess|false
170
-detectorPossibleIncompleteSerialization=PossibleIncompleteSerialization|false
171
-detectorPossibleMemoryBloat=PossibleMemoryBloat|false
172
-detectorPossiblyRedundantMethodCalls=PossiblyRedundantMethodCalls|false
173
-detectorPreferZeroLengthArrays=PreferZeroLengthArrays|true
174
-detectorPublicSemaphores=PublicSemaphores|false
175
-detectorQuestionableBooleanAssignment=QuestionableBooleanAssignment|true
176
-detectorReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass=ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass|true
177
-detectorReadReturnShouldBeChecked=ReadReturnShouldBeChecked|true
178
-detectorRedundantInterfaces=RedundantInterfaces|true
179
-detectorReflectiveClasses=ReflectiveClasses|true
180
-detectorRepeatedConditionals=RepeatedConditionals|true
181
-detectorResolveAllReferences=ResolveAllReferences|false
182
-detectorRuntimeExceptionCapture=RuntimeExceptionCapture|true
183
-detectorSQLInLoop=SQLInLoop|false
184
-detectorSection508Compliance=Section508Compliance|false
185
-detectorSerializableIdiom=SerializableIdiom|true
186
-detectorSillynessPotPourri=SillynessPotPourri|false
187
-detectorSloppyClassReflection=SloppyClassReflection|false
188
-detectorSluggishGui=SluggishGui|false
189
-detectorSpoiledChildInterfaceImplementor=SpoiledChildInterfaceImplementor|false
190
-detectorSpuriousThreadStates=SpuriousThreadStates|false
191
-detectorStartInConstructor=StartInConstructor|true
192
-detectorStaticArrayCreatedInMethod=StaticArrayCreatedInMethod|false
193
-detectorStaticCalendarDetector=StaticCalendarDetector|true
194
-detectorStaticMethodInstanceInvocation=StaticMethodInstanceInvocation|false
195
-detectorStringConcatenation=StringConcatenation|true
196
-detectorStutteredMethodArguments=StutteredMethodArguments|false
197
-detectorSuperfluousInstanceOf=SuperfluousInstanceOf|true
198
-detectorSuspiciousCloneAlgorithm=SuspiciousCloneAlgorithm|false
199
-detectorSuspiciousClusteredSessionSupport=SuspiciousClusteredSessionSupport|false
200
-detectorSuspiciousComparatorReturnValues=SuspiciousComparatorReturnValues|false
201
-detectorSuspiciousJDKVersionUse=SuspiciousJDKVersionUse|false
202
-detectorSuspiciousThreadInterrupted=SuspiciousThreadInterrupted|true
203
-detectorSuspiciousUninitializedArray=SuspiciousUninitializedArray|false
204
-detectorSuspiciousWaitOnConcurrentObject=SuspiciousWaitOnConcurrentObject|false
205
-detectorSwitchFallthrough=SwitchFallthrough|true
206
-detectorSyncCollectionIterators=SyncCollectionIterators|false
207
-detectorSynchronizationOnSharedBuiltinConstant=SynchronizationOnSharedBuiltinConstant|true
208
-detectorSynchronizeAndNullCheckField=SynchronizeAndNullCheckField|true
209
-detectorSynchronizeOnClassLiteralNotGetClass=SynchronizeOnClassLiteralNotGetClass|true
210
-detectorSynchronizingOnContentsOfFieldToProtectField=SynchronizingOnContentsOfFieldToProtectField|true
211
-detectorTailRecursion=TailRecursion|false
212
-detectorTestASM=TestASM|false
213
-detectorTestDataflowAnalysis=TestDataflowAnalysis|false
214
-detectorTestingGround=TestingGround|false
215
-detectorTrainFieldStoreTypes=TrainFieldStoreTypes|true
216
-detectorTrainNonNullAnnotations=TrainNonNullAnnotations|true
217
-detectorTrainUnconditionalDerefParams=TrainUnconditionalDerefParams|true
218
-detectorTristateBooleanPattern=TristateBooleanPattern|false
219
-detectorURLProblems=URLProblems|true
220
-detectorUncallableMethodOfAnonymousClass=UncallableMethodOfAnonymousClass|true
221
-detectorUnnecessaryMath=UnnecessaryMath|true
222
-detectorUnnecessaryNewNullCheck=UnnecessaryNewNullCheck|false
223
-detectorUnnecessaryStoreBeforeReturn=UnnecessaryStoreBeforeReturn|false
224
-detectorUnreadFields=UnreadFields|true
225
-detectorUnrelatedCollectionContents=UnrelatedCollectionContents|false
226
-detectorUnrelatedReturnValues=UnrelatedReturnValues|false
227
-detectorUseAddAll=UseAddAll|false
228
-detectorUseCharacterParameterizedMethod=UseCharacterParameterizedMethod|false
229
-detectorUseEnumCollections=UseEnumCollections|false
230
-detectorUseObjectEquals=UseObjectEquals|false
231
-detectorUseSplit=UseSplit|false
232
-detectorUseToArray=UseToArray|false
233
-detectorUselessSubclassMethod=UselessSubclassMethod|false
234
-detectorVarArgsProblems=VarArgsProblems|true
235
-detectorVolatileUsage=VolatileUsage|true
236
-detectorWaitInLoop=WaitInLoop|true
237
-detectorWeakExceptionMessaging=WeakExceptionMessaging|false
238
-detectorWrongMapIterator=WrongMapIterator|true
239
-detectorXMLFactoryBypass=XMLFactoryBypass|true
240
-detector_threshold=2
241
-effort=default
242
-filter_settings=Medium|BAD_PRACTICE,CORRECTNESS,EXPERIMENTAL,I18N,MALICIOUS_CODE,MT_CORRECTNESS,PERFORMANCE,SECURITY,STYLE|false
243
-filter_settings_neg=NOISE|
244
-run_at_full_build=true

+ 0
- 14
nbproject/genfiles.properties View File

@@ -1,14 +0,0 @@
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=bd5a0d51
7
-nbproject/build-impl.xml.script.CRC32=7dae1a01
8
-nbproject/build-impl.xml.stylesheet.CRC32=295adcf5
9
-nbproject/profiler-build-impl.xml.data.CRC32=bd5a0d51
10
-nbproject/profiler-build-impl.xml.script.CRC32=abda56ed
11
-nbproject/profiler-build-impl.xml.stylesheet.CRC32=42cb6bcf
12
-nbproject/build-impl.xml.data.CRC32=0921cb7f
13
-nbproject/build-impl.xml.script.CRC32=5fdf36e8
14
-nbproject/build-impl.xml.stylesheet.CRC32=5c621a33@1.26.2.45

+ 0
- 25
nbproject/licenseheader.txt View File

@@ -1,25 +0,0 @@
1
-<#if licenseFirst??>
2
-${licenseFirst}
3
-</#if>
4
-${licensePrefix}Copyright (c) 2006-2014 DMDirc Developers
5
-${licensePrefix}
6
-${licensePrefix}Permission is hereby granted, free of charge, to any person obtaining a copy
7
-${licensePrefix}of this software and associated documentation files (the "Software"), to deal
8
-${licensePrefix}in the Software without restriction, including without limitation the rights
9
-${licensePrefix}to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
-${licensePrefix}copies of the Software, and to permit persons to whom the Software is
11
-${licensePrefix}furnished to do so, subject to the following conditions:
12
-${licensePrefix}
13
-${licensePrefix}The above copyright notice and this permission notice shall be included in
14
-${licensePrefix}all copies or substantial portions of the Software.
15
-${licensePrefix}
16
-${licensePrefix}THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
-${licensePrefix}IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
-${licensePrefix}FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
-${licensePrefix}AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
-${licensePrefix}LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
-${licensePrefix}OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
-${licensePrefix}SOFTWARE.
23
-<#if licenseLast??>
24
-${licenseLast}
25
-</#if>

+ 0
- 12
nbproject/pmd.settings View File

@@ -1,12 +0,0 @@
1
-DoNotUseThreads
2
-NullAssignment
3
-LongVariable
4
-ShortVariable
5
-AvoidUsingVolitile
6
-AvoidInstantiatingObjectsInLoops
7
-AbstractNaming
8
-ConstructorCallsOverridableMethod
9
-BeanMembersShouldSerialize
10
-AvoidInlineConditionals
11
-OnlyOneReturn
12
-ConstructorCallsOverridableMethod

+ 0
- 129
nbproject/project.properties View File

@@ -1,129 +0,0 @@
1
-annotation.processing.enabled=true
2
-annotation.processing.enabled.in.editor=true
3
-annotation.processing.processors.list=
4
-annotation.processing.run.all.processors=true
5
-auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs=true
6
-auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width=4
7
-auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab=4
8
-auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.tab-size=8
9
-auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width=100
10
-auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap=none
11
-auxiliary.org-netbeans-modules-editor-indent.CodeStyle.usedProfile=project
12
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.alignJavadocExceptionDescriptions=true
13
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.alignJavadocParameterDescriptions=true
14
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.alignJavadocReturnDescription=true
15
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.allowConvertToStarImport=false
16
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.blankLineAfterJavadocParameterDescriptions=true
17
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.blankLineAfterJavadocReturnTag=true
18
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.blankLinesBeforeClassClosingBrace=1
19
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.blankLinesBeforePackage=1
20
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.classMembersOrder=STATIC_INIT;STATIC FIELD;FIELD;INSTANCE_INIT;CONSTRUCTOR;METHOD;STATIC METHOD;STATIC CLASS;CLASS
21
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.countForUsingStaticStarImport=1
22
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.enableBlockCommentFormatting=true
23
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.expand-tabs=true
24
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.importGroupsOrder=com.dmdirc;com.google;java;javax;net.miginfocom;org;*;static *
25
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.indent-shift-width=4
26
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.separateStaticImports=true
27
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.spaces-per-tab=4
28
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.tab-size=8
29
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.text-limit-width=100
30
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.text-line-wrap=words
31
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapAnnotationArgs=WRAP_IF_LONG
32
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapAnnotations=WRAP_IF_LONG
33
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapArrayInit=WRAP_IF_LONG
34
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapAssert=WRAP_IF_LONG
35
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapAssignOps=WRAP_IF_LONG
36
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapBinaryOps=WRAP_IF_LONG
37
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapChainedMethodCalls=WRAP_IF_LONG
38
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapDisjunctiveCatchTypes=WRAP_IF_LONG
39
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapDoWhileStatement=WRAP_IF_LONG
40
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapEnumConstants=WRAP_IF_LONG
41
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapExtendsImplementsKeyword=WRAP_IF_LONG
42
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapExtendsImplementsList=WRAP_IF_LONG
43
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapFor=WRAP_IF_LONG
44
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapForStatement=WRAP_IF_LONG
45
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapIfStatement=WRAP_IF_LONG
46
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapMethodCallArgs=WRAP_IF_LONG
47
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapMethodParams=WRAP_IF_LONG
48
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapOneLineComment=false
49
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapTernaryOps=WRAP_IF_LONG
50
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapThrowsKeyword=WRAP_IF_LONG
51
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapThrowsList=WRAP_IF_LONG
52
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapTryResources=WRAP_IF_LONG
53
-auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.wrapWhileStatement=WRAP_IF_LONG
54
-auxiliary.org-netbeans-spi-editor-hints-projects.perProjectHintSettingsFile=nbproject/cfg_hints.xml
55
-endorsed.classpath=
56
-javac.classpath=
57
-javac.processorpath=\
58
-    ${javac.classpath}
59
-javac.test.classpath=
60
-jaxbwiz.endorsed.dirs="${netbeans.home}/../ide12/modules/ext/jaxb/api"
61
-mkdist.disabled=false
62
-project.license=dmdirc
63
-application.title=DMDirc
64
-application.vendor=chris
65
-build.generated.sources.dir=${build.dir}/generated-sources
66
-project.licensePath=./nbproject/licenseheader.txt
67
-source.encoding=UTF-8
68
-doccheck.path=doccheck.jar
69
-doccheck.dir=reports/doccheck/
70
-
71
-# application.args=
72
-build.classes.dir=${build.dir}/classes
73
-build.classes.excludes=**/*.java,**/*.form,**/*.svg,**/*.xcf,**/*.sh
74
-# This directory is removed when the project is cleaned:
75
-build.dir=build
76
-build.generated.dir=${build.dir}/generated
77
-# Only compile against the classpath explicitly listed here:
78
-build.sysclasspath=ignore
79
-build.test.classes.dir=${build.dir}/test/classes
80
-build.test.results.dir=${build.dir}/test/results
81
-# This directory is removed when the project is cleaned:
82
-dist.dir=dist
83
-dist.jar=${dist.dir}/DMDirc.jar
84
-dist.javadoc.dir=${dist.dir}/javadoc
85
-dist.jar.excludes=com/dmdirc/addons/**,com/dmdirc/parser/irc/**
86
-excludes=
87
-includes=**
88
-jar.compress=false
89
-# Space-separated list of extra javac options
90
-javac.compilerargs=-Xlint:all -Xmaxerrs 1000 -Xmaxwarns 1000
91
-javac.deprecation=true
92
-javac.source=1.7
93
-javac.target=1.7
94
-javadoc.additionalparam=-overview ${main.src.dir}/overview.html
95
-javadoc.author=false
96
-javadoc.encoding=
97
-javadoc.noindex=false
98
-javadoc.nonavbar=false
99
-javadoc.notree=false
100
-javadoc.private=false
101
-javadoc.splitindex=true
102
-javadoc.use=true
103
-javadoc.version=false
104
-javadoc.windowtitle=DMDirc
105
-main.class=com.dmdirc.Main
106
-manifest.file=manifest.mf
107
-meta.inf.dir=${main.src.dir}/META-INF
108
-platform.active=default_platform
109
-
110
-main.src.dir=src
111
-main.test.dir=test
112
-parser.src.dir=modules/parser/src
113
-parser.test.dir=modules/parser/test
114
-
115
-# Classpaths
116
-# The plugin libraries are automatically added at compile time by the javac
117
-# task.
118
-# However netbeans fails miserably at understanding this in the IDE, so we
119
-# have the private.classpath variable that will be updated in dynamic.propeties
120
-# automatically by ant.
121
-run.classpath=\
122
-    ${javac.classpath}:\
123
-    ${build.classes.dir}
124
-run.test.classpath=\
125
-    ${javac.test.classpath}:\
126
-    ${build.test.classes.dir}
127
-debug.classpath=${run.classpath}
128
-debug.test.classpath=\
129
-    ${run.test.classpath}

+ 0
- 24
nbproject/project.xml View File

@@ -1,24 +0,0 @@
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="main.src.dir" name="Main Source"/>
10
-                <root id="parser.src.dir" name="Parser Source"/>
11
-            </source-roots>
12
-            <test-roots>
13
-                <root id="main.test.dir" name="Main Test Packages"/>
14
-                <root id="parser.test.dir" name="Parser Test Packages"/>
15
-            </test-roots>
16
-        </data>
17
-        <junit-version xmlns="http://www.netbeans.org/ns/junit/1" value="junit4"/>
18
-        <spellchecker-wordlist xmlns="http://www.netbeans.org/ns/spellchecker-wordlist/1">
19
-            <word>config</word>
20
-            <word>iff</word>
21
-            <word>validator</word>
22
-        </spellchecker-wordlist>
23
-    </configuration>
24
-</project>

Loading…
Cancel
Save