avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix build.xml
Date Wed, 27 Mar 2002 22:06:37 GMT
donaldp     02/03/27 14:06:37

  Modified:    .        build.xml
  Log:
  Fix build file to work if jmx not present
  
  Revision  Changes    Path
  1.109     +18 -5     jakarta-avalon-phoenix/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/build.xml,v
  retrieving revision 1.108
  retrieving revision 1.109
  diff -u -r1.108 -r1.109
  --- build.xml	25 Mar 2002 08:30:57 -0000	1.108
  +++ build.xml	27 Mar 2002 22:06:37 -0000	1.109
  @@ -266,7 +266,16 @@
       </target>
   
       <!-- Create the lite build -->
  -    <target name="dist-lite" depends="jars"
  +    <target name="dist-lite-jmx" depends="jars" if="jmx.present">
  +        <property name="bin.dist.lib" value="${bin.dist.dir}/lib"/>
  +        <mkdir dir="${bin.dist.lib}"/>
  +
  +        <copy file="${jmxri.jar}" todir="${bin.dist.lib}"/>
  +        <copy file="${jmxtools.jar}" todir="${bin.dist.lib}"/>
  +    </target>
  +
  +    <!-- Create the lite build -->
  +    <target name="dist-lite" depends="dist-lite-jmx"
           description="generates the Phoenix distribution without the javadocs">
   
           <property name="bin.dist.bin" value="${bin.dist.dir}/bin"/>
  @@ -281,15 +290,19 @@
           <mkdir dir="${bin.dist.lib}"/>
           <mkdir dir="${bin.dist.conf}"/>
   
  +        <copy todir="${bin.dist.lib}/">
  +            <fileset dir="${build.lib}">
  +                <include name="phoenix-client.jar"/>
  +                <include name="avalon-jmx.jar" if="jmx.present"/>
  +                <include name="phoenix-client.jar"/>
  +                <include name="phoenix-client.jar"/>
  +            </fileset>
  +        </copy>
           <copy file="${build.lib}/phoenix-loader.jar" todir="${bin.dist.bin}/"/>
           <copy file="${build.lib}/phoenix-engine.jar" todir="${bin.dist.bin}"/>
   
  -        <copy file="${build.lib}/phoenix-client.jar" todir="${bin.dist.lib}"/>
  -        <copy file="${build.lib}/avalon-jmx.jar" todir="${bin.dist.lib}"/>
           <copy file="${lib.dir}/excalibur-baxter-1.0a.jar" todir="${bin.dist.lib}"/>
           <copy file="${logkit.jar}" todir="${bin.dist.lib}"/>
  -        <copy file="${jmxri.jar}" todir="${bin.dist.lib}"/>
  -        <copy file="${jmxtools.jar}" todir="${bin.dist.lib}"/>
           <copy file="${framework.jar}" todir="${bin.dist.lib}"/>
           <copy file="${excalibur.jar}" todir="${bin.dist.lib}"/>
           <copy file="${scratchpad.jar}" todir="${bin.dist.lib}"/>
  
  
  

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


Mime
View raw message