make/netbeans/nb-javac-modules/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="nb-javac-modules-impl" basedir=".." xmlns:sproject="http://www.netbeans.org/ns/nb-module-suite-project/1">
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/platform-private.properties"/>
sdedic@5964
    15
    <property file="nbproject/platform.properties"/>
sdedic@5964
    16
    <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-suite-project/1">
sdedic@5964
    17
        <attribute name="name"/>
sdedic@5964
    18
        <attribute name="value"/>
sdedic@5964
    19
        <sequential>
sdedic@5964
    20
            <property name="@{name}" value="${@{value}}"/>
sdedic@5964
    21
        </sequential>
sdedic@5964
    22
    </macrodef>
sdedic@5964
    23
    <macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-suite-project/1">
sdedic@5964
    24
        <attribute name="property"/>
sdedic@5964
    25
        <attribute name="value"/>
sdedic@5964
    26
        <sequential>
sdedic@5964
    27
            <property name="@{property}" value="@{value}"/>
sdedic@5964
    28
        </sequential>
sdedic@5964
    29
    </macrodef>
sdedic@5964
    30
    <property file="${user.properties.file}"/>
sdedic@5964
    31
    <sproject:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir"/>
sdedic@5964
    32
    <sproject:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir"/>
sdedic@5964
    33
    <sproject:evalprops property="cluster.path.evaluated" value="${cluster.path}"/>
sdedic@5964
    34
    <fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
sdedic@5964
    35
        <condition>
sdedic@5964
    36
            <not>
sdedic@5964
    37
                <contains string="${cluster.path.evaluated}" substring="platform"/>
sdedic@5964
    38
            </not>
sdedic@5964
    39
        </condition>
sdedic@5964
    40
    </fail>
sdedic@5964
    41
    <ant antfile="nbproject/platform.xml"/>
sdedic@5964
    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">
sdedic@5964
    43
        <condition>
sdedic@5964
    44
            <not>
sdedic@5964
    45
                <available file="${harness.dir}/suite.xml"/>
sdedic@5964
    46
            </not>
sdedic@5964
    47
        </condition>
sdedic@5964
    48
    </fail>
sdedic@5964
    49
    <import file="${harness.dir}/suite.xml"/>
sdedic@5964
    50
</project>