You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/11/06 11:08:53 UTC

cvs commit: cocoon-lenya/src/targets init-build.xml webapp-build.xml properties-build.xml

andreas     2003/11/06 02:08:53

  Modified:    src/targets init-build.xml webapp-build.xml
                        properties-build.xml
  Log:
  patching cocoon.xconf for publications
  
  Revision  Changes    Path
  1.15      +3 -0      cocoon-lenya/src/targets/init-build.xml
  
  Index: init-build.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/targets/init-build.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- init-build.xml	25 Sep 2003 04:04:23 -0000	1.14
  +++ init-build.xml	6 Nov 2003 10:08:53 -0000	1.15
  @@ -32,6 +32,8 @@
       <property name="snapshot.src.dir" value="${dist.root}/${fullname}-src-${SNAPSHOT_STAMP}"/>
   
       <available file="${tools.jar}" property="tools.jar.present"/>
  +    
  +    
     </target>
   
     <target name="build-custom-tasks" depends="init">
  @@ -51,6 +53,7 @@
   
       <taskdef name="copyJavaSources" classpath="build/tools/anttasks" classname="org.apache.lenya.cms.ant.CopyJavaSourcesTask"/>
       <taskdef name="copyPubs"        classpath="build/tools/anttasks" classname="org.apache.lenya.cms.ant.CopyTask"/>
  +    <taskdef name="xpatch" classname="XConfToolTask" classpath="${tools.tasks.dest}"/>
     </target>
   
    <!-- ============================================================ -->
  
  
  
  1.8       +7 -0      cocoon-lenya/src/targets/webapp-build.xml
  
  Index: webapp-build.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/targets/webapp-build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- webapp-build.xml	12 Sep 2003 16:32:45 -0000	1.7
  +++ webapp-build.xml	6 Nov 2003 10:08:53 -0000	1.8
  @@ -29,6 +29,13 @@
       <copyPubs todir="${build.webapp}/lenya/pubs" pubsrootdirs="${pubs.root.dirs}">
       </copyPubs>
   
  +    <!-- Patch cocoon.xconf -->
  +    <echo>INFO: Patch cocoon.xconf</echo>
  +    <xpatch file="${build.webapp}/WEB-INF/cocoon.xconf"
  +            srcdir="${build.webapp}/lenya/pubs" 
  +            includes="*/config/cocoon.xconf"
  +            addComments="true"/>
  +            
       <!-- create directory classes within webapp -->
       <mkdir dir="${build.webapp}/WEB-INF/classes"/>
   
  
  
  
  1.10      +2 -0      cocoon-lenya/src/targets/properties-build.xml
  
  Index: properties-build.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/targets/properties-build.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- properties-build.xml	25 Sep 2003 04:03:14 -0000	1.9
  +++ properties-build.xml	6 Nov 2003 10:08:53 -0000	1.10
  @@ -106,6 +106,8 @@
   
     <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
     
  +  <property name="tools.tasks.dest" value="tools/anttasks"/>
  +  
     <!-- HSQLDB server port -->
     <property name="hsqldb-server.port" value="9002"/>
     
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org