make/netbeans/nb-javac-modules/nbproject/platform.xml
author Svata Dedic <sdedic@netbeans.org>
Fri, 20 Apr 2018 16:02:37 +0200
branchapache-netbeans
changeset 5964 22d3043bc53f
permissions -rw-r--r--
NB Javac modules buildscripts
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <project name="platform" default="download" basedir="..">
     3     <condition property="download.required">
     4         <and>
     5             <not>
     6                 <available file="${harness.dir}/suite.xml"/>
     7             </not>
     8             <isset property="bootstrap.url"/>
     9             <isset property="autoupdate.catalog.url"/>
    10         </and>
    11     </condition>
    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}"/>
    17         </pathconvert>
    18         <property name="disabled.modules" value=""/>
    19         <pathconvert property="module.includes" pathsep="">
    20             <mapper type="glob" from="${basedir}${file.separator}*" to="(?!^\Q*\E$)"/>
    21             <path>
    22                 <filelist files="${disabled.modules}" dir="."/>
    23             </path>
    24         </pathconvert>
    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"/>
    32         </autoupdate>
    33     </target>
    34 </project>