avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [PATCH] Eliminate circular dependency between altrmi and phoenix
Date Fri, 27 Dec 2002 12:16:52 GMT
Altrmi now has code for blocks, which introduces dependencies on 
cornerstone and phoenix.  Cornerstone has code which depends on altrmi, 
phoenix indirectly has a similar compilation dependency.

What I would like to be able to do is to compile the "core" of altrmi 
first - i.e., everything except the blocks.  If that is successful, then 
compilation can proceed to phoenix and cornerstone.  If each of these is 
successful, then an attempt will be made to go back and compile the 
altrmi blocks with the latest phoenix and cornerstone class definitions.

Patch below

Index: build.xml
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/build.xml,v
retrieving revision 1.55
diff -u -r1.55 build.xml
--- build.xml   27 Dec 2002 00:07:27 -0000      1.55
+++ build.xml   27 Dec 2002 12:04:28 -0000
@@ -9,6 +9,7 @@
      <property file="${basedir}/default.properties"/>
      <property file="${user.home}/.ant.properties"/>
      <property file="default.properties"/>
+    <available property="block.present" 

      <property name ="jetty.rel"    value="4.2.2"/>
@@ -105,6 +106,7 @@
              <classpath refid="project.class.path" />
              <include name="**/*.java"/>
+            <exclude name="org/apache/excalibur/altrmi/blocks/**" 

@@ -166,7 +168,7 @@


-  <target name="metagenerate" description="Generates the XML descriptors">
+  <target name="metagenerate" if="block.present" description="Generates 
the XML descriptors">

      <taskdef name="generatemeta" 
        <classpath refid="project.class.path" />

- Sam Ruby

To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>

View raw message