Update of /var/cvs/applications
In directory james.mmbase.org:/tmp/cvs-serv27003

Modified Files:
      Tag: MMBase-1_8
        buildbase.xml 
Log Message:
made a bit more 1.9 compatible, by already installing the blocks, if available 
to the correct location


See also: http://cvs.mmbase.org/viewcvs/applications


Index: buildbase.xml
===================================================================
RCS file: /var/cvs/applications/buildbase.xml,v
retrieving revision 1.79.2.9
retrieving revision 1.79.2.10
diff -u -b -r1.79.2.9 -r1.79.2.10
--- buildbase.xml       9 Jun 2008 08:59:44 -0000       1.79.2.9
+++ buildbase.xml       4 Aug 2008 16:01:26 -0000       1.79.2.10
@@ -262,12 +262,17 @@
         <exclude name="documentation/**" />
         <exclude name="src/**" />
         <exclude name="build*/**" />
+        <exclude name="target*/**" />
         <exclude name="META-INF/**" />
         <exclude name="README*" />
+        <exclude name="blocks/**" />
       </patternset>
     </zipfileset>
+    <available property="blocks.exists" file="blocks" type="dir" />
   </target>
 
+
+
   <target name="package" 
depends="package.check,package.documentation,template.include" 
unless="package.uptodate">
     <antcall target="jar" />
 
@@ -316,6 +321,17 @@
       <patternset refid="web-app.package.files" />
     </zipfileset>
   </zip>
+  <antcall  target="package.update.blocks" />
+  </target>
+
+  <target name="package.update.blocks" if="blocks.exists">
+    <zip zipfile="${project.zip}" update="true">
+      <zipfileset dir="${project.source.dir}/blocks" 
prefix="${zip.name}/web-app/components/blocks/${project.name}" >
+        <patternset id="web-app.block.files">
+          <include name="**" />
+        </patternset>
+      </zipfileset>
+    </zip>
   </target>
 
 
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to