cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: rev 57511 - cocoon/whiteboard/block-deployer
Date Fri, 12 Nov 2004 10:09:40 GMT
Author: reinhard
Date: Fri Nov 12 02:09:39 2004
New Revision: 57511

Modified:
   cocoon/whiteboard/block-deployer/build.xml
Log:
add client implementation to build script

Modified: cocoon/whiteboard/block-deployer/build.xml
==============================================================================
--- cocoon/whiteboard/block-deployer/build.xml	(original)
+++ cocoon/whiteboard/block-deployer/build.xml	Fri Nov 12 02:09:39 2004
@@ -26,6 +26,7 @@
 		<property name="src.dir" value="./src"/>
 		<property name="src.impl.dir" value="${src.dir}/impl"/>
 		<property name="src.api.dir" value="${src.dir}/api"/>	
+		<property name="src.client.dir" value="${src.dir}/client"/>
 		<property name="src.test.junit.dir" value="./test/junit"/>
 		
 		<property name="build.dir" value="build"/>
@@ -33,6 +34,7 @@
 		<property name="build.classes.api" value="${build.classes}/api"/>
 		<property name="build.classes.impl" value="${build.classes}/impl"/>		
 		<property name="build.classes.test" value="${build.classes}/test"/>
+		<property name="build.classes.client" value="${build.classes}/client"/>		
 		<property name="build.test" value="${src.dir}/test"/>
 		<property name="build.test.output" value="${build.dir}/junit-output"/>
 		
@@ -81,7 +83,19 @@
 			srcdir="${src.impl.dir}"
 			builddestdir="${build.classes.impl}"
 			classpath="classpath-api"
-		/>		
+		/>	
+		
+		<!-- compile client -->
+		<path id="classpath-impl">
+			<path refid="classpath-api"/>
+			<dirset dir="${build.classes.impl}"/>
+		</path>		
+		<mkdir dir="${build.classes.client}"/>
+		<compiler
+			srcdir="${src.client.dir}"
+			builddestdir="${build.classes.client}"
+			classpath="classpath-impl"
+		/>			
 	</target>	
 
 	<macrodef name="compiler">
@@ -112,6 +126,9 @@
 	    <jar jarfile="${build.dir}/${project.name}-impl-${project.version}.jar" index="true">
 	      <fileset dir="${build.classes.impl}"/>
 	    </jar>		
+	    <jar jarfile="${build.dir}/${project.name}-client-${project.version}.jar" index="true">
+	      <fileset dir="${build.classes.client}"/>
+	    </jar>			
 	</target>
 	
 	<!-- ************************************************************************************************
-->

Mime
View raw message