|
19 | 19 | <pathelement location="lib/jfreechart-1.0.19.jar"/>
|
20 | 20 | <pathelement location="lib/servlet.jar"/>
|
21 | 21 | <pathelement location="lib/ant-junit.jar"/>
|
| 22 | + <pathelement location="lib/commons-math3-3.6.jar"/> |
22 | 23 | </path>
|
23 | 24 | <target name="init">
|
24 | 25 | <mkdir dir="bin"/>
|
|
56 | 57 | <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
|
57 | 58 | <antcall target="build"/>
|
58 | 59 | </target>
|
59 |
| - <target name="CrawlerTest"> |
60 |
| - <mkdir dir="${junit.output.dir}"/> |
61 |
| - <junit fork="yes" printsummary="withOutAndErr"> |
62 |
| - <formatter type="xml"/> |
63 |
| - <test name="com.flatironschool.javacs.CrawlerTest" todir="${junit.output.dir}"/> |
64 |
| - <classpath refid="JavaCS.classpath"/> |
65 |
| - </junit> |
66 |
| - </target> |
67 |
| - <target name="Indexer (1)"> |
68 |
| - <java classname="com.flatironschool.javacs.Indexer" failonerror="true" fork="yes"> |
69 |
| - <classpath refid="JavaCS.classpath"/> |
70 |
| - </java> |
71 |
| - </target> |
72 |
| - <target name="ListLinks"> |
73 |
| - <java classname="com.flatironschool.javacs.ListLinks" failonerror="true" fork="yes"> |
74 |
| - <classpath refid="JavaCS.classpath"/> |
75 |
| - </java> |
76 |
| - </target> |
77 |
| - <target name="Crawler"> |
78 |
| - <java classname="com.flatironschool.javacs.Crawler" failonerror="true" fork="yes"> |
| 60 | + <target name="Profiler"> |
| 61 | + <java classname="com.flatironschool.javacs.Profiler" failonerror="true" fork="yes"> |
79 | 62 | <classpath refid="JavaCS.classpath"/>
|
80 | 63 | </java>
|
81 | 64 | </target>
|
82 |
| - <target name="ListClientExample"> |
83 |
| - <java classname="com.flatironschool.javacs.ListClientExample" failonerror="true" fork="yes"> |
| 65 | + <target name="SelectionSort"> |
| 66 | + <java classname="com.flatironschool.javacs.SelectionSort" failonerror="true" fork="yes"> |
84 | 67 | <classpath refid="JavaCS.classpath"/>
|
85 | 68 | </java>
|
86 | 69 | </target>
|
|
92 | 75 | <classpath refid="JavaCS.classpath"/>
|
93 | 76 | </junit>
|
94 | 77 | </target>
|
95 |
| - <target name="MyArrayList"> |
96 |
| - <java classname="com.flatironschool.javacs.MyArrayList" failonerror="true" fork="yes"> |
| 78 | + <target name="PieChart"> |
| 79 | + <java classname="com.flatironschool.javacs.PieChart" failonerror="true" fork="yes"> |
97 | 80 | <classpath refid="JavaCS.classpath"/>
|
98 | 81 | </java>
|
99 | 82 | </target>
|
100 |
| - <target name="test"> |
| 83 | + <target name="MyLinkedListTest.testAddT"> |
101 | 84 | <mkdir dir="${junit.output.dir}"/>
|
102 | 85 | <junit fork="yes" printsummary="withOutAndErr">
|
103 | 86 | <formatter type="xml"/>
|
104 |
| - <formatter type="plain" usefile="no"/> |
105 |
| - <test name="com.flatironschool.javacs.MyArrayListTest" todir="${junit.output.dir}"/> |
| 87 | + <test name="com.flatironschool.javacs.MyLinkedListTest" todir="${junit.output.dir}"/> |
106 | 88 | <classpath refid="JavaCS.classpath"/>
|
107 | 89 | </junit>
|
108 | 90 | </target>
|
109 |
| - <target name="SelectionSort"> |
110 |
| - <java classname="com.flatironschool.javacs.SelectionSort" failonerror="true" fork="yes"> |
| 91 | + <target name="XYLogAxesDemo"> |
| 92 | + <java classname="com.flatironschool.javacs.XYLogAxesDemo" failonerror="true" fork="yes"> |
111 | 93 | <classpath refid="JavaCS.classpath"/>
|
112 | 94 | </java>
|
113 | 95 | </target>
|
114 |
| - <target name="MyArrayListSoln"> |
115 |
| - <java classname="com.flatironschool.javacs.MyArrayListSoln" failonerror="true" fork="yes"> |
| 96 | + <target name="LineChart_AWT"> |
| 97 | + <java classname="com.flatironschool.javacs.LineChart_AWT" failonerror="true" fork="yes"> |
116 | 98 | <classpath refid="JavaCS.classpath"/>
|
117 | 99 | </java>
|
118 | 100 | </target>
|
119 |
| - <target name="MyArrayListTest.testGet"> |
| 101 | + <target name="CrawlerTest"> |
120 | 102 | <mkdir dir="${junit.output.dir}"/>
|
121 | 103 | <junit fork="yes" printsummary="withOutAndErr">
|
122 | 104 | <formatter type="xml"/>
|
123 |
| - <test name="com.flatironschool.javacs.MyArrayListTest" todir="${junit.output.dir}"/> |
| 105 | + <test name="com.flatironschool.javacs.CrawlerTest" todir="${junit.output.dir}"/> |
124 | 106 | <classpath refid="JavaCS.classpath"/>
|
125 | 107 | </junit>
|
126 | 108 | </target>
|
127 |
| - <target name="MyArrayListTest.testIndexOf"> |
| 109 | + <target name="MyLinkedList"> |
| 110 | + <java classname="com.flatironschool.javacs.MyLinkedList" failonerror="true" fork="yes"> |
| 111 | + <classpath refid="JavaCS.classpath"/> |
| 112 | + </java> |
| 113 | + </target> |
| 114 | + <target name="MyLinkedListTest"> |
128 | 115 | <mkdir dir="${junit.output.dir}"/>
|
129 | 116 | <junit fork="yes" printsummary="withOutAndErr">
|
130 | 117 | <formatter type="xml"/>
|
131 |
| - <test name="com.flatironschool.javacs.MyArrayListTest" todir="${junit.output.dir}"/> |
| 118 | + <test name="com.flatironschool.javacs.MyLinkedListTest" todir="${junit.output.dir}"/> |
132 | 119 | <classpath refid="JavaCS.classpath"/>
|
133 | 120 | </junit>
|
134 | 121 | </target>
|
135 |
| - <target name="PieChart"> |
136 |
| - <java classname="com.flatironschool.javacs.PieChart" failonerror="true" fork="yes"> |
| 122 | + <target name="ListClientExample"> |
| 123 | + <java classname="com.flatironschool.javacs.ListClientExample" failonerror="true" fork="yes"> |
137 | 124 | <classpath refid="JavaCS.classpath"/>
|
138 | 125 | </java>
|
139 | 126 | </target>
|
140 |
| - <target name="LineChart_AWT"> |
141 |
| - <java classname="com.flatironschool.javacs.LineChart_AWT" failonerror="true" fork="yes"> |
| 127 | + <target depends="build,MyArrayListTest" name="test"/> |
| 128 | + <target name="MyArrayListTest"> |
| 129 | + <mkdir dir="${junit.output.dir}"/> |
| 130 | + <junit fork="yes" printsummary="withOutAndErr"> |
| 131 | + <formatter type="xml"/> |
| 132 | + <formatter type="plain" usefile="false"/> |
| 133 | + <test name="com.flatironschool.javacs.MyArrayListTest" todir="${junit.output.dir}"/> |
142 | 134 | <classpath refid="JavaCS.classpath"/>
|
143 |
| - </java> |
| 135 | + </junit> |
144 | 136 | </target>
|
145 |
| - <target name="Profiler"> |
146 |
| - <java classname="com.flatironschool.javacs.Profiler" failonerror="true" fork="yes"> |
| 137 | + <target name="Indexer (1)"> |
| 138 | + <java classname="com.flatironschool.javacs.Indexer" failonerror="true" fork="yes"> |
147 | 139 | <classpath refid="JavaCS.classpath"/>
|
148 | 140 | </java>
|
149 | 141 | </target>
|
150 |
| - <target name="XYLogAxesDemo"> |
151 |
| - <java classname="com.flatironschool.javacs.XYLogAxesDemo" failonerror="true" fork="yes"> |
| 142 | + <target name="ListLinks"> |
| 143 | + <java classname="com.flatironschool.javacs.ListLinks" failonerror="true" fork="yes"> |
152 | 144 | <classpath refid="JavaCS.classpath"/>
|
153 | 145 | </java>
|
154 | 146 | </target>
|
155 |
| - <target name="MyLinkedListTest"> |
| 147 | + <target name="MyLinkedListTest.testAddIntT"> |
156 | 148 | <mkdir dir="${junit.output.dir}"/>
|
157 | 149 | <junit fork="yes" printsummary="withOutAndErr">
|
158 | 150 | <formatter type="xml"/>
|
159 | 151 | <test name="com.flatironschool.javacs.MyLinkedListTest" todir="${junit.output.dir}"/>
|
160 | 152 | <classpath refid="JavaCS.classpath"/>
|
161 | 153 | </junit>
|
162 | 154 | </target>
|
163 |
| - <target name="MyLinkedList"> |
164 |
| - <java classname="com.flatironschool.javacs.MyLinkedList" failonerror="true" fork="yes"> |
| 155 | + <target name="MyArrayList"> |
| 156 | + <java classname="com.flatironschool.javacs.MyArrayList" failonerror="true" fork="yes"> |
165 | 157 | <classpath refid="JavaCS.classpath"/>
|
166 | 158 | </java>
|
167 | 159 | </target>
|
168 |
| - <target name="MyLinkedListTest.testAddT"> |
| 160 | + <target name="LinkedListExample"> |
| 161 | + <java classname="com.flatironschool.javacs.LinkedListExample" failonerror="true" fork="yes"> |
| 162 | + <classpath refid="JavaCS.classpath"/> |
| 163 | + </java> |
| 164 | + </target> |
| 165 | + <target name="MyArrayListTest.testIndexOf"> |
169 | 166 | <mkdir dir="${junit.output.dir}"/>
|
170 | 167 | <junit fork="yes" printsummary="withOutAndErr">
|
171 | 168 | <formatter type="xml"/>
|
172 |
| - <test name="com.flatironschool.javacs.MyLinkedListTest" todir="${junit.output.dir}"/> |
| 169 | + <test name="com.flatironschool.javacs.MyArrayListTest" todir="${junit.output.dir}"/> |
173 | 170 | <classpath refid="JavaCS.classpath"/>
|
174 | 171 | </junit>
|
175 | 172 | </target>
|
176 |
| - <target name="MyLinkedListTest.testAddIntT"> |
| 173 | + <target name="Crawler"> |
| 174 | + <java classname="com.flatironschool.javacs.Crawler" failonerror="true" fork="yes"> |
| 175 | + <classpath refid="JavaCS.classpath"/> |
| 176 | + </java> |
| 177 | + </target> |
| 178 | + <target name="MyArrayListTest.testGet"> |
177 | 179 | <mkdir dir="${junit.output.dir}"/>
|
178 | 180 | <junit fork="yes" printsummary="withOutAndErr">
|
179 | 181 | <formatter type="xml"/>
|
180 |
| - <test name="com.flatironschool.javacs.MyLinkedListTest" todir="${junit.output.dir}"/> |
| 182 | + <test name="com.flatironschool.javacs.MyArrayListTest" todir="${junit.output.dir}"/> |
181 | 183 | <classpath refid="JavaCS.classpath"/>
|
182 | 184 | </junit>
|
183 | 185 | </target>
|
| 186 | + <target name="MyLinkedListSoln"> |
| 187 | + <java classname="com.flatironschool.javacs.MyLinkedListSoln" failonerror="true" fork="yes"> |
| 188 | + <classpath refid="JavaCS.classpath"/> |
| 189 | + </java> |
| 190 | + </target> |
| 191 | + <target name="MyArrayListSoln"> |
| 192 | + <java classname="com.flatironschool.javacs.MyArrayListSoln" failonerror="true" fork="yes"> |
| 193 | + <classpath refid="JavaCS.classpath"/> |
| 194 | + </java> |
| 195 | + </target> |
| 196 | + <target name="ProfileAdd"> |
| 197 | + <java classname="com.flatironschool.javacs.ProfileAdd" failonerror="true" fork="yes"> |
| 198 | + <classpath refid="JavaCS.classpath"/> |
| 199 | + </java> |
| 200 | + </target> |
| 201 | + <target name="HelloJedis"> |
| 202 | + <java classname="com.flatironschool.javacs.HelloJedis" failonerror="true" fork="yes"> |
| 203 | + <classpath refid="JavaCS.classpath"/> |
| 204 | + </java> |
| 205 | + </target> |
| 206 | + <target name="WikiParser"> |
| 207 | + <java classname="com.flatironschool.javacs.WikiParser" failonerror="true" fork="yes"> |
| 208 | + <classpath refid="JavaCS.classpath"/> |
| 209 | + </java> |
| 210 | + </target> |
| 211 | + <target name="WikiPhilosophy"> |
| 212 | + <java classname="com.flatironschool.javacs.WikiPhilosophy" failonerror="true" fork="yes"> |
| 213 | + <classpath refid="JavaCS.classpath"/> |
| 214 | + </java> |
| 215 | + </target> |
184 | 216 | <target name="junitreport">
|
185 | 217 | <junitreport todir="${junit.output.dir}">
|
186 | 218 | <fileset dir="${junit.output.dir}">
|
|
0 commit comments