Author: nextgens
Date: 2007-07-03 11:14:32 +0000 (Tue, 03 Jul 2007)
New Revision: 13882

Modified:
   trunk/plugins/build.xml
Log:
tweak the ant buildfile for plugins ... so that it will bundle things from the 
resources/ directory and license files

Modified: trunk/plugins/build.xml
===================================================================
--- trunk/plugins/build.xml     2007-07-03 11:13:20 UTC (rev 13881)
+++ trunk/plugins/build.xml     2007-07-03 11:14:32 UTC (rev 13882)
@@ -35,10 +35,13 @@
        <!-- ================================================== -->
        <target name="dist" depends="clean,compile"
                description="generate the distribution" >
-               <jar jarfile="${dist}/${what}.jar" basedir="${build}">
+               <jar jarfile="${dist}/${what}.jar" duplicate="fail">
                        <manifest>
                                <attribute name="Plugin-Main-Class" 
value="plugins.${what}.${what}"/>
                        </manifest>
+                       <fileset dir="${src}/resources"/>
+                       <filename name="${src}/**/*.txt"/>
+                       <fileset dir="${build}/"/>
                </jar>
        </target>



Reply via email to