diff options
author | James Kuszmaul <jabukuszmaul+collab@gmail.com> | 2015-05-27 11:57:37 -0400 |
---|---|---|
committer | James Kuszmaul <jabukuszmaul+collab@gmail.com> | 2015-05-27 12:07:11 -0400 |
commit | b8554780c3c3d5028931809d48a4309e8f91c413 (patch) | |
tree | c8bd2740c2012a5356770ecf4d2d55e35195aa7b /smartdashboard/build.xml | |
parent | f8a3bfff6fb9f84a80f32b1da3f0156864e00252 (diff) |
Added gradle build support and removed extraneous other build files.
Change-Id: Id48b4f14e019ff67154b56c2fd3afdf64ec2cb3c
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> |