test-unit target, since qa-functional tests do not seem to be working anyway.
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project name="visualweb" basedir=".">
3 <mkdir dir=".hg"/> <!-- just in case -->
4 <get src="http://dlc.sun.com.edgesuite.net/netbeans/6.9/final/zip/netbeans-6.9-201006101454-ml-java.zip" dest=".hg" skipexisting="true" verbose="true"/>
5 <unzip src=".hg/netbeans-6.9-201006101454-ml-java.zip" dest=".hg"/>
6 <import file="nbproject/build-impl.xml"/>
7 <target name="downloadbinaries" description="Download external binaries not stored in Mercurial sources.">
8 <!-- XXX as of NB 7.0 (a5514d070c77) this will be standard; until then need our own copy: -->
9 <taskdef classpath="tasks.jar" resource="org/netbeans/nbbuild/taskdefs.properties"/>
10 <property file="${user.home}/.nbbuild.properties"/> <!-- permit binaries.cache to be overridden -->
11 <property name="binaries.cache" location="${user.home}/.hgexternalcache"/>
12 <property name="binaries.server" value="http://hg.netbeans.org/binaries/"/>
13 <downloadbinaries cache="${binaries.cache}" server="${binaries.server}">
15 <include name="*/external/binaries-list"/>
19 <target name="-init" depends="suite.-init,downloadbinaries"/>
20 <target name="test-unit" description="Runs unit tests for all modules in the suite.">
21 <sortsuitemodules unsortedmodules="${modules}" sortedmodulesproperty="modules.test.sorted" sorttests="true"/>
22 <property name="continue.after.failing.tests" value="true"/> <!-- fallback -->
23 <subant target="test-unit" buildpath="${modules.test.sorted}" inheritrefs="false" inheritall="false">
24 <property name="cluster.path.evaluated" value="${cluster.path.evaluated}"/> <!-- Just for speed of pre-7.0 projects -->
25 <property name="continue.after.failing.tests" value="${continue.after.failing.tests}"/>