Update of /var/cvs/contributions/didactor2
In directory james.mmbase.org:/tmp/cvs-serv26952

Modified Files:
        build19.xml 
Log Message:
switch on framework for 19 builds


See also: http://cvs.mmbase.org/viewcvs/contributions/didactor2


Index: build19.xml
===================================================================
RCS file: /var/cvs/contributions/didactor2/build19.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- build19.xml 20 Jun 2008 08:45:15 -0000      1.5
+++ build19.xml 26 Jun 2008 15:36:37 -0000      1.6
@@ -1,4 +1,4 @@
-<project name="didactor2" default="webapp" basedir=".">
+<project name="didactor2_19" default="webapp" basedir=".">
 
   <!-- We need the 'foreach' and 'if' tasks, therefore we use ant-contrib -->
   <taskdef resource="net/sf/antcontrib/antcontrib.properties">
@@ -423,6 +423,20 @@
                   tofile="${build.webapp.dir}/WEB-INF/web.xml" />
           </then>
         </if>
+        <if>
+          <available file="src/${component}/webinf/web19.xml" />
+          <then>
+            <property name="mergeXmlFile"
+                      location="src/${component}/webinf/web19.xml" />
+            <xslt style="merge-web.xml.xslt"
+                  in="${build.webapp.dir}/WEB-INF/web.xml"
+                  out="${build.webapp.dir}/WEB-INF/web.help.xml">
+              <param name="mergeXmlFile" expression="${mergeXmlFile}" />
+            </xslt>
+            <move file="${build.webapp.dir}/WEB-INF/web.help.xml"
+                  tofile="${build.webapp.dir}/WEB-INF/web.xml" />
+          </then>
+        </if>
 
       </then>
     </if>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to