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

Modified Files:
        buildbase.xml 
Log Message:
adjustments for the vpro-wizards:
- applications can now contian tagfiles. they are copied to 
WEB-INF/tags/[applicatiename] by the install.tagfiles target


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


Index: buildbase.xml
===================================================================
RCS file: /var/cvs/applications/buildbase.xml,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -b -r1.93 -r1.94
--- buildbase.xml       9 Jun 2008 08:39:58 -0000       1.93
+++ buildbase.xml       30 Jun 2008 13:06:26 -0000      1.94
@@ -79,6 +79,7 @@
   <property name="examples.dir"    value="${webapp.dir}/mmexamples" />
 
   <property name="web.dir"         value="${webapp.dir}/WEB-INF"/>
+  <property name="tagfile.dir"         value="${web.dir}/tags"/>
   <property name="mmdocs.dir"      value="${webapp.dir}/mmdocs"/>
   <property name="release.lib.dir" value="${web.dir}/lib"/>
   <property name="mmbase.jar"      value="${build.dir}/mmbase.jar"/>
@@ -127,6 +128,7 @@
     <available property="metainf.available"           
file="${project.source.dir}/META-INF"/>
     <available property="documentation.available" 
file="${project.source.dir}/documentation" />
     <available property="documentation.build.available" 
file="${project.build.dir}/documentation" />
+    <available property="tagfiles.available"        
file="${project.source.dir}/tagfiles" />
 
     <available property="examples.available"      
file="${project.examples.dir}"/>
     <available property="templates.available"     
file="${project.templates.dir}"/>
@@ -525,7 +527,13 @@
     </copy>
   </target>
 
-  <target name="install.dependencies" 
depends="jar,install.templates,install.examples,install.config,install.documentation"
 />
+   <target name="install.tagfiles" depends="init" if="tagfiles.available">
+    <copy todir="${tagfile.dir}/${project.name}" preservelastmodified="true">
+      <fileset dir="${project.source.dir}/tagfiles"/>
+    </copy>
+  </target>
+
+  <target name="install.dependencies" 
depends="jar,install.templates,install.examples,install.config,install.documentation,install.tagfiles"
 />
   <target name="install" depends="install.dependencies">
     <copy todir="${release.lib.dir}" preservelastmodified="true" 
flatten="true">
       <fileset dir="${project.jar.dir}">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to