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 2004/01/12 18:04:58 UTC

cvs commit: cocoon-lenya/src/targets publication-test-build-template.xml publication-test-build.xml webapp-build.xml

andreas     2004/01/12 09:04:58

  Modified:    src/targets publication-test-build.xml webapp-build.xml
  Added:       src/targets publication-test-build-template.xml
  Log:
  using template for publications test buildfile (avoid multiple patching)
  
  Revision  Changes    Path
  1.2       +14 -0     cocoon-lenya/src/targets/publication-test-build.xml
  
  Index: publication-test-build.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/targets/publication-test-build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- publication-test-build.xml	12 Jan 2004 16:53:37 -0000	1.1
  +++ publication-test-build.xml	12 Jan 2004 17:04:58 -0000	1.2
  @@ -1,3 +1,17 @@
   <?xml version="1.0" encoding="UTF-8"?>
   <target depends="init, tests.prepare" name="test.publications">
  +<!--..... Start configuration from 'test-build' -->&#13;
  +
  +
  +  <property name="newzz.pub.id" value="newzz"/>
  +
  +  <!-- Article Test -->
  +  <java classname="ch.nzz.newzz.lenya.cms.publication.ArticleTest" fork="yes">
  +    <jvmarg value="-enableassertions"/>
  +    <arg value="${tomcat.home.dir}/${tomcat.webapps.dir}"/>
  +    <arg value="${newzz.pub.id}"/>
  +    <classpath refid="classpath.default"/>
  +  </java>
  +
  +<!--..... End configuration from 'test-build' -->&#13;
   </target>
  
  
  
  1.12      +3 -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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- webapp-build.xml	12 Jan 2004 16:53:10 -0000	1.11
  +++ webapp-build.xml	12 Jan 2004 17:04:58 -0000	1.12
  @@ -38,6 +38,9 @@
               
       <!-- Patch publication tests -->
       <echo>INFO: Patch publication tests</echo>
  +    <copy file="./src/targets/publication-test-build-template.xml"
  +          tofile="./src/targets/publication-test-build.xml"
  +          overwrite="true"/>
       <xpatch file="./src/targets/publication-test-build.xml"
               srcdir="${build.webapp}/lenya/pubs" 
               includes="*/targets/test-build.xconf"
  
  
  
  1.1                  cocoon-lenya/src/targets/publication-test-build-template.xml
  
  Index: publication-test-build-template.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <target depends="init, tests.prepare" name="test.publications">
  </target>
  
  

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