Mercurial > hg > mercurial
view build.xml @ 24:afcb3eee8fc6
build mercurial plugin source code
author | Pavel.Sher |
---|---|
date | Mon, 21 Jul 2008 21:10:23 +0400 |
parents | b5b31085de22 |
children | de75221eb196 |
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="**/*"/> <zip basedir="${basedir}" destfile="${distPath}/mercurial-src.zip"> <exclude name=".hg/**"/> <exclude name="dist/**"/> <exclude name="**/classes/**"/> </zip> </target> <taskdef name="testng" classname="org.testng.TestNGAntTask" classpath="${basedir}/mercurial-tests/lib/testng-5.7-jdk15.jar"/> <target name="run-tests" depends="clean, init, compile.module.mercurial-tests.production"> <testng haltonfailure="no" failureProperty="failure_found" listener="org.testng.reporters.TestHTMLReporter" outputdir="${basedir}/test-output" classpathref="mercurial-tests.runtime.module.classpath" dumpcommand="true"> <jvmarg value="-ea"/> <sysproperty key="java.awt.headless" value="true"/> <xmlfileset dir="${basedir}/mercurial-tests/src"> <include name="testng.xml"/> </xmlfileset> </testng> </target> </project>