You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ha...@apache.org on 2002/04/03 10:15:13 UTC
cvs commit: jakarta-avalon-excalibur/instrument-client altrmi.xml build.xml
hammant 02/04/03 00:15:13
Modified: instrument-client build.xml
Added: instrument-client altrmi.xml
Log:
Altrmi bits in sub build file to help more targets complete if Altrmi is not built
Revision Changes Path
1.10 +1 -21 jakarta-avalon-excalibur/instrument-client/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/instrument-client/build.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- build.xml 31 Mar 2002 08:36:45 -0000 1.9
+++ build.xml 3 Apr 2002 08:15:13 -0000 1.10
@@ -61,11 +61,6 @@
<pathelement location="${junit.jar}"/>
<pathelement location="${checkstyle.jar}"/>
</path>
-
- <taskdef name="altrmiproxies"
- classname="org.apache.commons.altrmi.generator.ant.AltrmiProxyTask">
- <classpath refid="project.class.path" />
- </taskdef>
<target name="main" depends="jar" description="Build the project"/>
<target name="rebuild" depends="clean,main" description="Rebuild the project"/>
@@ -118,22 +113,7 @@
<!-- Generates the altrmi proxies used by the client. -->
<target name="altrmiproxies" depends="compile">
- <mkdir dir="${build.genjava}"/>
-
- <delete>
- <fileset dir="${build.genjava}" includes="AltrmiGenerated*.java"/>
- </delete>
- <delete>
- <fileset dir="${build.classes}" includes="AltrmiGenerated*.class"/>
- </delete>
-
- <altrmiproxies genname="InstrumentManagerClient"
- srcgendir="${build.genjava}"
- classgendir="${build.classes}"
- interfaces="org.apache.avalon.excalibur.instrument.manager.interfaces.InstrumentManagerClient"
- additionalfacades="org.apache.avalon.excalibur.instrument.manager.interfaces.InstrumentableDescriptor,org.apache.avalon.excalibur.instrument.manager.interfaces.InstrumentDescriptor,org.apache.avalon.excalibur.instrument.manager.interfaces.InstrumentSampleDescriptor">
- <classpath refid="project.class.path" />
- </altrmiproxies>
+ <ant antfile="altrmiproxies.xml" target="altrmiproxies"/>
</target>
<!-- Creates all the .jar file -->
1.1 jakarta-avalon-excalibur/instrument-client/altrmi.xml
Index: altrmi.xml
===================================================================
<?xml version="1.0"?>
<project name="Excalibur Instrument Client - Altrmi bits" default="altrmiproxies" basedir=".">
<!-- Classpath for product -->
<path id="project.class.path">
<pathelement path="${java.class.path}"/>
<pathelement location="${build.classes}"/>
<pathelement location="${avalon-framework.jar}"/>
<pathelement location="${excalibur-instrument-manager-interfaces.jar}"/>
<pathelement location="${commons-altrmi-client-impl.jar}"/>
<pathelement location="${commons-altrmi-client-interfaces.jar}"/>
<pathelement location="${commons-altrmi-common.jar}"/>
<pathelement location="${commons-altrmi-generator.jar}"/>
<pathelement location="${junit.jar}"/>
<pathelement location="${checkstyle.jar}"/>
</path>
<taskdef name="altrmiproxies"
classname="org.apache.commons.altrmi.generator.ant.AltrmiProxyTask">
<classpath refid="project.class.path" />
</taskdef>
<!-- Generates the altrmi proxies used by the client. -->
<target name="altrmiproxies">
<mkdir dir="${build.genjava}"/>
<delete>
<fileset dir="${build.genjava}" includes="AltrmiGenerated*.java"/>
</delete>
<delete>
<fileset dir="${build.classes}" includes="AltrmiGenerated*.class"/>
</delete>
<altrmiproxies genname="InstrumentManagerClient"
srcgendir="${build.genjava}"
classgendir="${build.classes}"
interfaces="org.apache.avalon.excalibur.instrument.manager.interfaces.InstrumentManagerClient"
additionalfacades="org.apache.avalon.excalibur.instrument.manager.interfaces.InstrumentableDescriptor,org.apache.avalon.excalibur.instrument.manager.interfaces.InstrumentDescriptor,org.apache.avalon.excalibur.instrument.manager.interfaces.InstrumentSampleDescriptor">
<classpath refid="project.class.path" />
</altrmiproxies>
</target>
</project>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>