avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/apps/hsql build.xml
Date Sun, 28 Oct 2001 12:11:50 GMT
hammant     01/10/28 04:11:50

  Modified:    apps/hsql build.xml
  Log:
  If HSQLDB.jar missing, don't make the bar/sar
  
  Revision  Changes    Path
  1.3       +9 -3      jakarta-avalon-cornerstone/apps/hsql/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/hsql/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml	2001/10/23 08:55:21	1.2
  +++ build.xml	2001/10/28 12:11:50	1.3
  @@ -63,6 +63,11 @@
     
       <ant antfile="build.xml" dir="../.." target="compile" inheritall="false"/>
   
  +    <available classname="org.hsqldb.HypersonicServerFactory" 
  +        classpathref="project.class.path" 
  +        property="hsql.present"/>
  +
  +
       <mkdir dir="${build.classes}"/>
   
       <javac srcdir="${java.dir}"
  @@ -71,7 +76,8 @@
              optimize="${build.optimize}"
              deprecation="${build.deprecation}">
         <classpath refid="project.class.path" />
  -
  +      <exclude name="org/apache/avalon/hsql/**"
  +               unless="hsql.present" />
       </javac>
   
       <copy todir="${build.classes}">
  @@ -84,7 +90,7 @@
     </target>
   
     <!-- Jars up project -->
  -  <target name="jars" depends="compile">
  +  <target name="jars" depends="compile" if="hsql.present">
   
       <mkdir dir="${build.lib}"/>
   
  @@ -103,7 +109,7 @@
     <target name="main" depends="sars" description="Default target to generate build products
minus docs"/>
     <target name="all" depends="main,docs" description="Generate build products including
docs"/>
    
  -  <target name="sars" depends="jars">
  +  <target name="sars" depends="jars" if="hsql.present">
   
       <sar sarfile="${build.lib}/avalon-hsql.sar"
            config="${conf.dir}/avalon-hsql-config.xml"
  
  
  

--
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