annotate visualizer/nbproject/build-impl.xml @ 4655:0c392b1bd7cc

Visualizer nbproject changes.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 20 Feb 2012 17:58:46 +0100
parents 9ad6d3d11630
children c1160de36474
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: 4519
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
2 <!--
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
3 *** GENERATED FROM project.xml - DO NOT EDIT ***
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
4 *** EDIT ../build.xml INSTEAD ***
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
5 -->
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
6 <project name="Graal Visualizer-impl" basedir=".." xmlns:sproject="http://www.netbeans.org/ns/nb-module-suite-project/1">
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
7 <fail message="Please build using Ant 1.7.1 or higher.">
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
8 <condition>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
9 <not>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
10 <antversion atleast="1.7.1"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
11 </not>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
12 </condition>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
13 </fail>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
14 <property file="nbproject/private/platform-private.properties"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
15 <property file="nbproject/platform.properties"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
16 <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-suite-project/1">
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
17 <attribute name="name"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
18 <attribute name="value"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
19 <sequential>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
20 <property name="@{name}" value="${@{value}}"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
21 </sequential>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
22 </macrodef>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
23 <macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-suite-project/1">
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
24 <attribute name="property"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
25 <attribute name="value"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
26 <sequential>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
27 <property name="@{property}" value="@{value}"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
28 </sequential>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
29 </macrodef>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
30 <property file="${user.properties.file}"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
31 <sproject:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
32 <sproject:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
33 <sproject:evalprops property="cluster.path.evaluated" value="${cluster.path}"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
34 <fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
35 <condition>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
36 <not>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
37 <contains string="${cluster.path.evaluated}" substring="platform"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
38 </not>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
39 </condition>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
40 </fail>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
41 <ant antfile="nbproject/platform.xml"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
42 <fail message="Cannot find NetBeans build harness. ${line.separator}Check that nbplatform.${nbplatform.active}.netbeans.dest.dir and nbplatform.${nbplatform.active}.harness.dir are defined. ${line.separator}On a developer machine these are normally defined in ${user.properties.file}=${netbeans.user}/build.properties ${line.separator}but for automated builds you should pass these properties to Ant explicitly. ${line.separator}You may instead download the harness and platform: -Dbootstrap.url=.../tasks.jar -Dautoupdate.catalog.url=.../updates.xml">
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
43 <condition>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
44 <not>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
45 <available file="${harness.dir}/suite.xml"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
46 </not>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
47 </condition>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
48 </fail>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
49 <import file="${harness.dir}/suite.xml"/>
0c392b1bd7cc Visualizer nbproject changes.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 4519
diff changeset
50 </project>