forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r191123 - /forrest/trunk/main/build.xml
Date Fri, 17 Jun 2005 10:13:59 GMT
Author: rgardler
Date: Fri Jun 17 03:13:56 2005
New Revision: 191123

URL: http://svn.apache.org/viewcvs?rev=191123&view=rev
Log:
ensure necessary plugin files are included and unnecessary ones are excluded in the dist build.

Modified:
    forrest/trunk/main/build.xml

Modified: forrest/trunk/main/build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/build.xml?rev=191123&r1=191122&r2=191123&view=diff
==============================================================================
--- forrest/trunk/main/build.xml (original)
+++ forrest/trunk/main/build.xml Fri Jun 17 03:13:56 2005
@@ -199,19 +199,40 @@
     <delete dir="${dist-shbat.dir}" />
     <mkdir dir="${dist-shbat.dir}" />
     
-    <!-- copy all Forrest -->
+    <echo>Copy Forrest core files from ${forrest.home}</echo>
     <copy todir="${dist-shbat.dir}">
       <fileset dir="${forrest.home}" >
         <exclude name="build/**"/>
         <exclude name="whiteboard/**"/>
+        <exclude name="plugins/**"/>
       </fileset>
     </copy>
-     <copy todir="${dist-shbat.dir}">
+    
+    <echo>Copy plugin related files from ${plugins.dir}</echo>
+    <copy todir="${dist-shbat.dir}/plugins">
+       <fileset dir="${plugins.dir}" >
+        <include name="plugins.xml"/>
+        <include name="build.xml"/>
+        <include name="pluginTemplate/**"/>
+        <include name="org.apache.forrest.plugin.output.pdf/**"/>
+      </fileset>
+    </copy>
+    
+    <echo>Copy whiteboard plugin related files</echo>
+    <copy todir="${dist-shbat.dir}/whiteboard/plugins">
+       <fileset dir="${forrest.home}/whiteboard/plugins" >
+        <include name="whiteboard-plugins.xml"/>
+        <include name="build.xml"/>
+      </fileset>
+    </copy>
+    
+    <echo>Copy forrest.jar</echo>
+    <copy todir="${dist-shbat.dir}">
        <fileset dir="${forrest.home}" >
         <include name="build/xml-forrest.jar"/>
       </fileset>
     </copy>
-        
+    
     <!-- Fix bin/ permissions -->
     <fixcrlf eol="crlf" srcdir="${dist-shbat.dir}/bin" includes="*.bat"/>
     <fixcrlf eol="lf" srcdir="${dist-shbat.dir}/bin" excludes="*.bat"/>



Mime
View raw message