annotate visualizer/nbproject/platform.xml @ 4655:0c392b1bd7cc

Visualizer nbproject changes.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 20 Feb 2012 17:58:46 +0100
parents 35cca763f498
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4655
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
2 <project name="platform" default="download" basedir="..">
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
3 <condition property="download.required">
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
4 <and>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
5 <not>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
6 <available file="${harness.dir}/suite.xml"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
7 </not>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
8 <isset property="bootstrap.url"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
9 <isset property="autoupdate.catalog.url"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
10 </and>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
11 </condition>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
12 <target name="download" if="download.required">
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
13 <mkdir dir="${harness.dir}"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
14 <pathconvert pathsep="|" property="download.clusters">
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
15 <mapper type="flatten"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
16 <path path="${cluster.path}"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
17 </pathconvert>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
18 <property name="disabled.modules" value=""/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
19 <pathconvert property="module.includes" pathsep="">
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
20 <mapper type="glob" from="${basedir}${file.separator}*" to="(?!\Q*\E)"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
21 <path>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
22 <filelist files="${disabled.modules}" dir="."/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
23 </path>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
24 </pathconvert>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
25 <echo message="Downloading clusters ${download.clusters}"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
26 <property name="tasks.jar" location="${java.io.tmpdir}/tasks.jar"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
27 <get src="${bootstrap.url}" dest="${tasks.jar}" usetimestamp="true" verbose="true"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
28 <taskdef name="autoupdate" classname="org.netbeans.nbbuild.AutoUpdate" classpath="${tasks.jar}"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
29 <autoupdate installdir="${nbplatform.active.dir}" updatecenter="${autoupdate.catalog.url}">
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
30 <modules includes="${module.includes}.*" clusters="${download.clusters}"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
31 <modules includes="org[.]netbeans[.]modules[.]apisupport[.]harness" clusters="harness"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
32 </autoupdate>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
33 </target>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4516
diff changeset
34 </project>