make/netbeans/langtools/nbproject/standard-ide-actions.ent

Fri, 23 Jan 2009 11:23:10 -0800

author
jjg
date
Fri, 23 Jan 2009 11:23:10 -0800
changeset 201
e3930187199c
child 229
03bcd66bd8e7
permissions
-rw-r--r--

6795365: NetBeans projects in langtools repository are not NB6.5-friendly
Reviewed-by: mcimadamore

     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!--
     3  Copyright 2007-2008 Sun Microsystems, Inc.  All Rights Reserved.
     5  Redistribution and use in source and binary forms, with or without
     6  modification, are permitted provided that the following conditions
     7  are met:
     9    - Redistributions of source code must retain the above copyright
    10      notice, this list of conditions and the following disclaimer.
    12    - Redistributions in binary form must reproduce the above copyright
    13      notice, this list of conditions and the following disclaimer in the
    14      documentation and/or other materials provided with the distribution.
    16    - Neither the name of Sun Microsystems nor the names of its
    17      contributors may be used to endorse or promote products derived
    18      from this software without specific prior written permission.
    20  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
    21  IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    22  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    23  PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
    24  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    25  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    26  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
    27  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
    28  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
    29  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    30  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    31 -->
    33 <!-- 
    34  This file defines the standard actions accepted by langtools projects.
    35  It is normally included as an entity into a project's project.xml file.
    37  For information on these actions, see
    38    - NetBeans: Setting Up Projects
    39      at http://www.netbeans.org/kb/55/using-netbeans/project_setup.html
    40    - NetBeans: Advanced Freeform Project Configuration
    41      at http://www.netbeans.org/kb/41/freeform-config.html 
    42 -->
    44 <action name="build">
    45     <target>build</target>
    46 </action>
    48 <action name="clean">
    49     <target>clean</target>
    50 </action>
    52 <action name="rebuild">
    53     <target>clean</target>
    54     <target>build</target>
    55 </action>
    57 <action name="compile.single">
    58     <target>compile-single</target>
    59     <property name="srcdir">${root}/src/share/classes</property>
    60     <context>
    61         <property>includes</property>
    62         <folder>${root}/src/share/classes</folder>
    63         <pattern>\.java$</pattern>
    64         <format>relative-path</format>
    65         <arity>
    66             <separated-files>,</separated-files>
    67         </arity>
    68     </context>
    69 </action>
    71 <action name="run">
    72     <target>run</target>
    73 </action>
    75 <action name="run.single">
    76     <target>run-single</target>
    77     <context>
    78         <property>run.classname</property>
    79         <folder>${root}/src/share/classes</folder>
    80         <pattern>\.java$</pattern>
    81         <format>java-name</format>
    82         <arity>
    83             <one-file-only/>
    84         </arity>
    85     </context>
    86 </action>
    88 <!-- 
    89  Note: NetBeans does not appear to support context menu items
    90  on shell scripts :-(
    91 -->
    93 <action name="run.single">
    94     <target>jtreg</target>
    95     <context>
    96         <property>jtreg.tests</property>
    97         <folder>${root}/test</folder>
    98         <pattern>\.(java|sh)$</pattern>
    99         <format>relative-path</format>
   100         <arity>
   101             <separated-files>,</separated-files>
   102         </arity>
   103     </context>
   104 </action>
   106 <action name="test">
   107     <target>jtreg</target>
   108 </action>
   110 <action name="debug">
   111     <target>debug</target>
   112 </action>
   114 <action name="debug.single">
   115     <target>debug-single</target>
   116     <context>
   117         <property>debug.classname</property>
   118         <folder>${root}/src/share/classes</folder>
   119         <pattern>\.java$</pattern>
   120         <format>java-name</format>
   121         <arity>
   122             <one-file-only/>
   123         </arity>
   124     </context>
   125 </action>
   127 <!-- 
   128  Note: NetBeans does not appear to support context menu items
   129  on shell scripts :-(
   130 -->
   132 <action name="debug.single">
   133     <target>debug-jtreg</target>
   134     <context>
   135         <property>jtreg.tests</property>
   136         <folder>${root}/test</folder>
   137         <pattern>\.(java|sh)$</pattern>
   138         <format>relative-path</format>
   139         <arity>
   140             <one-file-only/>
   141         </arity>
   142     </context>
   143 </action>
   145 <action name="debug.fix">
   146     <target>debug-fix</target>
   147     <property name="srcdir">${root}/src/share/classes</property>
   148     <context>
   149         <property>class</property>
   150         <folder>${root}/src/share/classes</folder>
   151         <pattern>\.java$</pattern>
   152         <format>relative-path-noext</format>
   153         <arity>
   154             <one-file-only/>
   155         </arity>
   156     </context>
   157 </action>
   159 <action name="javadoc">
   160     <target>javadoc</target>
   161 </action>
   163 <action name="select-tool">
   164     <target>select-tool</target>
   165 </action>
   167 <action name="test-select-tool-1">
   168     <target>test-select-tool-1</target>
   169 </action>
   171 <action name="test-select-tool-2">
   172     <target>test-select-tool-2</target>
   173 </action>

mercurial