comparison src/share/tools/IdealGraphVisualizer/nbproject/build-impl.xml @ 2765:2fd52cd64156

IdealGraphVisualizer: Upgrade to NetBeans 7.0 as platform
author Peter Hofer <peter.hofer@jku.at>
date Mon, 23 May 2011 18:03:55 +0200
parents 30369db7f5d2
children 44f3dae303ae
comparison
equal deleted inserted replaced
2764:99912abb3ff7 2765:2fd52cd64156
2 <!-- 2 <!--
3 *** GENERATED FROM project.xml - DO NOT EDIT *** 3 *** GENERATED FROM project.xml - DO NOT EDIT ***
4 *** EDIT ../build.xml INSTEAD *** 4 *** EDIT ../build.xml INSTEAD ***
5 --> 5 -->
6 <project name="IdealGraphVisualizer-impl" basedir=".." xmlns:sproject="http://www.netbeans.org/ns/nb-module-suite-project/1"> 6 <project name="IdealGraphVisualizer-impl" basedir=".." xmlns:sproject="http://www.netbeans.org/ns/nb-module-suite-project/1">
7 <fail message="Please build using Ant 1.7.1 or higher.">
8 <condition>
9 <not>
10 <antversion atleast="1.7.1"/>
11 </not>
12 </condition>
13 </fail>
7 <property file="nbproject/private/platform-private.properties"/> 14 <property file="nbproject/private/platform-private.properties"/>
8 <property file="nbproject/platform.properties"/> 15 <property file="nbproject/platform.properties"/>
9 <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-suite-project/1"> 16 <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-suite-project/1">
10 <attribute name="name"/> 17 <attribute name="name"/>
11 <attribute name="value"/> 18 <attribute name="value"/>
12 <sequential> 19 <sequential>
13 <property name="@{name}" value="${@{value}}"/> 20 <property name="@{name}" value="${@{value}}"/>
14 </sequential> 21 </sequential>
15 </macrodef> 22 </macrodef>
23 <macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-suite-project/1">
24 <attribute name="property"/>
25 <attribute name="value"/>
26 <sequential>
27 <property name="@{property}" value="@{value}"/>
28 </sequential>
29 </macrodef>
16 <property file="${user.properties.file}"/> 30 <property file="${user.properties.file}"/>
17 <sproject:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir"/> 31 <sproject:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir"/>
18 <sproject:property name="netbeans.dest.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir"/> 32 <sproject:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir"/>
19 <fail message="You must define 'nbplatform.${nbplatform.active}.harness.dir'"> 33 <sproject:evalprops property="cluster.path.evaluated" value="${cluster.path}"/>
34 <fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
20 <condition> 35 <condition>
21 <not> 36 <not>
22 <available file="${harness.dir}" type="dir"/> 37 <contains string="${cluster.path.evaluated}" substring="platform"/>
38 </not>
39 </condition>
40 </fail>
41 <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.">
42 <condition>
43 <not>
44 <available type="dir" file="${harness.dir}"/>
23 </not> 45 </not>
24 </condition> 46 </condition>
25 </fail> 47 </fail>
26 <import file="${harness.dir}/suite.xml"/> 48 <import file="${harness.dir}/suite.xml"/>
27 </project> 49 </project>