jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gl...@apache.org
Subject cvs commit: jakarta-taglibs/tools/UltraDev/4.0/ctlx build.xml
Date Sun, 20 May 2001 02:19:55 GMT
glenn       01/05/19 19:19:55

  Modified:    tools/UltraDev/4.0/ctlx build.xml
  Log:
  Publish to Jakarta-Taglibs
  
  Revision  Changes    Path
  1.4       +31 -14    jakarta-taglibs/tools/UltraDev/4.0/ctlx/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/tools/UltraDev/4.0/ctlx/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xml	2001/04/19 01:19:01	1.3
  +++ build.xml	2001/05/20 02:19:55	1.4
  @@ -1,7 +1,7 @@
   <!-- ANT Build Script for the CTLX -->
  -<!-- $Id: build.xml,v 1.3 2001/04/19 01:19:01 dmandell Exp $ -->
  +<!-- $Id: build.xml,v 1.4 2001/05/20 02:19:55 glenn Exp $ -->
   
  -<project name="ctlx" default="main" basedir=".">
  +<project name="ultradev4" default="main" basedir=".">
   
       <!-- ******************** Adjustable Properties *********************** -->
   
  @@ -28,7 +28,7 @@
   
       -->
   
  -    <property name="taglib.name"      value="ctlx"/>
  +    <property name="taglib.name"      value="ultradev4"/>
       <property name="ant.home"       value="../../../../../jakarta-ant"/>
       <property name="servlet.jar"    value="../../../../../jakarta-servletapi/lib/servlet.jar"/>
       <property name="xerces.jar"     value="../../../../../xml-xalan/xerces.jar"/>
  @@ -41,17 +41,17 @@
   	dist.dir                    Base directory for distribution targets
       -->
   
  -    <property name="build.dir"      value="../../../../../build/taglibs/tools/UltraDev/4.0/ctlx"/>
  -    <property name="dist.dir"	    value="../../../../../dist/taglibs/tools/UltraDev/4.0/ctlx"/>
  +    <property name="build.dir"      value="../../../../../build/taglibs/ultradev4"/>
  +    <property name="dist.dir"	    value="../../../../../dist/taglibs/ultradev4"/>
  +    <property name="taglibs.xsl"    value="../../../../../../src/doc/stylesheets/taglibs.xsl"/>
   
  -
       <!-- *********************** Default Properties ********************** -->
   
       <!--
   
   	conf.src                    TLDParser configuration source directory
           doc.src                     Documentation source directory
  -        tutorial.src		    ctlx-tutorial application
  +        tutorial.src		    ultradev4-tutorial application
           library.src                 Library Java source directory
   	lib.src			    Directory for Xerces XML processor
   	ext.src			    UltraDev extension files source directory
  @@ -72,6 +72,7 @@
           These property values are derived from the previously defined values,
   	and should not normally be overridden from the command line.
   
  +        build.doc                   Target directory for documentation app
           build.parser		    Target directory for TLDParser sevlet
   	dist.doc                    Destination for documentation
   	dist.parser		    Destination WAR for TLDParser servlet
  @@ -80,10 +81,11 @@
   
       -->
   
  +    <property name="build.doc"      value="${build.dir}/${taglib.name}-doc"/>
       <property name="build.parser"   value="${build.dir}/TLDParser" />
  -    <property name="dist.doc"       value="${dist.dir}/ctlxmanual.html"/>
  +    <property name="dist.doc"       value="${dist.dir}/${taglib.name}-doc.war"/>
       <property name="dist.parser"    value="${dist.dir}/TLDParser.war"/>
  -    <property name="dist.tutorial"  value="${dist.dir}/ctlx-tutorial.war"/>
  +    <property name="dist.tutorial"  value="${dist.dir}/ultradev4-tutorial.war"/>
       <property name="dist.ext"	    value="${dist.dir}/ctlx.mxp"/>
   
     <!-- ********************** Destination Preparation ********************* -->
  @@ -91,6 +93,10 @@
     <target name="prepare">
       <!-- Set up build directories -->
       <mkdir dir="${build.dir}"/>
  +    <mkdir dir="${build.doc}"/>
  +    <mkdir dir="${build.doc}/WEB-INF"/>
  +    <mkdir dir="${build.doc}/WEB-INF/classes"/>
  +    <mkdir dir="${build.doc}/WEB-INF/lib"/>
       <mkdir dir="${build.parser}"/>
       <mkdir dir="${build.parser}/tlds"/>
       <mkdir dir="${build.parser}/WEB-INF"/>
  @@ -100,6 +106,15 @@
       <mkdir dir="${dist.dir}"/>
     </target>
   
  +  <!-- Compile the documentation application -->                               
  +  <target name="documentation" depends="prepare">
  +    <copy file="${doc.src}/ctlxmanual.html" tofile="${build.doc}/index.html"/>
  +    <copy todir="${build.doc}/WEB-INF">
  +      <fileset dir="${doc.src}/conf"/>
  +    </copy>
  +    <style   basedir="${doc.src}/web" destdir="${build.doc}"
  +      extension=".html" style="${taglibs.xsl}" includes="*.xml"/>
  +  </target>
   
     <!-- **************** Compile TLDParser Servlet ******************** -->
   
  @@ -116,11 +131,16 @@
     </target>
   
     <!-- Compile TLDParser WAR, place into dist with doc, tutorial, and .mxp  -->
  -  <target name="main" depends="dist"/>
  +  <target name="main" depends="documentation,dist"/>
   
   
     <!-- ******************* Create Distribution Files ********************** -->
   
  +  <!-- Create the documentation application WAR file -->
  +  <target name="documentation-dist" depends="documentation">
  +    <jar jarfile="${dist.doc}" basedir="${build.doc}"/>
  +  </target> 
  +
     <!-- Create the TLDParser servlet WAR file -->
     <target name="TLDParser-dist" depends="TLDParser">
       <jar jarfile="${dist.parser}" basedir="${build.parser}"/>
  @@ -128,15 +148,12 @@
   
     <!-- Copy the documentation, tutorial and UltraDev extension file to dist -->
     <target name="copy-others" depends="prepare">
  -    <copy todir="${dist.dir}">
  -      <fileset dir="${doc.src}"/>
  -    </copy>
       <copy file="${tutorial.src}/" tofile="${dist.tutorial}"/>
       <copy file="${ext.src}" tofile="${dist.ext}"/>
     </target>
     
     <!-- Create the entire set of distribution files -->
  -  <target name="dist" depends="TLDParser-dist,copy-others"/>
  +  <target name="dist" depends="TLDParser-dist,copy-others,documentation-dist"/>
   
   
     <!-- ************************ Utility Commands ************************** -->
  
  
  

Mime
View raw message