make/netbeans/nb-javac-modules/api/nbproject/build-impl.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
sdedic@5964
     1
<?xml version="1.0" encoding="UTF-8"?>
sdedic@5964
     2
<!--
sdedic@5964
     3
*** GENERATED FROM project.xml - DO NOT EDIT  ***
sdedic@5964
     4
***         EDIT ../build.xml INSTEAD         ***
sdedic@5964
     5
-->
sdedic@5964
     6
<project name="org.netbeans.modules.nbjavac.api-impl" basedir="..">
sdedic@5964
     7
    <fail message="Please build using Ant 1.7.1 or higher.">
sdedic@5964
     8
        <condition>
sdedic@5964
     9
            <not>
sdedic@5964
    10
                <antversion atleast="1.7.1"/>
sdedic@5964
    11
            </not>
sdedic@5964
    12
        </condition>
sdedic@5964
    13
    </fail>
sdedic@5964
    14
    <property file="nbproject/private/suite-private.properties"/>
sdedic@5964
    15
    <property file="nbproject/suite.properties"/>
sdedic@5964
    16
    <fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
sdedic@5964
    17
    <property file="${suite.dir}/nbproject/private/platform-private.properties"/>
sdedic@5964
    18
    <property file="${suite.dir}/nbproject/platform.properties"/>
sdedic@5964
    19
    <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
sdedic@5964
    20
        <attribute name="name"/>
sdedic@5964
    21
        <attribute name="value"/>
sdedic@5964
    22
        <sequential>
sdedic@5964
    23
            <property name="@{name}" value="${@{value}}"/>
sdedic@5964
    24
        </sequential>
sdedic@5964
    25
    </macrodef>
sdedic@5964
    26
    <macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-project/2">
sdedic@5964
    27
        <attribute name="property"/>
sdedic@5964
    28
        <attribute name="value"/>
sdedic@5964
    29
        <sequential>
sdedic@5964
    30
            <property name="@{property}" value="@{value}"/>
sdedic@5964
    31
        </sequential>
sdedic@5964
    32
    </macrodef>
sdedic@5964
    33
    <property file="${user.properties.file}"/>
sdedic@5964
    34
    <nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
sdedic@5964
    35
    <nbmproject2:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
sdedic@5964
    36
    <nbmproject2:evalprops property="cluster.path.evaluated" value="${cluster.path}" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
sdedic@5964
    37
    <fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
sdedic@5964
    38
        <condition>
sdedic@5964
    39
            <not>
sdedic@5964
    40
                <contains string="${cluster.path.evaluated}" substring="platform"/>
sdedic@5964
    41
            </not>
sdedic@5964
    42
        </condition>
sdedic@5964
    43
    </fail>
sdedic@5964
    44
    <import file="${harness.dir}/build.xml"/>
sdedic@5964
    45
</project>