make/netbeans/nb-javac-modules/nbproject/build-impl.xml
branchapache-netbeans
changeset 5964 22d3043bc53f
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/make/netbeans/nb-javac-modules/nbproject/build-impl.xml	Fri Apr 20 16:02:37 2018 +0200
     1.3 @@ -0,0 +1,50 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<!--
     1.6 +*** GENERATED FROM project.xml - DO NOT EDIT  ***
     1.7 +***         EDIT ../build.xml INSTEAD         ***
     1.8 +-->
     1.9 +<project name="nb-javac-modules-impl" basedir=".." xmlns:sproject="http://www.netbeans.org/ns/nb-module-suite-project/1">
    1.10 +    <fail message="Please build using Ant 1.7.1 or higher.">
    1.11 +        <condition>
    1.12 +            <not>
    1.13 +                <antversion atleast="1.7.1"/>
    1.14 +            </not>
    1.15 +        </condition>
    1.16 +    </fail>
    1.17 +    <property file="nbproject/private/platform-private.properties"/>
    1.18 +    <property file="nbproject/platform.properties"/>
    1.19 +    <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-suite-project/1">
    1.20 +        <attribute name="name"/>
    1.21 +        <attribute name="value"/>
    1.22 +        <sequential>
    1.23 +            <property name="@{name}" value="${@{value}}"/>
    1.24 +        </sequential>
    1.25 +    </macrodef>
    1.26 +    <macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-suite-project/1">
    1.27 +        <attribute name="property"/>
    1.28 +        <attribute name="value"/>
    1.29 +        <sequential>
    1.30 +            <property name="@{property}" value="@{value}"/>
    1.31 +        </sequential>
    1.32 +    </macrodef>
    1.33 +    <property file="${user.properties.file}"/>
    1.34 +    <sproject:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir"/>
    1.35 +    <sproject:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir"/>
    1.36 +    <sproject:evalprops property="cluster.path.evaluated" value="${cluster.path}"/>
    1.37 +    <fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
    1.38 +        <condition>
    1.39 +            <not>
    1.40 +                <contains string="${cluster.path.evaluated}" substring="platform"/>
    1.41 +            </not>
    1.42 +        </condition>
    1.43 +    </fail>
    1.44 +    <ant antfile="nbproject/platform.xml"/>
    1.45 +    <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">
    1.46 +        <condition>
    1.47 +            <not>
    1.48 +                <available file="${harness.dir}/suite.xml"/>
    1.49 +            </not>
    1.50 +        </condition>
    1.51 +    </fail>
    1.52 +    <import file="${harness.dir}/suite.xml"/>
    1.53 +</project>