Mercurial > hg4j
diff build.xml @ 325:f05c8b1f08c4
Explicit dependency for cmdline build
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 03 Oct 2011 06:54:43 +0200 |
parents | b9592e21176a |
children | f2c11fe7f3e9 |
line wrap: on
line diff
--- a/build.xml Mon Oct 03 06:47:20 2011 +0200 +++ b/build.xml Mon Oct 03 06:54:43 2011 +0200 @@ -149,7 +149,12 @@ <target name="build-cmdline" depends="build-lib"> <mkdir dir="bin" /> - <javac srcdir="cmdline" destdir="bin" debug="${compile-with-debug}" /> + <javac srcdir="cmdline" destdir="bin" debug="${compile-with-debug}"> + <classpath> + <pathelement location="${hg4j.jar}"/> + <pathelement location="${junit.jar}"/> + </classpath> + </javac> <jar destfile="${hg4j-console.jar}"> <fileset dir="bin/" includes="org/tmatesoft/hg/console/**"/> <fileset file="COPYING"/>