hammant     2003/01/13 13:36:53

  Modified:    instrument-manager build.xml
  Log:
  Instrument-Manager tolerant to missing bits of AltRMI for the sake of making 
jars.
  
  Revision  Changes    Path
  1.32      +8 -2      jakarta-avalon-excalibur/instrument-manager/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/instrument-manager/build.xml,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- build.xml 14 Aug 2002 14:58:21 -0000      1.31
  +++ build.xml 13 Jan 2003 21:36:53 -0000      1.32
  @@ -54,6 +54,11 @@
       <!-- Compiles the source code -->
       <target name="compile" depends="dependencies" description="Compiles the 
source code">
   
  +        <available 
classname="org.apache.excalibur.altrmi.server.ServerException"
  +            property="altrmi.present">
  +            <classpath refid="project.class.path"/>
  +        </available>
  +
           <mkdir dir="${build.classes}"/>
   
           <!-- Compile all classes excluding the tests. -->
  @@ -63,8 +68,9 @@
               optimize="${build.optimize}"
               deprecation="${build.deprecation}"
               target="1.2">
  -            <classpath refid="project.class.path" />
  -            <include name="**/*.java"/>
  +              <classpath refid="project.class.path" />            
  +              <include name="**/*.java" />
  +              <exclude 
name="org/apache/excalibur/instrument/manager/altrmi/**" 
unless="altrmi.present" />            
           </javac>
   
           <!-- copy resources to same location as .class files -->
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to