1 <?xml version="1.0" encoding="UTF-8"?>
2 <project name="platform" default="download" basedir="..">
3 <condition property="download.required">
6 <available file="${harness.dir}/suite.xml"/>
8 <isset property="bootstrap.url"/>
9 <isset property="autoupdate.catalog.url"/>
12 <target name="download" if="download.required">
13 <mkdir dir="${harness.dir}"/>
14 <pathconvert pathsep="|" property="download.clusters">
15 <mapper type="flatten"/>
16 <path path="${cluster.path}"/>
18 <property name="disabled.modules" value=""/>
19 <pathconvert property="module.includes" pathsep="">
20 <mapper type="glob" from="${basedir}${file.separator}*" to="(?!^\Q*\E$)"/>
22 <filelist files="${disabled.modules}" dir="."/>
25 <echo message="Downloading clusters ${download.clusters}"/>
26 <property name="tasks.jar" location="${java.io.tmpdir}/tasks.jar"/>
27 <get src="${bootstrap.url}" dest="${tasks.jar}" usetimestamp="true" verbose="true"/>
28 <taskdef name="autoupdate" classname="org.netbeans.nbbuild.AutoUpdate" classpath="${tasks.jar}"/>
29 <autoupdate installdir="${nbplatform.active.dir}" updatecenter="${autoupdate.catalog.url}">
30 <modules includes="${module.includes}.*" clusters="${download.clusters}"/>
31 <modules includes="org[.]netbeans[.]modules[.]apisupport[.]harness" clusters="harness"/>