+ <target name="sourcedist" description="create jalview source distribution" depends="init">
+ <delete file="${source.dist.name}"/>
+ <tar destfile="${source.dist.name}" compression="gzip">
+ <tarfileset dir="./" prefix="jalview" preserveLeadingSlashes="true">
+ <include name="LICENSE"/>
+ <include name="README"/>
+ <include name="build.xml"/>
+ <include name="jalview-jalopy.xml"/>
+ <include name="JalviewApplet.jpx"/>
+ <include name="JalviewX.jpx"/>
+ <include name="${sourceDir}/*.java"/>
+ <include name="${sourceDir}/**/*.java"/>
+ <include name="${sourceDir}/**/*.cdr"/>
+ <include name="${libDir}/**/*"/>
+ <include name="${resourceDir}/**/*"/>
+ <include name="${helpDir}/**/*"/>
+ <exclude name="**/*locales"/>
+ <exclude name="*locales/**"/>
+ <exclude name="utils/InstallAnywhere/**Build.iap_xml"/>
+ <exclude name="utils/InstallAnywhere/**Build*/**"/>
+ <exclude name="utils/InstallAnywhere/**Build*/**"/>
+ <exclude name="utils/InstallAnywhere/**locale*"/>
+ <exclude name="utils/InstallAnywhere/**locale*/**"/>
+ <include name="${schemaDir}/**/*"/>
+ <include name="utils/**/*"/>
+ <include name="${docDir}/**/*"/>
+ </tarfileset>
+ </tar>
+ </target>