cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-cocoon2 build.xml
Date Thu, 11 Oct 2001 14:51:13 GMT
bloritsch    01/10/11 07:51:13

  Modified:    .        build.xml
  Log:
  Add support for "context://" urls in Batik
  
  Revision  Changes    Path
  1.78      +22 -17    xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- build.xml	2001/10/11 07:24:48	1.77
  +++ build.xml	2001/10/11 14:51:13	1.78
  @@ -97,18 +97,18 @@
   
   - Php Generator : Requires the php package (not included in the dist)
                     <map:generate name="php" src="org.apache.cocoon.generation.PhpGenerator"/>
  -      
  +
   - HTML Generator : Requires the JTidy package (included in the dist)
                      <map:generator  name="html" src="org.apache.cocoon.generation.HTMLGenerator"
label="content"/>
   
   - ParentCM Generator : Requires the jndi package (not included in the dist)
                      <map:generator  name="parentcm"    src="org.apache.cocoon.samples.parentcm.Generator"/>
   
  -- XML:DB Generators: Require the XML:DB API and a valid implementation 
  +- XML:DB Generators: Require the XML:DB API and a valid implementation
                       (not included in the dist)
                       <map:generator name="xmldb" src="org.apache.cocoon.generation.XMLDBGenerator"/>
                       <map:generator name="xmldbcollection" src="org.apache.cocoon.generation.XMLDBCollectionGenerator"/>
  -                    
  +
   Transformers
   
   - XT transformer : Requires the XT package (included in the dist)
  @@ -135,7 +135,7 @@
   <project default="package" basedir=".">
   
     <!-- A simple task to test for a class -->
  -  <taskdef name="ClassAvailable" classname="ClassAvailable" classpath="./bin/anttasks"/>

  +  <taskdef name="ClassAvailable" classname="ClassAvailable" classpath="./bin/anttasks"/>
   
   
     <!--
  @@ -221,8 +221,8 @@
       <property name="build.announce" value="${build.dir}/Announcement.xml"/>
       <property name="announce2txt" value="../../skins/announcement2txt.xsl"/>
   
  -    <!-- 
  -    The location of tools.jar, relative to the JAVA_HOME home. 
  +    <!--
  +    The location of tools.jar, relative to the JAVA_HOME home.
       -->
       <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
       <available file="${tools.jar}" property="tools.jar.present"/>
  @@ -402,7 +402,8 @@
         <fileset dir="${build.src}">
           <include name="**/Manifest.mf"/>
           <include name="**/*.xsl"/>
  -    <include name="**/*.roles"/>
  +        <include name="**/*.roles"/>
  +        <include name="META-INF/**"/>
         </fileset>
       </copy>
   
  @@ -435,7 +436,11 @@
     <!-- =================================================================== -->
     <target name="package" depends="compile" description="Generates the jar package">
       <jar jarfile="${build.dir}/${name}.jar" manifest="${build.src}/Manifest.mf">
  -      <fileset dir="${build.dest}" includes="org/**" excludes="org/apache/cocoon/samples/**"/>
  +      <fileset dir="${build.dest}">
  +        <include name="org/**"/>
  +        <include name="META-INF/**"/>
  +        <exclude name="org/apache/cocoon/samples/**"/>
  +      </fileset>
       </jar>
     </target>
   
  @@ -505,7 +510,7 @@
     <!-- =================================================================== -->
     <!-- The documentation system (nearly beta...)                           -->
     <!-- =================================================================== -->
  -  <target name="docs" 
  +  <target name="docs"
             depends="package, prepare-docs, docs_check, docs_done"
             unless="docs.notrequired"
             description="Generates the documentation">
  @@ -539,7 +544,7 @@
         <fileset dir="${build.dest}" includes="org/apache/cocoon/samples/**"/>
         <fileset dir="${build.src}" includes="org/apache/cocoon/samples/**"/>
       </copy>
  -        
  +
       <copy todir="${build.war}" filtering="on">
         <fileset dir="${webapp.dir}">
           <exclude name="**/*.gif"/>
  @@ -564,11 +569,11 @@
         </fileset>
       </copy>
       <!-- change the image src for xvg -->
  -    <replace file="${build.war}/documentation/svg/label.xml" 
  -             token="file:images/label-background_b.gif" 
  +    <replace file="${build.war}/documentation/svg/label.xml"
  +             token="file:images/label-background_b.gif"
                value="file:documentation/images/label-background_b.gif"/>
  -    <replace file="${build.war}/documentation/svg/separator.xml" 
  -             token="file:images/separator.gif" 
  +    <replace file="${build.war}/documentation/svg/separator.xml"
  +             token="file:images/separator.gif"
                value="file:documentation/images/images/separator.gif"/>
   
       <!-- copy i18n sample webapp-->
  @@ -649,7 +654,7 @@
           <classpath>
             <pathelement location="${bin.dir}"/>
           </classpath>
  -    </java>    
  +    </java>
     </target>
   
     <!-- =================================================================== -->
  @@ -913,7 +918,7 @@
         unless="printer-docs.notrequired"
         description="Generates printer-friendly documentation">
       <mkdir dir="${build.docs.printer}"/>
  -    
  +
       <java classname="org.apache.cocoon.Main" fork="true" dir="${build.dir}/printer_documentation">
         <arg value="-c."/>
         <arg value="-d../printer-docs"/>
  @@ -1004,7 +1009,7 @@
       <copy todir="${dist.dir}/src">
         <fileset dir="${src.dir}"/>
       </copy>
  -    
  +
       <copy todir="${dist.dir}/webapp">
         <fileset dir="${build.war}">
           <!-- Do not copy the tools.jar (which is renamed to javac.jar) -->
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message