directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r546499 - /directory/studio/trunk/studio-build/build.xml
Date Tue, 12 Jun 2007 14:31:02 GMT
Author: pamarcelot
Date: Tue Jun 12 07:31:01 2007
New Revision: 546499

URL: http://svn.apache.org/viewvc?view=rev&rev=546499
Log:
Fixed a classpath problem when compiling the test classes (the compiled main sources must
be in the classpath).

Modified:
    directory/studio/trunk/studio-build/build.xml

Modified: directory/studio/trunk/studio-build/build.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-build/build.xml?view=diff&rev=546499&r1=546498&r2=546499
==============================================================================
--- directory/studio/trunk/studio-build/build.xml (original)
+++ directory/studio/trunk/studio-build/build.xml Tue Jun 12 07:31:01 2007
@@ -31,8 +31,10 @@
 	<property name="target.doc" value="${target}/doc" />
 	<property name="lib.dir" value="${basedir}/lib" />
 	
-	<!-- Loading specific project properties -->
-	<property  file="${basedir}/plugin.properties" />
+	<!-- Loading specific project or plugin properties -->
+	<property file="${basedir}/project.properties" />
+	<property file="${basedir}/plugin.properties" />
+	
 	
 
 	<!-- INSTALL-IVY TASK -->
@@ -74,7 +76,12 @@
 		</copy>
 		<!-- Compiling test sources -->
 		<mkdir dir="${target.test-classes}"/>
-		<javac source="1.5" srcdir="${src.test.java}" destdir="${target.test-classes}" classpathref="classpath"
/>
+		<javac source="1.5" srcdir="${src.test.java}" destdir="${target.test-classes}" classpathref="classpath"
>
+			<classpath>
+			      <pathelement path="${lib.dir}"/>
+			      <pathelement path="${target.classes}"/>
+		    </classpath>
+		</javac>
 		<copy todir="${target.test-classes}" failonerror="false">
 			<fileset dir="${src.test.resources}">
 				<include name="**" />



Mime
View raw message