Browse Source

Remove old build files


git-svn-id: http://svn.dmdirc.com/trunk@4591 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6
Chris Smith 16 years ago
parent
commit
5eafeb64ae
5 changed files with 0 additions and 260 deletions
  1. 0
    180
      checkstyle/build.xml
  2. 0
    1
      checkstyle/style_build.xml
  3. 0
    17
      doreports.xml
  4. 0
    61
      junitreport.xml
  5. 0
    1
      style_build.xml

+ 0
- 180
checkstyle/build.xml View File

@@ -1,180 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project name="DMDirc" default="default" basedir=".">
3
-    <!--
4
-
5
-    THIS FILE IS DEPRECATED. THE TASKS HAVE BEEN INTEGRATED INTO THE MAIN
6
-    DMDIRC BUILD FILE. IT WILL BE REMOVED IN THE FUTURE. STOP USING IT.
7
-
8
-    -->
9
-
10
-    <description>Builds, tests, and runs the project DMDirc.</description>
11
-    <import file="nbproject/build-impl.xml"/>    
12
-    <target name="checkstyle" depends=" 
13
-                    checkstyle-all, 
14
-                    checkstyle-actions,
15
-                    checkstyle-core,
16
-                    checkstyle-commandparser,
17
-                    checkstyle-config,
18
-                    checkstyle-logger,
19
-                    checkstyle-parser,
20
-                    checkstyle-plugins,
21
-                    checkstyle-ui,
22
-                    remove-xml-files, move-index" /> 
23
-    <target name="allreports" depends="findbugs, cpd, pmd, checkstyle" /> 
24
-    <target name="mostreports" depends="cpd, pmd, checkstyle" /> 
25
-    
26
-    <target name="checkstyle-plugins">
27
-        <taskdef resource="checkstyletask.properties"
28
-                         classpath="checkstyle-all-4.3.jar"/>
29
-        <checkstyle config="checkstyle/dmdirc_checks.xml" failureProperty="checkstyle.failure"
30
-                                failOnViolation="false">
31
-            <fileset dir="src/com/dmdirc/plugins/" includes="**/*.java"/>
32
-            <formatter type="xml" tofile="reports/report-plugins.xml"/>
33
-            
34
-        </checkstyle>
35
-        <xslt in="reports/report-plugins.xml" out="reports/report-plugins.html" style="checkstyle/checkstyle.xsl"/>
36
-    </target>
37
-    
38
-    <target name="checkstyle-actions">
39
-        <taskdef resource="checkstyletask.properties"
40
-                         classpath="checkstyle.jar"/>
41
-        <checkstyle config="checkstyle/dmdirc_checks.xml" failureProperty="checkstyle.failure"
42
-                                failOnViolation="false">
43
-            <fileset dir="src/com/dmdirc/actions/" includes="**/*.java"/>
44
-            <formatter type="xml" tofile="reports/report-actions.xml"/>
45
-            
46
-        </checkstyle>
47
-        <xslt in="reports/report-actions.xml" out="reports/report-actions.html" style="checkstyle/checkstyle.xsl"/>
48
-    </target>            
49
-    
50
-    <target name="checkstyle-ui">
51
-        <taskdef resource="checkstyletask.properties"
52
-                         classpath="checkstyle.jar"/>
53
-        <checkstyle config="checkstyle/dmdirc_checks.xml" failureProperty="checkstyle.failure"
54
-                                failOnViolation="false">
55
-            <fileset dir="src/com/dmdirc/ui/" includes="**/*.java"/>
56
-            <formatter type="xml" tofile="reports/report-ui.xml"/>
57
-        </checkstyle>
58
-        
59
-        <xslt in="reports/report-ui.xml" out="reports/report-ui.html" style="checkstyle/checkstyle.xsl"/>
60
-    </target>
61
-    
62
-    <target name="checkstyle-parser">
63
-        <taskdef resource="checkstyletask.properties"
64
-                         classpath="checkstyle.jar"/>
65
-        <checkstyle config="checkstyle/dmdirc_checks.xml" failureProperty="checkstyle.failure"
66
-                                failOnViolation="false">
67
-            <fileset dir="src/com/dmdirc/parser/" includes="**/*.java"/>
68
-            <formatter type="xml" tofile="reports/report-parser.xml"/>
69
-        </checkstyle>
70
-        <xslt in="reports/report-parser.xml" out="reports/report-parser.html" style="checkstyle/checkstyle.xsl"/>
71
-        
72
-    </target>
73
-    
74
-    <target name="checkstyle-logger">
75
-        <taskdef resource="checkstyletask.properties"
76
-                         classpath="checkstyle.jar"/>
77
-        <checkstyle config="checkstyle/dmdirc_checks.xml" failureProperty="checkstyle.failure"
78
-                                failOnViolation="false">
79
-            <fileset dir="src/com/dmdirc/logger/" includes="**/*.java"/>
80
-            <formatter type="xml" tofile="reports/report-logger.xml"/>
81
-        </checkstyle>
82
-        <xslt in="reports/report-logger.xml" out="reports/report-logger.html" style="checkstyle/checkstyle.xsl"/>
83
-    </target>
84
-    
85
-    
86
-    <target name="checkstyle-config">
87
-        <taskdef resource="checkstyletask.properties"
88
-                         classpath="checkstyle.jar"/>
89
-        <checkstyle config="checkstyle/dmdirc_checks.xml" failureProperty="checkstyle.failure"
90
-                                failOnViolation="false">
91
-            <fileset dir="src/com/dmdirc/config/" includes="**/*.java"/>
92
-            <formatter type="xml" tofile="reports/report-config.xml"/>
93
-        </checkstyle>
94
-        <xslt in="reports/report-config.xml" out="reports/report-config.html" style="checkstyle/checkstyle.xsl"/>
95
-    </target>
96
-    
97
-    <target name="checkstyle-commandparser">
98
-        
99
-        <taskdef resource="checkstyletask.properties"
100
-                         classpath="checkstyle.jar"/>
101
-        <checkstyle config="checkstyle/dmdirc_checks.xml" failureProperty="checkstyle.failure"
102
-                                failOnViolation="false">
103
-            <fileset dir="src/com/dmdirc/commandparser/" includes="**/*.java"/>
104
-            <formatter type="xml" tofile="reports/report-commandparser.xml"/>
105
-        </checkstyle>
106
-        <xslt in="reports/report-commandparser.xml" out="reports/report-commandparser.html" style="checkstyle/checkstyle.xsl"/>
107
-    </target>
108
-    
109
-    <target name="checkstyle-core">
110
-        <taskdef resource="checkstyletask.properties"
111
-                         classpath="checkstyle.jar"/>
112
-        
113
-        <checkstyle config="checkstyle/dmdirc_checks.xml" failureProperty="checkstyle.failure"
114
-                                failOnViolation="false">
115
-            <fileset dir="src/com/dmdirc/" includes="*.java"/>
116
-            <formatter type="xml" tofile="reports/report-core.xml"/>
117
-        </checkstyle>
118
-        <xslt in="reports/report-core.xml" out="reports/report-core.html" style="checkstyle/checkstyle.xsl"/>
119
-    </target>
120
-    
121
-    <target name="checkstyle-all">
122
-        <taskdef resource="checkstyletask.properties"
123
-                         classpath="checkstyle.jar"/>
124
-        <checkstyle config="checkstyle/dmdirc_checks.xml" failureProperty="checkstyle.failure"
125
-                                failOnViolation="false">
126
-            
127
-            <fileset dir="src/com/dmdirc/" includes="**/*.java"/>
128
-            <formatter type="xml" tofile="reports/report-all.xml"/>
129
-        </checkstyle>
130
-        <xslt in="reports/report-all.xml" out="reports/report-all.html" style="checkstyle/checkstyle.xsl"/>
131
-    </target>
132
-    
133
-    <target name="remove-xml-files">
134
-        <delete>
135
-            <fileset dir="reports/" includes="*.xml"/>
136
-        </delete>
137
-        
138
-    </target>
139
-    <target name="move-index">
140
-        <!-- <copy file="checkstyle/index.html" tofile="reports/index.html"/> -->
141
-        <copy file="checkstyle/sorttable.js" tofile="reports/sorttable.js"/>
142
-    </target>
143
-    
144
-    <target name="pmd">
145
-        <taskdef name="pmd" classpath="pmd-3.9.jar" 
146
-                         classname="net.sourceforge.pmd.ant.PMDTask" />
147
-        <pmd shortFilenames="true">
148
-            
149
-            <ruleset>checkstyle/pmd_checks.xml</ruleset>
150
-            <formatter type="xml" toFile="reports/report-pmd.xml" linkPrefix="http://pmd.sourceforge.net/xref/"/>
151
-            <fileset dir="src/com/" includes="**/*.java" />
152
-        </pmd>
153
-        <xslt in="reports/report-pmd.xml" style="checkstyle/pmd.xslt" out="reports/report-pmd.html" />
154
-    </target>
155
-    
156
-    <target name="cpd">
157
-        <taskdef name="cpd" classpath="pmd-3.9.jar" classname="net.sourceforge.pmd.cpd.CPDTask" />
158
-        
159
-        <cpd format="xml" minimumTokenCount="50" outputFile="reports/report-cpd.xml">
160
-            <fileset dir="src/com/">
161
-                <include name="**/*.java"/>
162
-            </fileset>
163
-        </cpd>
164
-        <xslt in="reports/report-cpd.xml" style="checkstyle/cpd.xslt" out="reports/report-cpd.html" />
165
-    </target>
166
-    
167
-    <target name="findbugs" depends="jar">
168
-        <mkdir dir="reports/findbugs" />
169
-        <taskdef name="findbugs" classpath="findbugs-ant.jar"
170
-                         classname="edu.umd.cs.findbugs.anttask.FindBugsTask" />
171
-        <findbugs home="/usr/share/java/findbugs/" effort="max"
172
-                            jvmargs="-Xmx512M"
173
-                            output="xml:withMessages"
174
-                             outputFile="reports/findbugs/report-fb.xml" reportLevel="low">
175
-            <sourcePath path="src/" />
176
-            <class location="dist/DMDirc.jar" />
177
-        </findbugs>
178
-        <xslt in="reports/findbugs/report-fb.xml" style="checkstyle/findbugs.xslt" out="reports/report-fb.html" />
179
-    </target>
180
-</project>

+ 0
- 1
checkstyle/style_build.xml View File

@@ -1 +0,0 @@
1
-build.xml

+ 0
- 17
doreports.xml View File

@@ -1,17 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project name="DMDirc" default="default" basedir=".">
3
-    <!--
4
-
5
-    THIS FILE IS DEPRECATED. THE TASKS HAVE BEEN INTEGRATED INTO THE MAIN
6
-    DMDIRC BUILD FILE. IT WILL BE REMOVED IN THE FUTURE. STOP USING IT.
7
-
8
-    -->
9
-
10
-    <description>Builds, tests, and runs the project DMDirc.</description>
11
-    <import file="junitreport.xml" />
12
-    <import file="style_build.xml" />
13
-		<target name="doallreports" depends="test-both,allreports,javadoc" />
14
-		<target name="domostreports" depends="test-both,mostreports,javadoc" />
15
-</project>
16
-
17
-

+ 0
- 61
junitreport.xml View File

@@ -1,61 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project name="DMDirc" default="default" basedir=".">
3
-    <!--
4
-
5
-    THIS FILE IS DEPRECATED. THE TASKS HAVE BEEN INTEGRATED INTO THE MAIN
6
-    DMDIRC BUILD FILE. IT WILL BE REMOVED IN THE FUTURE. STOP USING IT.
7
-
8
-    -->
9
-
10
-    <description>Builds, tests, and runs the project DMDirc.</description>
11
-
12
-    <property name="clover.jar" location="/home/dmdirc/clover/clover/lib/clover.jar"/>
13
-    <taskdef resource="cloverlib.xml" classpath="${clover.jar}"/>
14
-    <available property="clover.installed" classname="com.cenqua.clover.CloverInstr" />
15
-
16
-    <target name="with.clover" depends="clean" if="clover.installed">
17
-        <clover-clean/>
18
-        <clover-setup>
19
-            <fileset dir="src/com/" includes="**/*.java" />
20
-            <fileset dir="test/com/">
21
-                <include name="**/*.java" />
22
-                <exclude name="**/harness/**/*.java" />
23
-            </fileset>
24
-        </clover-setup>
25
-    </target>
26
-
27
-    <target name="clover.xml" if="clover.installed">
28
-        <mkdir dir="reports/clover" />
29
-        <clover-report>
30
-            <current outfile="reports/clover/clover.xml"/>
31
-        </clover-report>
32
-    </target>
33
-
34
-    <target name="clover.html" if="clover.installed">
35
-        <mkdir dir="reports/clover" />
36
-        <mkdir dir="reports/clover/history" />
37
-        <clover-historypoint historydir="reports/clover/history" />
38
-        <clover-report>
39
-            <current outfile="reports/clover">
40
-                <format type="html"/>
41
-             </current>
42
-             <historical outfile="reports/clover" historydir="reports/clover/history" />
43
-        </clover-report>
44
-    </target>
45
-
46
-    <import file="build.xml"/>
47
-    <property name="test.reports" value="./junitreports" />
48
-
49
-   <target name="test-html" depends="with.clover,compile-test,test,clover.html"/>
50
-   <target name="test-xml" depends="with.clover,compile-test,test,clover.xml"/>
51
-   <target name="test-both" depends="test-html,test-xml"/>
52
-   <target name="-post-test-run">
53
-      <mkdir dir="${test.reports}" />
54
-      <junitreport todir="${test.reports}">
55
-        <fileset dir="${build.test.results.dir}">
56
-          <include name="TEST-*.xml" />
57
-        </fileset>
58
-        <report todir="${test.reports}" />
59
-      </junitreport>
60
-    </target>
61
-</project>

+ 0
- 1
style_build.xml View File

@@ -1 +0,0 @@
1
-checkstyle/style_build.xml

Loading…
Cancel
Save