changeset 325:f05c8b1f08c4

Explicit dependency for cmdline build
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 03 Oct 2011 06:54:43 +0200
parents 283b294d1079
children d42a45a2c9d6
files build.xml
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
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"/>