view build.xml @ 6:c05869fe20af

dist target added
author Pavel.Sher
date Mon, 14 Jul 2008 20:29:19 +0400
parents 8e6ade135483
children b5b31085de22
line wrap: on
line source
<project name="Mercurial VCS Support" default="dist" basedir=".">
  <property file="mercurial.properties"/>
  <import file="mercurial.xml"/>

  <property name="distPath" value="${basedir}/dist"/>

  <target name="dist" depends="clean, init, compile.module.mercurial.production">
    <mkdir dir="${distPath}/unpacked"/>
    <jar destfile="${distPath}/unpacked/mercurial.jar" basedir="${mercurial.output.dir}"/>
    <zip basedir="${distPath}/unpacked" destfile="${distPath}/mercurial.zip" includes="**/*"/>
  </target>
</project>