You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chukwa.apache.org by as...@apache.org on 2009/08/20 22:39:56 UTC

svn commit: r806343 - /hadoop/chukwa/trunk/contrib/xtrace/build.xml

Author: asrabkin
Date: Thu Aug 20 20:39:56 2009
New Revision: 806343

URL: http://svn.apache.org/viewvc?rev=806343&view=rev
Log:
fix contrib/xtrace library pickup

Modified:
    hadoop/chukwa/trunk/contrib/xtrace/build.xml

Modified: hadoop/chukwa/trunk/contrib/xtrace/build.xml
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/contrib/xtrace/build.xml?rev=806343&r1=806342&r2=806343&view=diff
==============================================================================
--- hadoop/chukwa/trunk/contrib/xtrace/build.xml (original)
+++ hadoop/chukwa/trunk/contrib/xtrace/build.xml Thu Aug 20 20:39:56 2009
@@ -231,7 +231,7 @@
 		<pathelement location="${test.build.classes}" />
 		<pathelement location="${chukwa.root.build.classes}" />
 		<fileset dir="${basedir}/lib">
-			<include name="**/xtrace*.jar" />
+			<include name="**/*.jar" />
 			<exclude name="**/excluded/" />
 		</fileset>
 		<fileset dir="../../build/">
@@ -242,6 +242,10 @@
 			<include name="hadoop*.jar" />
 			<exclude name="**/excluded/" />
 		</fileset>
+		<fileset dir="../../build/ivy/lib/chukwa/common">
+			<include name="**/*.jar" />
+			<exclude name="**/excluded/" />
+		</fileset>
 	</path>
 
 	<target name="compile-test" depends="init,compile,jar" description="Test target">
@@ -264,7 +268,7 @@
 
 	</target>
 	
-	<target name="test" depends="compile-test" description="chukwa-xtrace tests">
+	<target name="test" depends="ivy-init-properties-local,compile-test" description="chukwa-xtrace tests">
         <delete dir="${test.log.dir}"/>
         <mkdir dir="${test.log.dir}"/>
 		 <echo>*** ${test.build.classes} *** ${chukwa.root.build.dir} ***</echo>
@@ -280,11 +284,12 @@
             <sysproperty key="hadoop.log.dir" value="${test.log.dir}"/>
 	     	
 	     	<classpath>
-                <pathelement location="${build.classes}" />
-            	<pathelement location="${test.build.classes}" />
-                <path refid="xtr-classpath"/>
-            </classpath>
-            <formatter type="${test.junit.output.format}" />
+          <pathelement location="${build.classes}" />
+          <pathelement location="${test.build.classes}" />
+          <path refid="xtr-classpath"/>
+        </classpath>
+       
+	     		<formatter type="${test.junit.output.format}" />
 
 
             <batchtest fork="yes" todir="${test.log.dir}" unless="testcase">