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

Modified Files:
        build.xml 
Log Message:
support for templates.zip directory also for providers


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


Index: build.xml
===================================================================
RCS file: /var/cvs/contributions/didactor2/build.xml,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -b -r1.101 -r1.102
--- build.xml   3 Mar 2008 16:11:52 -0000       1.101
+++ build.xml   6 Mar 2008 11:18:40 -0000       1.102
@@ -153,8 +153,17 @@
         </if>
       </else>
     </if>
-
-    <!-- copy templates -->
+    <if>
+     <available file="providers/${provider}/templates.zip" type="dir" />
+     <then>
+        <unzip dest="${build.webapp.dir}">
+          <fileset dir="src/${component}/templates.zip">
+            <include name="*.zip" />
+            <include name="*.war" />
+          </fileset>
+        </unzip>
+     </then>
+    </if>
     <if>
      <available file="providers/${provider}/webinf" type="dir" />
      <then>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to