Mercurial > hg > mercurial
annotate build.xml @ 27:7944e8985ebd
prepare modules structure for agent side checkout
author | Pavel.Sher |
---|---|
date | Wed, 23 Jul 2008 09:18:03 +0400 |
parents | de75221eb196 |
children | a7cab5083ada |
rev | line source |
---|---|
6 | 1 <project name="Mercurial VCS Support" default="dist" basedir="."> |
5 | 2 <property file="mercurial.properties"/> |
3 <import file="mercurial.xml"/> | |
4 | |
6 | 5 <property name="distPath" value="${basedir}/dist"/> |
5 | 6 |
27
7944e8985ebd
prepare modules structure for agent side checkout
Pavel.Sher
parents:
26
diff
changeset
|
7 <target name="dist" depends="all"> |
6 | 8 <mkdir dir="${distPath}/unpacked"/> |
27
7944e8985ebd
prepare modules structure for agent side checkout
Pavel.Sher
parents:
26
diff
changeset
|
9 <jar destfile="${distPath}/unpacked/mercurial-common.jar" basedir="${mercurial-common.output.dir}"/> |
7944e8985ebd
prepare modules structure for agent side checkout
Pavel.Sher
parents:
26
diff
changeset
|
10 <jar destfile="${distPath}/unpacked/mercurial-server.jar" basedir="${mercurial-server.output.dir}"/> |
7944e8985ebd
prepare modules structure for agent side checkout
Pavel.Sher
parents:
26
diff
changeset
|
11 <jar destfile="${distPath}/unpacked/mercurial-agent.jar" basedir="${mercurial-agent.output.dir}"/> |
6 | 12 <zip basedir="${distPath}/unpacked" destfile="${distPath}/mercurial.zip" includes="**/*"/> |
24 | 13 <zip basedir="${basedir}" destfile="${distPath}/mercurial-src.zip"> |
14 <exclude name=".hg/**"/> | |
15 <exclude name="dist/**"/> | |
16 <exclude name="**/classes/**"/> | |
26 | 17 <exclude name="*.iws"/> |
27
7944e8985ebd
prepare modules structure for agent side checkout
Pavel.Sher
parents:
26
diff
changeset
|
18 <exclude name="test-output/**"/> |
24 | 19 </zip> |
5 | 20 </target> |
14 | 21 |
22 <taskdef name="testng" classname="org.testng.TestNGAntTask" classpath="${basedir}/mercurial-tests/lib/testng-5.7-jdk15.jar"/> | |
23 | |
24 <target name="run-tests" depends="clean, init, compile.module.mercurial-tests.production"> | |
25 | |
26 <testng haltonfailure="no" failureProperty="failure_found" listener="org.testng.reporters.TestHTMLReporter" | |
27 outputdir="${basedir}/test-output" classpathref="mercurial-tests.runtime.module.classpath" dumpcommand="true"> | |
28 | |
29 <jvmarg value="-ea"/> | |
30 | |
31 <sysproperty key="java.awt.headless" value="true"/> | |
32 | |
33 <xmlfileset dir="${basedir}/mercurial-tests/src"> | |
34 <include name="testng.xml"/> | |
35 </xmlfileset> | |
36 </testng> | |
37 </target> | |
5 | 38 </project> |