langtools/make/netbeans/apt/build.xml
author duke
Wed, 05 Jul 2017 16:39:28 +0200
changeset 871 a9f1805e3ba9
parent 10 06bc494ca11e
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
06bc494ca11e Initial load
duke
parents:
diff changeset
     2
<!--
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
 Redistribution and use in source and binary forms, with or without
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
 modification, are permitted provided that the following conditions
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
 are met:
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
   - Redistributions of source code must retain the above copyright
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
     notice, this list of conditions and the following disclaimer.
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
   - Redistributions in binary form must reproduce the above copyright
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
     notice, this list of conditions and the following disclaimer in the
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
     documentation and/or other materials provided with the distribution.
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
   - Neither the name of Sun Microsystems nor the names of its
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
     contributors may be used to endorse or promote products derived
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
     from this software without specific prior written permission.
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
06bc494ca11e Initial load
duke
parents:
diff changeset
    20
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
06bc494ca11e Initial load
duke
parents:
diff changeset
    21
 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
06bc494ca11e Initial load
duke
parents:
diff changeset
    22
 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
06bc494ca11e Initial load
duke
parents:
diff changeset
    23
 PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
06bc494ca11e Initial load
duke
parents:
diff changeset
    26
 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
06bc494ca11e Initial load
duke
parents:
diff changeset
    27
 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
06bc494ca11e Initial load
duke
parents:
diff changeset
    29
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
06bc494ca11e Initial load
duke
parents:
diff changeset
    30
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
06bc494ca11e Initial load
duke
parents:
diff changeset
    31
-->
06bc494ca11e Initial load
duke
parents:
diff changeset
    32
06bc494ca11e Initial load
duke
parents:
diff changeset
    33
<!--
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
 Build file for the annotation processing tool, apt.
06bc494ca11e Initial load
duke
parents:
diff changeset
    35
 - The basic functionality of the build is imported from make/build.xml.
06bc494ca11e Initial load
duke
parents:
diff changeset
    36
 - Additional support for NetBeans actions is imported from 
06bc494ca11e Initial load
duke
parents:
diff changeset
    37
   make/netbeans/common/shared.xml.
06bc494ca11e Initial load
duke
parents:
diff changeset
    38
 - This file gives the final customizations.
06bc494ca11e Initial load
duke
parents:
diff changeset
    39
 This tool is now deprecated, and any further development is strongly
06bc494ca11e Initial load
duke
parents:
diff changeset
    40
 discouraged.
06bc494ca11e Initial load
duke
parents:
diff changeset
    41
-->
06bc494ca11e Initial load
duke
parents:
diff changeset
    42
06bc494ca11e Initial load
duke
parents:
diff changeset
    43
<project name="apt" default="build" basedir="../../..">
06bc494ca11e Initial load
duke
parents:
diff changeset
    44
    <property name="tool.name" value="apt"/>
06bc494ca11e Initial load
duke
parents:
diff changeset
    45
    
06bc494ca11e Initial load
duke
parents:
diff changeset
    46
    <import file="../common/shared.xml"/>
06bc494ca11e Initial load
duke
parents:
diff changeset
    47
    
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
    <!-- 
06bc494ca11e Initial load
duke
parents:
diff changeset
    49
      Alias the following imported targets, giving descriptions as appropriate.
06bc494ca11e Initial load
duke
parents:
diff changeset
    50
      NetBeans will emphasize targets with descriptions in the Ant Targets list,
06bc494ca11e Initial load
duke
parents:
diff changeset
    51
      and will display the targets in the context menu (under Run Target) for 
06bc494ca11e Initial load
duke
parents:
diff changeset
    52
      this file in the Projects viewer. 
06bc494ca11e Initial load
duke
parents:
diff changeset
    53
    -->
06bc494ca11e Initial load
duke
parents:
diff changeset
    54
    
06bc494ca11e Initial load
duke
parents:
diff changeset
    55
    <target name="build" depends="build-apt" description="Build the annotation processing tool, apt."/>
06bc494ca11e Initial load
duke
parents:
diff changeset
    56
    
06bc494ca11e Initial load
duke
parents:
diff changeset
    57
    <target name="debug" depends="-debug-nb" description="Debug the annotation processing tool, apt."/>
06bc494ca11e Initial load
duke
parents:
diff changeset
    58
    
06bc494ca11e Initial load
duke
parents:
diff changeset
    59
    <target name="-jtreg" depends="jtreg-apt"/>    
06bc494ca11e Initial load
duke
parents:
diff changeset
    60
    <target name="jtreg" depends="-jtreg-nb" description="Run the jtreg tests for the annotation processing tool, apt."/>
06bc494ca11e Initial load
duke
parents:
diff changeset
    61
    
06bc494ca11e Initial load
duke
parents:
diff changeset
    62
</project>