|
| 1 | +<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | +<!-- WARNING: Eclipse auto-generated file. |
| 3 | + Any modifications will be overwritten. |
| 4 | + To include a user specific buildfile here, simply create one in the same |
| 5 | + directory with the processing instruction <?eclipse.ant.import?> |
| 6 | + as the first entry and export the buildfile again. --><project basedir="." default="build" name="JavaCS"> |
| 7 | + <property environment="env"/> |
| 8 | + <property name="junit.output.dir" value="junit"/> |
| 9 | + <property name="debuglevel" value="source,lines,vars"/> |
| 10 | + <property name="target" value="1.6"/> |
| 11 | + <property name="source" value="1.6"/> |
| 12 | + <path id="JavaCS.classpath"> |
| 13 | + <pathelement location="bin"/> |
| 14 | + <pathelement location="lib/jedis-2.8.0.jar"/> |
| 15 | + <pathelement location="lib/jsoup-1.8.3.jar"/> |
| 16 | + <pathelement location="lib/junit-4.12.jar"/> |
| 17 | + <pathelement location="lib/hamcrest-core-1.3.jar"/> |
| 18 | + <pathelement location="lib/jcommon-1.0.23.jar"/> |
| 19 | + <pathelement location="lib/jfreechart-1.0.19.jar"/> |
| 20 | + <pathelement location="lib/servlet.jar"/> |
| 21 | + <pathelement location="lib/ant-junit.jar"/> |
| 22 | + </path> |
| 23 | + <target name="init"> |
| 24 | + <mkdir dir="bin"/> |
| 25 | + <copy includeemptydirs="false" todir="bin"> |
| 26 | + <fileset dir="src"> |
| 27 | + <exclude name="**/*.launch"/> |
| 28 | + <exclude name="**/*.java"/> |
| 29 | + </fileset> |
| 30 | + </copy> |
| 31 | + </target> |
| 32 | + <target name="clean"> |
| 33 | + <delete dir="bin"/> |
| 34 | + </target> |
| 35 | + <target depends="clean" name="cleanall"/> |
| 36 | + <target depends="build-subprojects,build-project" name="build"/> |
| 37 | + <target name="build-subprojects"/> |
| 38 | + <target depends="init" name="build-project"> |
| 39 | + <echo message="${ant.project.name}: ${ant.file}"/> |
| 40 | + <javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}"> |
| 41 | + <src path="src"/> |
| 42 | + <classpath refid="JavaCS.classpath"/> |
| 43 | + </javac> |
| 44 | + </target> |
| 45 | + <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/> |
| 46 | + <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler"> |
| 47 | + <copy todir="${ant.library.dir}"> |
| 48 | + <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/> |
| 49 | + </copy> |
| 50 | + <unzip dest="${ant.library.dir}"> |
| 51 | + <patternset includes="jdtCompilerAdapter.jar"/> |
| 52 | + <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/> |
| 53 | + </unzip> |
| 54 | + </target> |
| 55 | + <target description="compile project with Eclipse compiler" name="build-eclipse-compiler"> |
| 56 | + <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/> |
| 57 | + <antcall target="build"/> |
| 58 | + </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"> |
| 79 | + <classpath refid="JavaCS.classpath"/> |
| 80 | + </java> |
| 81 | + </target> |
| 82 | + <target name="ListClientExample"> |
| 83 | + <java classname="com.flatironschool.javacs.ListClientExample" failonerror="true" fork="yes"> |
| 84 | + <classpath refid="JavaCS.classpath"/> |
| 85 | + </java> |
| 86 | + </target> |
| 87 | + <target name="ListClientExampleTest"> |
| 88 | + <mkdir dir="${junit.output.dir}"/> |
| 89 | + <junit fork="yes" printsummary="withOutAndErr"> |
| 90 | + <formatter type="xml"/> |
| 91 | + <test name="com.flatironschool.javacs.ListClientExampleTest" todir="${junit.output.dir}"/> |
| 92 | + <classpath refid="JavaCS.classpath"/> |
| 93 | + </junit> |
| 94 | + </target> |
| 95 | + <target name="MyArrayList"> |
| 96 | + <java classname="com.flatironschool.javacs.MyArrayList" failonerror="true" fork="yes"> |
| 97 | + <classpath refid="JavaCS.classpath"/> |
| 98 | + </java> |
| 99 | + </target> |
| 100 | + <target name="test"> |
| 101 | + <mkdir dir="${junit.output.dir}"/> |
| 102 | + <junit fork="yes" printsummary="withOutAndErr"> |
| 103 | + <formatter type="xml"/> |
| 104 | + <formatter type="plain" usefile="no"/> |
| 105 | + <test name="com.flatironschool.javacs.MyArrayListTest" todir="${junit.output.dir}"/> |
| 106 | + <classpath refid="JavaCS.classpath"/> |
| 107 | + </junit> |
| 108 | + </target> |
| 109 | + <target name="SelectionSort"> |
| 110 | + <java classname="com.flatironschool.javacs.SelectionSort" failonerror="true" fork="yes"> |
| 111 | + <classpath refid="JavaCS.classpath"/> |
| 112 | + </java> |
| 113 | + </target> |
| 114 | + <target name="MyArrayListSoln"> |
| 115 | + <java classname="com.flatironschool.javacs.MyArrayListSoln" failonerror="true" fork="yes"> |
| 116 | + <classpath refid="JavaCS.classpath"/> |
| 117 | + </java> |
| 118 | + </target> |
| 119 | + <target name="MyArrayListTest.testGet"> |
| 120 | + <mkdir dir="${junit.output.dir}"/> |
| 121 | + <junit fork="yes" printsummary="withOutAndErr"> |
| 122 | + <formatter type="xml"/> |
| 123 | + <test name="com.flatironschool.javacs.MyArrayListTest" todir="${junit.output.dir}"/> |
| 124 | + <classpath refid="JavaCS.classpath"/> |
| 125 | + </junit> |
| 126 | + </target> |
| 127 | + <target name="MyArrayListTest.testIndexOf"> |
| 128 | + <mkdir dir="${junit.output.dir}"/> |
| 129 | + <junit fork="yes" printsummary="withOutAndErr"> |
| 130 | + <formatter type="xml"/> |
| 131 | + <test name="com.flatironschool.javacs.MyArrayListTest" todir="${junit.output.dir}"/> |
| 132 | + <classpath refid="JavaCS.classpath"/> |
| 133 | + </junit> |
| 134 | + </target> |
| 135 | + <target name="PieChart"> |
| 136 | + <java classname="com.flatironschool.javacs.PieChart" failonerror="true" fork="yes"> |
| 137 | + <classpath refid="JavaCS.classpath"/> |
| 138 | + </java> |
| 139 | + </target> |
| 140 | + <target name="LineChart_AWT"> |
| 141 | + <java classname="com.flatironschool.javacs.LineChart_AWT" failonerror="true" fork="yes"> |
| 142 | + <classpath refid="JavaCS.classpath"/> |
| 143 | + </java> |
| 144 | + </target> |
| 145 | + <target name="Profiler"> |
| 146 | + <java classname="com.flatironschool.javacs.Profiler" failonerror="true" fork="yes"> |
| 147 | + <classpath refid="JavaCS.classpath"/> |
| 148 | + </java> |
| 149 | + </target> |
| 150 | + <target name="XYLogAxesDemo"> |
| 151 | + <java classname="com.flatironschool.javacs.XYLogAxesDemo" failonerror="true" fork="yes"> |
| 152 | + <classpath refid="JavaCS.classpath"/> |
| 153 | + </java> |
| 154 | + </target> |
| 155 | + <target name="MyLinkedListTest"> |
| 156 | + <mkdir dir="${junit.output.dir}"/> |
| 157 | + <junit fork="yes" printsummary="withOutAndErr"> |
| 158 | + <formatter type="xml"/> |
| 159 | + <test name="com.flatironschool.javacs.MyLinkedListTest" todir="${junit.output.dir}"/> |
| 160 | + <classpath refid="JavaCS.classpath"/> |
| 161 | + </junit> |
| 162 | + </target> |
| 163 | + <target name="MyLinkedList"> |
| 164 | + <java classname="com.flatironschool.javacs.MyLinkedList" failonerror="true" fork="yes"> |
| 165 | + <classpath refid="JavaCS.classpath"/> |
| 166 | + </java> |
| 167 | + </target> |
| 168 | + <target name="MyLinkedListTest.testAddT"> |
| 169 | + <mkdir dir="${junit.output.dir}"/> |
| 170 | + <junit fork="yes" printsummary="withOutAndErr"> |
| 171 | + <formatter type="xml"/> |
| 172 | + <test name="com.flatironschool.javacs.MyLinkedListTest" todir="${junit.output.dir}"/> |
| 173 | + <classpath refid="JavaCS.classpath"/> |
| 174 | + </junit> |
| 175 | + </target> |
| 176 | + <target name="MyLinkedListTest.testAddIntT"> |
| 177 | + <mkdir dir="${junit.output.dir}"/> |
| 178 | + <junit fork="yes" printsummary="withOutAndErr"> |
| 179 | + <formatter type="xml"/> |
| 180 | + <test name="com.flatironschool.javacs.MyLinkedListTest" todir="${junit.output.dir}"/> |
| 181 | + <classpath refid="JavaCS.classpath"/> |
| 182 | + </junit> |
| 183 | + </target> |
| 184 | + <target name="junitreport"> |
| 185 | + <junitreport todir="${junit.output.dir}"> |
| 186 | + <fileset dir="${junit.output.dir}"> |
| 187 | + <include name="TEST-*.xml"/> |
| 188 | + </fileset> |
| 189 | + <report format="frames" todir="${junit.output.dir}"/> |
| 190 | + </junitreport> |
| 191 | + </target> |
| 192 | +</project> |
0 commit comments