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
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!--
     3 *** GENERATED FROM project.xml - DO NOT EDIT  ***
     4 ***         EDIT ../build.xml INSTEAD         ***
     5 -->
     6 <project name="nb-javac-modules-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>
    14     <property file="nbproject/private/platform-private.properties"/>
    15     <property file="nbproject/platform.properties"/>
    16     <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-suite-project/1">
    17         <attribute name="name"/>
    18         <attribute name="value"/>
    19         <sequential>
    20             <property name="@{name}" value="${@{value}}"/>
    21         </sequential>
    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>
    30     <property file="${user.properties.file}"/>
    31     <sproject:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir"/>
    32     <sproject:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.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).">
    35         <condition>
    36             <not>
    37                 <contains string="${cluster.path.evaluated}" substring="platform"/>
    38             </not>
    39         </condition>
    40     </fail>
    41     <ant antfile="nbproject/platform.xml"/>
    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">
    43         <condition>
    44             <not>
    45                 <available file="${harness.dir}/suite.xml"/>
    46             </not>
    47         </condition>
    48     </fail>
    49     <import file="${harness.dir}/suite.xml"/>
    50 </project>