Skip to content

Commit

Permalink
Bump version and fix includeantruntime warning
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkware committed Mar 6, 2020
1 parent 408db8e commit b31120a
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<property environment="env"/>

<property name="Name" value="${ant.project.name}"/>
<property name="version" value="2.9.1"/>
<property name="version" value="2.10"/>

<property name="src.dir" location="src"/>
<property name="test.dir" location="test"/>
Expand Down Expand Up @@ -40,7 +40,8 @@
description="Compiles the source code">
<javac srcdir="${src.dir}"
destdir="${build.dir}"
debug="${build.debug}">
debug="${build.debug}"
includeantruntime="false">
<classpath refid="project.classpath"/>
</javac>
</target>
Expand All @@ -49,7 +50,8 @@
description="Compiles the sample code">
<javac srcdir="sample"
destdir="${build.dir}"
debug="${build.debug}">
debug="${build.debug}"
includeantruntime="false">
<classpath refid="project.classpath"/>
</javac>
</target>
Expand All @@ -59,7 +61,8 @@
description="Compiles the test code">
<javac srcdir="${test.dir}"
destdir="${build.dir}"
debug="${build.debug}">
debug="${build.debug}"
includeantruntime="false">
<classpath refid="project.classpath"/>
</javac>
<copy todir="${build.dir}/data">
Expand Down Expand Up @@ -112,8 +115,8 @@
if="jdependtask.available"
depends="validate-jdepend-task, compile"
description="Runs the JDepend Ant task">
<jdepend fork="yes"

<jdepend fork="yes"
outputfile="${docs.dir}/jdepend-report.txt">
<exclude name="java.*"/>
<exclude name="javax.*"/>
Expand Down Expand Up @@ -167,9 +170,9 @@

<target name="javadoc" depends="compile"
description="Generates JavaDoc">

<mkdir dir="${javadoc.dir}"/>

<javadoc packagenames="*"
sourcepath="${src.dir}"
destdir="${javadoc.dir}"
Expand All @@ -185,9 +188,9 @@

<target name="jar" depends="compile"
description="Creates a JAR file">

<mkdir dir="${dist.dir}"/>

<jar destfile="${dist.dir}/${dist.name}.jar"
basedir="${build.dir}" />

Expand All @@ -205,31 +208,31 @@
<include name="LICENSE"/>
</fileset>
</copy>

<copy todir="${package.dir}/docs">
<fileset dir="${docs.dir}"/>
</copy>

<copy todir="${package.dir}/src">
<fileset dir="${src.dir}"/>
</copy>

<copy todir="${package.dir}/test">
<fileset dir="${test.dir}"/>
</copy>
</copy>

<copy todir="${package.dir}/sample">
<fileset dir="sample"/>
</copy>

<copy todir="${package.dir}/contrib">
<fileset dir="contrib">
<include name="jdepend2dot.sh"/>
<include name="jdepend2dot.xsl"/>
<include name="**/fitnesse/*"/>
</fileset>
</copy>
</copy>

<copy todir="${package.dir}/lib"
file="${dist.dir}/${dist.name}.jar"/>

Expand All @@ -241,10 +244,10 @@
<zip destfile="${dist.dir}/${dist.name}.zip"
basedir="${dist.dir}/"
includes="${dist.name}/**" />

</target>

<target name="clean"
</target>

<target name="clean"
description="Deletes all build artifacts">
<delete dir="${build.dir}"/>
<delete dir="${dist.dir}"/>
Expand Down

0 comments on commit b31120a

Please sign in to comment.