cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon build.xml changes.xml
Date Mon, 22 May 2000 13:46:06 GMT
stefano     00/05/22 06:46:06

  Modified:    .        build.xml changes.xml
  Log:
  started 1.7.5-dev and added printer-friendly docs
  
  Revision  Changes    Path
  1.52      +17 -5     xml-cocoon/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/build.xml,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- build.xml	2000/05/18 21:46:51	1.51
  +++ build.xml	2000/05/22 13:46:05	1.52
  @@ -137,7 +137,7 @@
       <tstamp/>
       <property name="Name" value="Cocoon"/>
       <property name="name" value="cocoon"/>
  -    <property name="version" value="1.7.4"/>
  +    <property name="version" value="1.7.5-dev"/>
       <property name="year" value="1999-2000"/>
   
       <echo message="------------------- ${Name} ${version} [${year}] ----------------"/>
  @@ -156,7 +156,8 @@
       <property name="samples.dir" value="./samples"/>
       <property name="packages" value="org.apache.cocoon.*"/>
   
  -    <property name="skin" value="./skins/xml.apache.org/"/>
  +    <property name="browser.skin" value="${skins.dir}/xml.apache.org/"/>
  +    <property name="printer.skin" value="${skins.dir}/printer/"/>
       <property name="doc.generator" value="org.apache.stylebook.StyleBook"/>
       <property name="doc.generator.package" value="${lib.dir}/stylebook-1.0-b2.jar"/>
   
  @@ -164,6 +165,7 @@
       <property name="build.src" value="./build/src"/>
       <property name="build.dest" value="./build/classes"/>
       <property name="build.docs" value="./build/docs"/>
  +    <property name="build.docs.printer" value="./build/printer-docs"/>
       <property name="build.javadocs" value="./build/javadocs"/>
   
       <property name="dist.root" value="./dist"/>
  @@ -299,6 +301,9 @@
   
       <replace file="${docs.dir}/changes.xml" token="./xdocs/dtd/" value="dtd/"/>
       <replace file="${docs.dir}/todo.xml" token="./xdocs/dtd/" value="dtd/"/>
  +
  +    <delete file="${docs.dir}/book.xml"/>
  +    <copyfile src="${docs.dir}/docs-book.xml" dest="${docs.dir}/book.xml" filtering="on"/>
     </target>
   
     <!-- =================================================================== -->
  @@ -306,10 +311,17 @@
     <!-- =================================================================== -->
     <target name="docs" depends="prepare-docs">
       <mkdir dir="${build.docs}"/>
  -    <delete file="${docs.dir}/book.xml"/>
  -    <copyfile src="${docs.dir}/docs-book.xml" dest="${docs.dir}/book.xml" filtering="on"/>
  +    <java fork="yes" classpath="${java.class.path}:${doc.generator.package}" classname="${doc.generator}"
  +          args="targetDirectory=${build.docs} ${docs.dir}/book.xml ${browser.skin}"/>
  +  </target>
  +
  +  <!-- =================================================================== -->
  +  <!-- Generate printer-friendly HTML docs                                 -->
  +  <!-- =================================================================== -->
  +  <target name="printer-docs" depends="prepare-docs">
  +    <mkdir dir="${build.docs.printer}"/>
       <java fork="yes" classpath="${java.class.path}:${doc.generator.package}" classname="${doc.generator}"
  -          args="targetDirectory=${build.docs} ${docs.dir}/book.xml ${skin}"/>
  +          args="targetDirectory=${build.docs.printer} ${docs.dir}/book.xml ${printer.skin}"/>
     </target>
   
     <!-- =================================================================== -->
  
  
  
  1.76      +8 -1      xml-cocoon/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/changes.xml,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- changes.xml	2000/05/18 21:43:42	1.75
  +++ changes.xml	2000/05/22 13:46:05	1.76
  @@ -4,7 +4,7 @@
   
   <!--
     History of Cocoon changes
  -  $Id: changes.xml,v 1.75 2000/05/18 21:43:42 stefano Exp $
  +  $Id: changes.xml,v 1.76 2000/05/22 13:46:05 stefano Exp $
   -->
   
   <changes title="History of Changes">
  @@ -16,6 +16,13 @@
     </devs>
   
    <release version="@version@" date="@date@">
  +  <action dev="SM" type="add">
  +   Added printer friendly skin so tha documentation can now be generated to
  +   be printer friendly when needed.
  +  </action>
  + </release>
  + 
  + <release version="1.7.4" date="May 19 2000">
     <action dev="SM" type="fix">
      fixed xpath position() problem that caused the slideshow example to behave strangely.
Weird.
     </action>
  
  
  

Mime
View raw message