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-cornerstone/apps/db build.xml
Date Wed, 21 Nov 2001 09:31:28 GMT
donaldp     01/11/21 01:31:28

  Modified:    apps/db  build.xml
  Log:
  Remove ^Ms
  
  Revision  Changes    Path
  1.17      +313 -313  jakarta-avalon-cornerstone/apps/db/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/build.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- build.xml	2001/11/17 17:43:14	1.16
  +++ build.xml	2001/11/21 09:31:28	1.17
  @@ -1,315 +1,315 @@
   <?xml version="1.0"?>
   
  -<project default="main" basedir=".">
  -
  -  <!--
  -    Give user a chance to override without editing this file
  -    (and without typing -D each time he compiles it)
  -  -->
  -  <property file=".ant.properties"/>
  -  <property file="${user.home}/.ant.properties"/>
  -
  -  <property name="name" value="avalon-db"/>
  -  <property name="Name" value="AvalonDB"/>
  -  <property name="version" value="0.7"/>
  -  <property name="year" value="1999-2001"/>
  -
  -  <property name="build.debug" value="on"/>
  -  <property name="build.optimize" value="off"/>
  -  <property name="build.deprecation" value="on"/>
  -
  -  <!-- Set the installation variables for Cornerstone/Phoenix -->
  -  <property name="phoenix.home" value="../../../jakarta-avalon-phoenix/dist"/>
  -  <property name="install.dir" value="${phoenix.home}/apps"/>
  -  <property name="installvar.dir" value="${phoenix.home}/var"/>
  -
  -  <!-- Set the properties for intermediate directory -->
  -  <property name="build.dir" value="build"/>
  -  <property name="build.lib" value="${build.dir}/lib"/>
  -  <property name="build.src" value="${build.dir}/src"/>
  -  <property name="build.classes" value="${build.dir}/classes"/>
  -
  -  <!-- Set the properties for source directories -->
  -  <property name="src.dir" value="src"/>
  -  <property name="java.dir" value="${src.dir}/java"/>
  -  <property name="manifest.dir" value="${src.dir}/manifest"/>
  -  <property name="conf.dir" value="${src.dir}/conf"/>
  -  <property name="docs.dir" value="docs"/>
  -
  -  <property name="dist.base" value="distributions"/>
  -
  -  <path id="project.class.path">
  -    <pathelement path="${java.class.path}" />
  -    <pathelement location="xerces.jar2"/>  
  -    <pathelement path="${build.classes}" />
  -    <pathelement path="../../build/classes" />
  -
  -    <fileset dir="../../lib">
  -      <include name="*.jar" />
  -    </fileset>
  -    <fileset dir="lib">
  -      <include name="*.jar" />
  -    </fileset>    
  -  </path>
  -
  -  <taskdef name="sar" classname="org.apache.avalon.phoenix.tools.tasks.Sar">
  -    <classpath refid="project.class.path" />
  -  </taskdef>
  -
  -  <!-- Help on usage -->
  -  <target name="help" depends="usage"/>
  -  <target name="usage">
  -    <echo message="Run ant -projecthelp to get a list of targets to run"/>
  -  </target>
  -
  -  <!-- Compiles project -->
  -  <target name="compile">
  -  
  -    <ant antfile="build.xml" dir="../.." target="compile" inheritall="false"/>
  -
  -    <mkdir dir="${build.classes}"/>
  -
  -    <available classname="electric.registry.Registry" 
  -        classpathref="project.class.path" 
  -        property="glue.present"/>
  -
  -    <javac srcdir="${java.dir}"
  -           destdir="${build.classes}"
  -           debug="${build.debug}"
  -           optimize="${build.optimize}"
  -           deprecation="${build.deprecation}">
  -      <classpath refid="project.class.path" />
  -      <exclude name="org/apache/avalon/db/transport/soap/client/glue/**"
  -               unless="glue.present" />
  -    </javac>
  -
  -    <copy todir="${build.classes}">
  -      <fileset dir="${java.dir}">
  -        <exclude name="**/test/**"/>
  -        <exclude name="**/*.java"/>
  -      </fileset>
  -    </copy>
  -
  -  </target>
  -
  -  <!-- Jars up project -->
  -  <target name="jars" depends="compile">
  -
  -    <mkdir dir="${build.lib}"/>
  -
  -    <!-- The Block -->
  -    <jar file="${build.lib}/avalon-db.jar"
  -         manifest="${manifest.dir}/db.mf">
  -      <fileset dir="${build.classes}">
  -        <include name="org/apache/avalon/db/**"/>
  -        <exclude name="org/apache/avalon/db/transport/cmdstream/client/**"/>
  -        <exclude name="org/apache/avalon/db/driver/**"/>
  -        <exclude name="org/apache/avalon/db/test/**"/>
  -      </fileset>
  -      <fileset dir="${java.dir}">
  -        <include name="org/apache/avalon/db/**/*.xinfo"/>
  -      </fileset>
  -    </jar>
  -
  -
  -    <!-- The JDBC driver -->
  -    <jar file="${build.lib}/avalon-db-driver-cmdstream.jar">
  -      <fileset dir="${build.classes}">
  -        <include name="org/apache/avalon/db/transport/cmdstream/client/**"/>
  -        <include name="org/apache/avalon/db/transport/*"/>
  -        <include name="org/apache/avalon/db/common/**"/>
  -        <include name="org/apache/avalon/db/driver/**"/>
  -        <include name="org/apache/avalon/db/results/**"/>
  -        <include name="org/apache/avalon/db/utils/**"/>
  -      </fileset>
  -    </jar>
  -
  -
  -    <!-- Test GUI -->
  -    <jar file="${build.lib}/avalon-db-testgui.jar" manifest="${manifest.dir}/test-gui.mf">
  -      <fileset dir="${build.classes}">
  -        <include name="org/apache/avalon/db/**"/>
  -        <exclude name="org/apache/avalon/db/transport/cmdstream/server/**"/>    
  
  -      </fileset>
  -    </jar>
  -
  -
  -
  -  </target>
  -
  -  <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">
  -
  -    <sar sarfile="${build.lib}/avalon-db.sar"
  -         config="${conf.dir}/db-config.xml"
  -         server="${conf.dir}/db-server.xml"
  -         assembly="${conf.dir}/db-assembly.xml" >
  -
  -      <lib dir="${build.lib}/">
  -        <include name="avalon-db.jar"/>
  -      </lib>      
  -
  -      <lib dir="lib">
  -        <include name="bcel.jar"/>
  -        <include name="bsf.jar"/>
  -        <include name="js.jar"/>
  -        <include name="jakarta-regexp.jar"/>
  -      </lib>
  -
  -      <lib dir="../../build/lib/" >
  -        <include name="cornerstone.jar"/>
  -      </lib>  
  -      
  -    </sar>
  -
  -  </target>
  -
  -  
  -  <!-- Performs unit tests -->
  -  <target name="check" depends="compile" description="Perform any built in tests">
  -  </target>
  -
  -  <!-- Create the API documentation -->
  -  <target name="javadocs" description="Generates the Java Docs">
  -
  -    <delete dir="${docs.dir}/api"/>
  -    <mkdir dir="${docs.dir}/api"/>
  -
  -    <javadoc packagenames="org.apache.*"
  -             sourcepath="${java.dir}"
  -             destdir="${docs.dir}/api">
  -      <classpath refid="project.class.path" />
  -      <doclet name="com.sun.tools.doclets.standard.Standard">
  -       <param name="-author"/>
  -       <param name="-version"/>
  -       <param name="-doctitle" value="${Name}"/>
  -       <param name="-windowtitle" value="${Name} API"/>
  -       <param name="-bottom"
  -              value="&quot;Copyright &#169; 2001 Apache Jakarta Project. All Rights
Reserved.&quot;"/>
  -      </doclet>
  -    </javadoc>
  -  </target>
  -
  -  <!-- Completely build all dists -->
  -  <target name="dist" description="Generates the distribution">
  -
  -    <property name="dist.name" value="${Name}-${version}"/>
  -
  -    <mkdir dir="${dist.base}"/>
  -
  -    <antcall target="bin-dist" inheritAll="false">
  -      <param name="bin.dist.dir" value="${dist.name}" />
  -    </antcall>
  -
  -    <zip file="${dist.base}/${dist.name}-bin.zip"
  -         basedir="${dist.name}/.."
  -         includes="${dist.name}/**"/>
  -
  -    <tar longfile="gnu" tarfile="${dist.base}/${dist.name}-bin.tar">
  -      <tarfileset dir="${dist.name}/.." username="avalon" group="avalon">
  -        <include name="${dist.name}/**"/>
  -      </tarfileset>
  -    </tar>
  -
  -    <gzip zipfile="${dist.base}/${dist.name}-bin.tar.gz"
  -          src="${dist.base}/${dist.name}-bin.tar"/>
  -
  -    <delete file="${dist.base}/${dist.name}-bin.tar"/>
  -    <delete dir="${dist.name}" />
  -
  -    <antcall target="src-dist" inheritAll="false">
  -      <param name="src.dist.dir" value="${dist.name}" />
  -    </antcall>
  -
  -    <zip file="${dist.base}/${dist.name}-src.zip"
  -         basedir="${dist.name}/.."
  -         includes="${dist.name}/**"/>
  -
  -    <tar longfile="gnu" tarfile="${dist.base}/${dist.name}-src.tar" >
  -      <tarfileset dir="${dist.name}/.." mode="755" username="avalon" group="avalon">
  -        <include name="${dist.name}/build.sh"/>
  -      </tarfileset>
  -      <tarfileset dir="${dist.name}/.." username="avalon" group="avalon">
  -        <include name="${dist.name}/**"/>
  -        <exclude name="${dist.name}/build.sh"/>
  -      </tarfileset>
  -    </tar>
  -
  -    <gzip zipfile="${dist.base}/${dist.name}-src.tar.gz"
  -          src="${dist.base}/${dist.name}-src.tar"/>
  -    <delete file="${dist.base}/${dist.name}-src.tar"/>
  -    <delete dir="${dist.name}" />
  -
  -  </target>
  -
  -  <!-- Creates all the .sar files -->  
  -  <target name="bin-dist" depends="all" >
  -
  -    <!-- bin.dist.dir usually set before this target is called -->
  -    <property name="bin.dist.dir" value="dist"/>
  -    <property name="bin.dist.lib" value="${bin.dist.dir}/lib"/>
  -    <property name="bin.dist.docs" value="${bin.dist.dir}/docs"/>
  -
  -    <mkdir dir="${bin.dist.docs}"/>
  -    <copy todir="${bin.dist.docs}">
  -      <fileset dir="${docs.dir}"/>
  -    </copy>
  -
  -    <copy file="${build.lib}/avalon-db.sar" tofile="${bin.dist.dir}/avalon-db-${version}.sar"/>
  -
  -    <chmod dir="${bin.dist.dir}" perm="go-rwx" />
  -  </target>
  -
  -  <target name="src-dist" depends="docs">
  -    <!-- src.dist.dir has usually already been set -->
  -    <property name="src.dist.dir" value="dist-src"/>
  -    <property name="src.dist.src" value="${src.dist.dir}/src"/>
  -    <property name="src.dist.docs" value="${src.dist.dir}/docs"/>
  -
  -    <mkdir dir="${src.dist.docs}"/>
  -
  -    <copy todir="${src.dist.docs}">
  -      <fileset dir="${docs.dir}"/>
  -    </copy>
  -
  -    <copy todir="${src.dist.src}">
  -      <fileset dir="${src.dir}"/>
  -    </copy>
  -    <fixcrlf srcdir="${src.dist.src}/java" includes="**/*.java" eol="lf"/>
  -
  -    <chmod dir="${src.dist.dir}" perm="go-rwx" />
  -  </target>
  -
  -  <target name="install" depends="main" description="Installs into Phoenix">
  -    <!-- <fail message="install.dir not specified." unless="install.dir"/> -->
  -    <echo message="Installing to ${install.dir}" />    
  -    <copy file="${build.lib}/avalon-db.sar" todir="${install.dir}" />
  -    <delete file="${installvar.dir}/avalon-db-install.log" />     
  -    <delete dir="${install.dir}/avalon-db" />
  -  </target>
  -
  -  <target name="uninstall" description="Uninstalls from Phoenix">
  -
  -    <!-- <fail message="install.dir not specified." unless="install.dir"/> -->
  -    <delete dir="${install.dir}/avalon-db/" />
  -    <delete file="avalon-db.sar" dir="${install.dir}"/>
  -  </target>
  -
  -  <target name="clean" description="Cleans up artifacts from build process">
  -    <delete dir="${build.dir}" />
  -    <delete>
  -      <fileset dir="." includes="**/*~" defaultexcludes="no"/>
  -    </delete>
  -  </target>
  -
  -  <target name="distclean" depends="clean" description="Cleans up all generated files
and directories">
  -    <delete dir="${docs.dir}" />
  -    <delete dir="${bin.dist.dir}" />
  -    <delete dir="${dist.base}" />
  -  </target>
  -  
  -  <target name="docs"/>
  -
  -</project>
  +<project default="main" basedir=".">
  +
  +  <!--
  +    Give user a chance to override without editing this file
  +    (and without typing -D each time he compiles it)
  +  -->
  +  <property file=".ant.properties"/>
  +  <property file="${user.home}/.ant.properties"/>
  +
  +  <property name="name" value="avalon-db"/>
  +  <property name="Name" value="AvalonDB"/>
  +  <property name="version" value="0.7"/>
  +  <property name="year" value="1999-2001"/>
  +
  +  <property name="build.debug" value="on"/>
  +  <property name="build.optimize" value="off"/>
  +  <property name="build.deprecation" value="on"/>
  +
  +  <!-- Set the installation variables for Cornerstone/Phoenix -->
  +  <property name="phoenix.home" value="../../../jakarta-avalon-phoenix/dist"/>
  +  <property name="install.dir" value="${phoenix.home}/apps"/>
  +  <property name="installvar.dir" value="${phoenix.home}/var"/>
  +
  +  <!-- Set the properties for intermediate directory -->
  +  <property name="build.dir" value="build"/>
  +  <property name="build.lib" value="${build.dir}/lib"/>
  +  <property name="build.src" value="${build.dir}/src"/>
  +  <property name="build.classes" value="${build.dir}/classes"/>
  +
  +  <!-- Set the properties for source directories -->
  +  <property name="src.dir" value="src"/>
  +  <property name="java.dir" value="${src.dir}/java"/>
  +  <property name="manifest.dir" value="${src.dir}/manifest"/>
  +  <property name="conf.dir" value="${src.dir}/conf"/>
  +  <property name="docs.dir" value="docs"/>
  +
  +  <property name="dist.base" value="distributions"/>
  +
  +  <path id="project.class.path">
  +    <pathelement path="${java.class.path}" />
  +    <pathelement location="xerces.jar2"/>  
  +    <pathelement path="${build.classes}" />
  +    <pathelement path="../../build/classes" />
  +
  +    <fileset dir="../../lib">
  +      <include name="*.jar" />
  +    </fileset>
  +    <fileset dir="lib">
  +      <include name="*.jar" />
  +    </fileset>    
  +  </path>
  +
  +  <taskdef name="sar" classname="org.apache.avalon.phoenix.tools.tasks.Sar">
  +    <classpath refid="project.class.path" />
  +  </taskdef>
  +
  +  <!-- Help on usage -->
  +  <target name="help" depends="usage"/>
  +  <target name="usage">
  +    <echo message="Run ant -projecthelp to get a list of targets to run"/>
  +  </target>
  +
  +  <!-- Compiles project -->
  +  <target name="compile">
  +  
  +    <ant antfile="build.xml" dir="../.." target="compile" inheritall="false"/>
  +
  +    <mkdir dir="${build.classes}"/>
  +
  +    <available classname="electric.registry.Registry" 
  +        classpathref="project.class.path" 
  +        property="glue.present"/>
  +
  +    <javac srcdir="${java.dir}"
  +           destdir="${build.classes}"
  +           debug="${build.debug}"
  +           optimize="${build.optimize}"
  +           deprecation="${build.deprecation}">
  +      <classpath refid="project.class.path" />
  +      <exclude name="org/apache/avalon/db/transport/soap/client/glue/**"
  +               unless="glue.present" />
  +    </javac>
  +
  +    <copy todir="${build.classes}">
  +      <fileset dir="${java.dir}">
  +        <exclude name="**/test/**"/>
  +        <exclude name="**/*.java"/>
  +      </fileset>
  +    </copy>
  +
  +  </target>
  +
  +  <!-- Jars up project -->
  +  <target name="jars" depends="compile">
  +
  +    <mkdir dir="${build.lib}"/>
  +
  +    <!-- The Block -->
  +    <jar file="${build.lib}/avalon-db.jar"
  +         manifest="${manifest.dir}/db.mf">
  +      <fileset dir="${build.classes}">
  +        <include name="org/apache/avalon/db/**"/>
  +        <exclude name="org/apache/avalon/db/transport/cmdstream/client/**"/>
  +        <exclude name="org/apache/avalon/db/driver/**"/>
  +        <exclude name="org/apache/avalon/db/test/**"/>
  +      </fileset>
  +      <fileset dir="${java.dir}">
  +        <include name="org/apache/avalon/db/**/*.xinfo"/>
  +      </fileset>
  +    </jar>
  +
  +
  +    <!-- The JDBC driver -->
  +    <jar file="${build.lib}/avalon-db-driver-cmdstream.jar">
  +      <fileset dir="${build.classes}">
  +        <include name="org/apache/avalon/db/transport/cmdstream/client/**"/>
  +        <include name="org/apache/avalon/db/transport/*"/>
  +        <include name="org/apache/avalon/db/common/**"/>
  +        <include name="org/apache/avalon/db/driver/**"/>
  +        <include name="org/apache/avalon/db/results/**"/>
  +        <include name="org/apache/avalon/db/utils/**"/>
  +      </fileset>
  +    </jar>
  +
  +
  +    <!-- Test GUI -->
  +    <jar file="${build.lib}/avalon-db-testgui.jar" manifest="${manifest.dir}/test-gui.mf">
  +      <fileset dir="${build.classes}">
  +        <include name="org/apache/avalon/db/**"/>
  +        <exclude name="org/apache/avalon/db/transport/cmdstream/server/**"/>    
  
  +      </fileset>
  +    </jar>
  +
  +
  +
  +  </target>
  +
  +  <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">
  +
  +    <sar sarfile="${build.lib}/avalon-db.sar"
  +         config="${conf.dir}/db-config.xml"
  +         server="${conf.dir}/db-server.xml"
  +         assembly="${conf.dir}/db-assembly.xml" >
  +
  +      <lib dir="${build.lib}/">
  +        <include name="avalon-db.jar"/>
  +      </lib>      
  +
  +      <lib dir="lib">
  +        <include name="bcel.jar"/>
  +        <include name="bsf.jar"/>
  +        <include name="js.jar"/>
  +        <include name="jakarta-regexp.jar"/>
  +      </lib>
  +
  +      <lib dir="../../build/lib/" >
  +        <include name="cornerstone.jar"/>
  +      </lib>  
  +      
  +    </sar>
  +
  +  </target>
  +
  +  
  +  <!-- Performs unit tests -->
  +  <target name="check" depends="compile" description="Perform any built in tests">
  +  </target>
  +
  +  <!-- Create the API documentation -->
  +  <target name="javadocs" description="Generates the Java Docs">
  +
  +    <delete dir="${docs.dir}/api"/>
  +    <mkdir dir="${docs.dir}/api"/>
  +
  +    <javadoc packagenames="org.apache.*"
  +             sourcepath="${java.dir}"
  +             destdir="${docs.dir}/api">
  +      <classpath refid="project.class.path" />
  +      <doclet name="com.sun.tools.doclets.standard.Standard">
  +       <param name="-author"/>
  +       <param name="-version"/>
  +       <param name="-doctitle" value="${Name}"/>
  +       <param name="-windowtitle" value="${Name} API"/>
  +       <param name="-bottom"
  +              value="&quot;Copyright &#169; 2001 Apache Jakarta Project. All Rights
Reserved.&quot;"/>
  +      </doclet>
  +    </javadoc>
  +  </target>
  +
  +  <!-- Completely build all dists -->
  +  <target name="dist" description="Generates the distribution">
  +
  +    <property name="dist.name" value="${Name}-${version}"/>
  +
  +    <mkdir dir="${dist.base}"/>
  +
  +    <antcall target="bin-dist" inheritAll="false">
  +      <param name="bin.dist.dir" value="${dist.name}" />
  +    </antcall>
  +
  +    <zip file="${dist.base}/${dist.name}-bin.zip"
  +         basedir="${dist.name}/.."
  +         includes="${dist.name}/**"/>
  +
  +    <tar longfile="gnu" tarfile="${dist.base}/${dist.name}-bin.tar">
  +      <tarfileset dir="${dist.name}/.." username="avalon" group="avalon">
  +        <include name="${dist.name}/**"/>
  +      </tarfileset>
  +    </tar>
  +
  +    <gzip zipfile="${dist.base}/${dist.name}-bin.tar.gz"
  +          src="${dist.base}/${dist.name}-bin.tar"/>
  +
  +    <delete file="${dist.base}/${dist.name}-bin.tar"/>
  +    <delete dir="${dist.name}" />
  +
  +    <antcall target="src-dist" inheritAll="false">
  +      <param name="src.dist.dir" value="${dist.name}" />
  +    </antcall>
  +
  +    <zip file="${dist.base}/${dist.name}-src.zip"
  +         basedir="${dist.name}/.."
  +         includes="${dist.name}/**"/>
  +
  +    <tar longfile="gnu" tarfile="${dist.base}/${dist.name}-src.tar" >
  +      <tarfileset dir="${dist.name}/.." mode="755" username="avalon" group="avalon">
  +        <include name="${dist.name}/build.sh"/>
  +      </tarfileset>
  +      <tarfileset dir="${dist.name}/.." username="avalon" group="avalon">
  +        <include name="${dist.name}/**"/>
  +        <exclude name="${dist.name}/build.sh"/>
  +      </tarfileset>
  +    </tar>
  +
  +    <gzip zipfile="${dist.base}/${dist.name}-src.tar.gz"
  +          src="${dist.base}/${dist.name}-src.tar"/>
  +    <delete file="${dist.base}/${dist.name}-src.tar"/>
  +    <delete dir="${dist.name}" />
  +
  +  </target>
  +
  +  <!-- Creates all the .sar files -->  
  +  <target name="bin-dist" depends="all" >
  +
  +    <!-- bin.dist.dir usually set before this target is called -->
  +    <property name="bin.dist.dir" value="dist"/>
  +    <property name="bin.dist.lib" value="${bin.dist.dir}/lib"/>
  +    <property name="bin.dist.docs" value="${bin.dist.dir}/docs"/>
  +
  +    <mkdir dir="${bin.dist.docs}"/>
  +    <copy todir="${bin.dist.docs}">
  +      <fileset dir="${docs.dir}"/>
  +    </copy>
  +
  +    <copy file="${build.lib}/avalon-db.sar" tofile="${bin.dist.dir}/avalon-db-${version}.sar"/>
  +
  +    <chmod dir="${bin.dist.dir}" perm="go-rwx" />
  +  </target>
  +
  +  <target name="src-dist" depends="docs">
  +    <!-- src.dist.dir has usually already been set -->
  +    <property name="src.dist.dir" value="dist-src"/>
  +    <property name="src.dist.src" value="${src.dist.dir}/src"/>
  +    <property name="src.dist.docs" value="${src.dist.dir}/docs"/>
  +
  +    <mkdir dir="${src.dist.docs}"/>
  +
  +    <copy todir="${src.dist.docs}">
  +      <fileset dir="${docs.dir}"/>
  +    </copy>
  +
  +    <copy todir="${src.dist.src}">
  +      <fileset dir="${src.dir}"/>
  +    </copy>
  +    <fixcrlf srcdir="${src.dist.src}/java" includes="**/*.java" eol="lf"/>
  +
  +    <chmod dir="${src.dist.dir}" perm="go-rwx" />
  +  </target>
  +
  +  <target name="install" depends="main" description="Installs into Phoenix">
  +    <!-- <fail message="install.dir not specified." unless="install.dir"/> -->
  +    <echo message="Installing to ${install.dir}" />    
  +    <copy file="${build.lib}/avalon-db.sar" todir="${install.dir}" />
  +    <delete file="${installvar.dir}/avalon-db-install.log" />     
  +    <delete dir="${install.dir}/avalon-db" />
  +  </target>
  +
  +  <target name="uninstall" description="Uninstalls from Phoenix">
  +
  +    <!-- <fail message="install.dir not specified." unless="install.dir"/> -->
  +    <delete dir="${install.dir}/avalon-db/" />
  +    <delete file="avalon-db.sar" dir="${install.dir}"/>
  +  </target>
  +
  +  <target name="clean" description="Cleans up artifacts from build process">
  +    <delete dir="${build.dir}" />
  +    <delete>
  +      <fileset dir="." includes="**/*~" defaultexcludes="no"/>
  +    </delete>
  +  </target>
  +
  +  <target name="distclean" depends="clean" description="Cleans up all generated files
and directories">
  +    <delete dir="${docs.dir}" />
  +    <delete dir="${bin.dist.dir}" />
  +    <delete dir="${dist.base}" />
  +  </target>
  +  
  +  <target name="docs"/>
  +
  +</project>
  
  
  

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