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

Modified Files:
        build19.xml 
Log Message:
for the time being didactor components will also behave as mmbase components, 
and can therefore also provide blocks


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


Index: build19.xml
===================================================================
RCS file: /var/cvs/contributions/didactor2/build19.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- build19.xml 26 Jun 2008 15:36:37 -0000      1.6
+++ build19.xml 26 Jun 2008 15:57:35 -0000      1.7
@@ -396,6 +396,19 @@
     </if>
 
 
+    <!-- copy component blocks -->
+    <if>
+     <available file="src/${component}/blocks" type="dir" />
+     <then>
+       <copy todir="${build.webapp.dir}/mmbase/components/${component}" 
overwrite="true" preservelastmodified="true">
+         <fileset
+             defaultexcludes="${defaultexcludes}"
+             dir="src/${component}/block">
+         </fileset>
+       </copy>
+     </then>
+    </if>
+
     <!-- copy webinf -->
     <if>
       <available file="src/${component}/webinf" type="dir" />
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to