jglick@4887
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
jglick@4887
|
2 |
<project name="soa" basedir=".">
|
jglick@4890
|
3 |
<mkdir dir=".hg"/> <!-- just in case -->
|
jglick@4890
|
4 |
<get src="http://download.netbeans.org/netbeans/7.0/final/zip/netbeans-7.0-201104080000-ml-javaee.zip" dest=".hg" skipexisting="true" verbose="true"/>
|
jglick@4890
|
5 |
<unzip src=".hg/netbeans-7.0-201104080000-ml-javaee.zip" dest=".hg"/>
|
jglick@4887
|
6 |
<import file="nbproject/build-impl.xml"/>
|
jglick@4890
|
7 |
<target name="downloadbinaries" description="Download external binaries not stored in Mercurial sources.">
|
jglick@4890
|
8 |
<taskdef classpath="${nbplatform.nb70.harness.dir}/tasks.jar" resource="org/netbeans/nbbuild/taskdefs.properties"/>
|
jglick@4890
|
9 |
<property file="${user.home}/.nbbuild.properties"/> <!-- permit binaries.cache to be overridden -->
|
jglick@4890
|
10 |
<property name="binaries.cache" location="${user.home}/.hgexternalcache"/>
|
jglick@4890
|
11 |
<property name="binaries.server" value="http://hg.netbeans.org/binaries/"/>
|
jglick@4890
|
12 |
<downloadbinaries cache="${binaries.cache}" server="${binaries.server}">
|
jglick@4890
|
13 |
<manifest dir=".">
|
jglick@4890
|
14 |
<include name="*/external/binaries-list"/>
|
jglick@4890
|
15 |
</manifest>
|
jglick@4890
|
16 |
</downloadbinaries>
|
jglick@4890
|
17 |
<mkdir dir=".hg/xml"/>
|
jglick@4890
|
18 |
<autoupdate updatecenter="http://deadlock.netbeans.org/hudson/job/xml/lastSuccessfulBuild/artifact/build/updates/updates.xml" todir=".hg/xml">
|
jglick@4890
|
19 |
<modules includes=".+"/>
|
jglick@4890
|
20 |
</autoupdate>
|
jglick@4890
|
21 |
</target>
|
jglick@4890
|
22 |
<target name="-init" depends="suite.-init,downloadbinaries"/>
|
jglick@4890
|
23 |
<target name="test-unit" depends="-init" description="Runs unit tests for all modules in the suite.">
|
jglick@4890
|
24 |
<sortsuitemodules unsortedmodules="${modules}" sortedmodulesproperty="modules.test.sorted" sorttests="true"/>
|
jglick@4890
|
25 |
<property name="continue.after.failing.tests" value="true"/> <!-- fallback -->
|
jglick@4890
|
26 |
<subant target="test-unit" buildpath="${modules.test.sorted}" inheritrefs="false" inheritall="false">
|
jglick@4890
|
27 |
<property name="cluster.path.evaluated" value="${cluster.path.evaluated}"/> <!-- Just for speed of pre-7.0 projects -->
|
jglick@4890
|
28 |
<property name="continue.after.failing.tests" value="${continue.after.failing.tests}"/>
|
jglick@4890
|
29 |
</subant>
|
jglick@4890
|
30 |
</target>
|
jglick@4887
|
31 |
</project>
|