hammant 02/03/29 15:30:01
Modified: demo build.xml
Log:
better jars names and tester for altrmi-helloworld
Revision Changes Path
1.48 +25 -6 jakarta-avalon-apps/demo/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-apps/demo/build.xml,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- build.xml 28 Mar 2002 11:47:28 -0000 1.47
+++ build.xml 29 Mar 2002 23:30:01 -0000 1.48
@@ -188,6 +188,28 @@
</fileset>
</jar>
+ <mkdir dir="build/temp"/>
+ <unzip src="lib/commons-altrmi-common.jar" dest="build/temp" />
+ <unzip src="lib/commons-altrmi-client-interfaces.jar" dest="build/temp"
/>
+ <unzip src="lib/commons-altrmi-client-impl.jar" dest="build/temp" />
+
+ <jar jarfile="${build.lib}/avalon-altrmidemo-tester.jar"
compress="false" manifest="${manifest.dir}/AltrmiHelloWorldTest.mf">
+ <fileset dir="build/genclasses">
+ <include name="**"/>
+ </fileset>
+ <fileset dir="build/temp">
+ <include name="org/apache/commons/**"/>
+ </fileset>
+ <fileset dir="build/classes">
+ <include
name="org/apache/avalon/apps/demos/altrmihelloworldserver/AltrmiHelloWorldServer.class"/>
+ <include
name="org/apache/avalon/apps/demos/altrmihelloworldserver/AltrmiHelloWorldServerTester.class"/>
+ <include
name="org/apache/avalon/apps/demos/helloworldserver/HelloWorldServer.class"/>
+ </fileset>
+ </jar>
+
+ <delete dir="build/temp"/>
+
+
</target>
<target name="main" depends="sars" description="Default target to generate
build products minus docs"/>
@@ -216,7 +238,7 @@
<copy todir="dist">
<fileset dir="${build.lib}">
- <include name="**"/>
+ <include name="*.sar"/>
</fileset>
</copy>
@@ -327,13 +349,10 @@
</target>
<!-- Performs Altrmi related unit tests -->
- <target name="check-altrmi" depends="compile">
+ <target name="test-altrmi" depends="compile">
<java
classname="org.apache.avalon.apps.demos.altrmihelloworldserver.AltrmiHelloWorldServerTester">
<classpath>
- <pathelement location="lib/commons-altrmi-common.jar"/>
- <pathelement location="lib/commons-altrmi-client-interfaces.jar"/>
- <pathelement location="lib/commons-altrmi-client-impl.jar"/>
- <pathelement path="build/classes"/>
+ <pathelement location="build/lib/avalon-altrmidemo-tester.jar"/>
</classpath>
</java>
</target>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>