You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by ab...@locus.apache.org on 2000/06/09 20:08:02 UTC

cvs commit: xml-stylebook build.xml

abagchi     00/06/09 11:08:02

  Modified:    .        build.xml
  Log:
  Now works properly
  
  Revision  Changes    Path
  1.5       +26 -24    xml-stylebook/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-stylebook/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml	2000/01/04 15:13:57	1.4
  +++ build.xml	2000/06/09 18:08:00	1.5
  @@ -6,8 +6,8 @@
   
   Notes:
      This is a build file for use with the Jakarta Ant java build tool.
  -   
  -Installation Instructions:   
  +
  +Installation Instructions:
      To install Ant on your system, you need to checkout the
      "jakarta-tools" CVS module. Then you should place the files
        - ant.jar
  @@ -15,39 +15,41 @@
        - javac.jar
      in your classpath. (XML parser abstraction is currently in
      the todo list, volunteers welcome!)
  -   
  -Build Instructions:   
  +
  +Build Instructions:
      To build, run
  -    
  +
        java org.apache.tools.ant.Main
  -     
  +
      on the directory where this file is located.
   
   Authors:
     Stefano Mazzocchi <st...@apache.org>
  -  
  +
   Copyright:
     Copyright (c) 1999 The Apache Software Foundation.
  -  
  -   $Id: build.xml,v 1.4 2000/01/04 15:13:57 pier Exp $
  -   
  +
  +   $Id: build.xml,v 1.5 2000/06/09 18:08:00 abagchi Exp $
  +
   ==================================================================== -->
   
   <project name="Stylebook" default="package" basedir=".">
   
  -  <property name="name" value="stylebook"/>
  -  <property name="version" value="1.0-b2"/>
  -  
  -  <property name="build.compiler" value="classic"/>
  -  <property name="debug" value="off"/>
  -
  -  <property name="build.dir" value="./build"/>
  -  <property name="build.src" value="./build/src"/>
  -  <property name="build.dest" value="./build/classes"/>
  -  <property name="src.dir" value="./src"/>
  -  <property name="bin.dir" value="./bin"/>
  -  
  -  <target name="prepare">
  +  <target name="init">
  +	  <property name="name" value="stylebook"/>
  +	  <property name="version" value="1.0-b2"/>
  +
  +	  <property name="build.compiler" value="classic"/>
  +	  <property name="debug" value="off"/>
  +
  +	  <property name="build.dir" value="./build"/>
  +	  <property name="build.src" value="./build/src"/>
  +	  <property name="build.dest" value="./build/classes"/>
  +	  <property name="src.dir" value="./src"/>
  +	  <property name="bin.dir" value="./bin"/>
  +  </target>
  +
  +  <target name="prepare" depends="init">
       <mkdir dir="${build.dir}"/>
       <mkdir dir="${build.src}"/>
       <mkdir dir="${build.dest}"/>
  @@ -61,7 +63,7 @@
     <target name="package" depends="compile">
       <jar jarfile="${bin.dir}/${name}-${version}.jar" basedir="${build.dest}" items="org"/>
     </target>
  -  
  +
     <target name="clean">
       <deltree dir="${build.dir}"/>
     </target>