- form of a war file
- * source-distribution
- Sets up a distributable version of mir as a
- - zipped version of the source tree
+ - gzipped tar version of the source tree
+ - * full-distribution
+ - Sets up a distributable version of mir in the
+ - form of a gzipped tar file with the sources
- * javadoc
- Generates the project's javadoc
-->
</target>
<target name="source-distribution" depends="prepare-source-distribution">
- <zip zipfile="${distribution.home}/source.zip" >
+ <!--<zip zipfile="${distribution.home}/mir-source-${version}.zip" >
<fileset dir="."
includes="bundles/**/*,source/**/*,etc/**/*,meta/**/*,web/**/*,templates/**/*,dbscripts/**/*,lib/**/*,doc/**/*,build.xml" />
- </zip>
+ </zip>-->
+ <tar tarfile="${distribution.home}/mir-source-${version}.tar.gz" compression="gzip">
+ <tarfileset dir="."
+ includes="bundles/**/*,source/**/*,etc/**/*,meta/**/*,web/**/*,templates/**/*,dbscripts/**/*,lib/**/*,doc/**/*,build.xml" />
+ </tar>
</target>
destdir="${build}/htmldocs"
style="${build}/xslt/html.xsl"/>
</target>
-
+
+ <target name="full-distribution" depends="prepare-distribution,deploy,source-distribution">
+ <copy todir="${destination}/WEB-INF">
+ <fileset file="${distribution.home}/mir-source-${version}.tar.gz"/>
+ </copy>
+ <tar tarfile="${distribution.home}/mir-${version}.tar.gz" compression="gzip">
+ <tarfileset dir="bin" includes="**/*" />
+ </tar>
+ </target>
</project>