diff options
author | Brad Miller (WPI) <brad@wpi.edu> | 2015-06-03 05:50:53 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@sf36-usfst.sjc.collab.net> | 2015-06-03 05:50:53 -0700 |
commit | d9e0c5c538206553d958e83123fc1384507ec8ed (patch) | |
tree | f80378b76fb978d93a8ee13623ceca393f681da7 /smartdashboard/build.xml | |
parent | 80c228c543620fc4d1b376355a9b7bc19c9d0153 (diff) | |
parent | b8554780c3c3d5028931809d48a4309e8f91c413 (diff) |
Merge "Added gradle build support and removed extraneous other build files."
Diffstat (limited to 'smartdashboard/build.xml')
-rw-r--r-- | smartdashboard/build.xml | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/smartdashboard/build.xml b/smartdashboard/build.xml deleted file mode 100644 index c681afc..0000000 --- a/smartdashboard/build.xml +++ /dev/null @@ -1,99 +0,0 @@ -<project name="SmartDashboard" basedir="." default="main"> - <property name="src.dir" value="src" /> - <property name="test.dir" value="tests" /> - <property name="build.dir" value="build" /> - <property name="dist.dir" value="dist" /> - <property name="classes.dir" value="${build.dir}/classes" /> - <property name="javadoc.dir" value="${build.dir}/javadoc" /> - <property name="junitreport.dir" value="${build.dir}/junitreport" /> - <property name="lib.dir" value="lib" /> - - <property name="main-class" value="edu.wpi.first.smartdashboard.main" /> - - <path id="application" location="${jar.dir}/${ant.project.name}.jar" /> - <path id="classpath"> - <fileset dir="${lib.dir}" includes="**/*.jar" /> - </path> - - <target name="clean"> - <delete dir="${build.dir}" /> - <delete dir="${dist.dir}" /> - <delete dir="target" /> - <delete dir="${lib.dir}" includes="NetworkTables-*.jar" /> - </target> - - <target name="compile"> - <exec executable="mvn"><arg value="dependency:copy" /></exec> - <mkdir dir="${classes.dir}" /> - <javac source="1.6" - target="1.6" - srcdir="${src.dir}" - destdir="${classes.dir}" - classpathref="classpath" - includeantruntime="false" - debug="on" - debuglevel="lines,vars,source"/> - </target> - - <target name="javadoc"> - <mkdir dir="${javadoc.dir}" /> - <javadoc sourcepath="${src.dir}" destdir="${javadoc.dir}" author="true" version="true" use="true" windowtitle="Smart Dashboard"> - <doctitle> - <![CDATA[ - <h1>Smart Dashboard</h1> - ]]> - </doctitle> - </javadoc> - <zip destfile="${dist.dir}/tools/${ant.project.name}.javadoc.zip" basedir="${javadoc.dir}" /> - </target> - - <target name="jar" depends="compile"> - <mkdir dir="${dist.dir}" /> - <jar destfile="${dist.dir}/tools/${ant.project.name}.jar" basedir="${classes.dir}" > - <manifest> - <attribute name="Main-Class" value="${main-class}" /> - </manifest> - <zipgroupfileset dir="lib/" includes="*.jar" /> - </jar> - </target> - - <target name="deploy" depends="jar"> - <exec executable="mvn"><arg value="deploy" /></exec> - </target> - - <target name="run" depends="jar"> - <java classname="${main-class}" fork="yes" > - <classpath> - <path refid="classpath" /> - <path refid="application" /> - </classpath> - </java> - </target> - - <target name="test" depends="jar" > - <mkdir dir="${junitreport.dir}" /> - <junit fork="yes" printsummary="yes" failureproperty="junit.failure"> - <classpath> - <path refid="classpath" /> - <path refid="application" /> - </classpath> - - <formatter type="xml" /> - - <batchtest todir="${junitreport.dir}"> - <fileset dir="${test.dir}" includes="**/*Test.java" /> - </batchtest> - </junit> - <fail if="junit.failure" /> - </target> - - <target name="junitreport"> - <junitreport todir="${junitreport.dir}" > - <fileset dir="${junitreport.dir}" includes="TEST-*.xml"/> - <report todir="${junitreport.dir}" /> - </junitreport> - </target> - - <target name="clean-build" depends="clean,jar" /> - <target name="main" depends="test" /> -</project> |