chiark / gitweb /
include licences in jars
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 5 Sep 2010 19:30:10 +0000 (20:30 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 5 Sep 2010 19:30:13 +0000 (20:30 +0100)
src/Jarrg.xml

index 2f77965..b48e7a9 100644 (file)
@@ -1,7 +1,7 @@
 <project name="MarketUploader" default="all">
        <property name="src" location="."/>
        <property name="build" location="build"/>
-       <property name="rootdir" location="."/>
+       <property name="rootdir" location=".."/>
        
        <target name="all" depends="init,compile,jar,wininst" />
 
                                <attribute name="Main-Class" value="com.tedpearson.ypp.market.ControlPanel"/>
                        </manifest>
                        <fileset dir="${build}" includes="**/ControlPanel*"/>
+                       <fileset dir="${rootdir}" includes="LICENCE" defaultexcludes="yes"/>
                </jar>
                <jar jarfile="${src}/../Jarrg-Uploader.jar">
                        <fileset dir="${src}" includes="com/sun/**" />
                        <fileset dir="${build}" includes="**/Market*.class"/>
                        <fileset dir="${build}" includes="net/chiark/**, com/tedpearson/util/update/*.class"/>
+                       <fileset dir="${rootdir}" includes="LICENCE*" defaultexcludes="yes"/>
                </jar>
        </target>