1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/make/netbeans/nb-javac-modules/nbproject/platform.xml Fri Apr 20 16:02:37 2018 +0200
1.3 @@ -0,0 +1,34 @@
1.4 +<?xml version="1.0" encoding="UTF-8"?>
1.5 +<project name="platform" default="download" basedir="..">
1.6 + <condition property="download.required">
1.7 + <and>
1.8 + <not>
1.9 + <available file="${harness.dir}/suite.xml"/>
1.10 + </not>
1.11 + <isset property="bootstrap.url"/>
1.12 + <isset property="autoupdate.catalog.url"/>
1.13 + </and>
1.14 + </condition>
1.15 + <target name="download" if="download.required">
1.16 + <mkdir dir="${harness.dir}"/>
1.17 + <pathconvert pathsep="|" property="download.clusters">
1.18 + <mapper type="flatten"/>
1.19 + <path path="${cluster.path}"/>
1.20 + </pathconvert>
1.21 + <property name="disabled.modules" value=""/>
1.22 + <pathconvert property="module.includes" pathsep="">
1.23 + <mapper type="glob" from="${basedir}${file.separator}*" to="(?!^\Q*\E$)"/>
1.24 + <path>
1.25 + <filelist files="${disabled.modules}" dir="."/>
1.26 + </path>
1.27 + </pathconvert>
1.28 + <echo message="Downloading clusters ${download.clusters}"/>
1.29 + <property name="tasks.jar" location="${java.io.tmpdir}/tasks.jar"/>
1.30 + <get src="${bootstrap.url}" dest="${tasks.jar}" usetimestamp="true" verbose="true"/>
1.31 + <taskdef name="autoupdate" classname="org.netbeans.nbbuild.AutoUpdate" classpath="${tasks.jar}"/>
1.32 + <autoupdate installdir="${nbplatform.active.dir}" updatecenter="${autoupdate.catalog.url}">
1.33 + <modules includes="${module.includes}.*" clusters="${download.clusters}"/>
1.34 + <modules includes="org[.]netbeans[.]modules[.]apisupport[.]harness" clusters="harness"/>
1.35 + </autoupdate>
1.36 + </target>
1.37 +</project>