You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@apache.org on 2003/04/01 23:47:47 UTC

cvs commit: cocoon-2.1/src/targets admin-build.xml

stefano     2003/04/01 13:47:47

  Added:       src/targets admin-build.xml
  Log:
  
  
  Revision  Changes    Path
  1.1                  cocoon-2.1/src/targets/admin-build.xml
  
  Index: admin-build.xml
  ===================================================================
  <!-- === Admin targets ===================================================== -->
  
    <!-- Creates the web site  -->
    <target name="site" depends="docs, javadocs">
      <mkdir dir="${site}"/>
      <copy todir="${site}" filtering="off">
        <fileset dir="${build.docs}"/>
      </copy>
      <copy todir="${site}/apidocs" filtering="off">
        <fileset dir="${build.javadocs}"/>
      </copy>
    </target>
  
    <!-- Create the announcements -->
    <target name="announcement" depends="prepare-docs">
      <copy file="announcement.xml" tofile="${build.context}\xdocs\announcement.xml" filtering="on"/>
      <xslt basedir="${build.context}\xdocs"
             destdir="${build}"
             style="${build.context}\stylesheets\announcement2txt.xsl"
             includes="announcement.xml"
             extension=".txt"
             force="true"/>
    </target>
  
  <!-- === Gump Targets ====================================================== -->
  
    <!-- compiles and packages the core classes and the deprecated classes -->
    <target name="gump-core" depends="package-core, package-deprecated, javadocs"/>
  
    <!-- compiles and packages the scratchpad classes -->
    <target name="gump-scratchpad" depends="package-scratchpad"/>
    
    <!-- compiles and packages a single block identified by ${block-name} -->
    <target name="gump-block" depends="compile, prepare-blocks">
      <ant antfile="${build.temp}/blocks-build.xml"
           inheritAll="true"
           inheritRefs="false"
           target="cocoon-block-${block-name}-compile"/>
    </target>