Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

restclient: update build to use short build vars

  • Loading branch information...
commit dd0445a2c4c5efda9526e6ad509a03010e5ff7f6 1 parent d4ee469
@kgilmer kgilmer authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 org.touge.restclient/build.xml
View
14 org.touge.restclient/build.xml
@@ -3,27 +3,27 @@
<property name="wget.bin" location="/usr/bin/wget" />
<property name="git.bin" location="/usr/bin/git" />
<property name="product.dir" location="${basedir}" />
- <property name="dependencies.dir" location="${product.dir}/deps" />
+ <property name="deps" location="${product.dir}/deps" />
<property name="build-common.url" value="git://github.com/kgilmer/ant-build-common.git" />
<property name="javadoc.packages" value="org.touge.restclient" />
<target name="fetch.deps" description="download dependencies">
<exec executable="${wget.bin}">
- <arg line="-P ${dependencies.dir}" />
+ <arg line="-P ${deps}" />
<arg line="--no-check-certificate" />
<arg line="-nc" />
<arg line="http://www.osgi.org/download/r4v42/osgi.core.jar" />
</exec>
<exec executable="${wget.bin}">
- <arg line="-P ${dependencies.dir}" />
+ <arg line="-P ${deps}" />
<arg line="--no-check-certificate" />
<arg line="-nc" />
<arg line="http://www.osgi.org/download/r4v42/osgi.cmpn.jar" />
</exec>
<exec executable="${wget.bin}">
- <arg line="-P ${dependencies.dir}" />
+ <arg line="-P ${deps}" />
<arg line="--no-check-certificate" />
<arg line="-nc" />
<arg line="https://github.com/downloads/KentBeck/junit/junit-4.9.jar" />
@@ -37,15 +37,15 @@
</exec>
<target name="jar" depends="compile" description="create a Jar file for the application">
- <mkdir dir="${dist.dir}" />
+ <mkdir dir="${dist}" />
<copy file="META-INF/MANIFEST.MF" todir="${class.dir}"/>
<mkdir dir="lib" />
- <copy file="${dependencies.dir}/junit-4.9.jar" todir="lib" />
+ <copy file="${deps}/junit-4.9.jar" todir="lib" />
<manifest file="${class.dir}/MANIFEST.MF" mode="update">
<attribute name="Built-By" value="${user.name}" />
<attribute name="Built-Date" value="${TS_NOW}" />
</manifest>
- <jar destfile="${dist.dir}/${ant.project.name}.jar" manifest="${class.dir}/MANIFEST.MF" >
+ <jar destfile="${dist}/${ant.project.name}.jar" manifest="${class.dir}/MANIFEST.MF" >
<fileset dir="${class.dir}" includes="**/*.class" />
<fileset dir="${basedir}" includes="lib/junit-4.9.jar" />
</jar>
Please sign in to comment.
Something went wrong with that request. Please try again.