< prev index next >

langtools/make/netbeans/langtools/nbproject/project.xml

Print this page




  40             <name>langtools</name>
  41             <properties>
  42                 <property name="root">../../..</property>
  43             </properties>
  44             <folders>
  45                 <source-folder>
  46                     <label>langtools</label>
  47                     <location>${root}</location>
  48                 </source-folder>
  49                 <source-folder>
  50                     <label>Test files</label>
  51                     <type>tests</type>
  52                     <location>${root}/test</location>
  53                 </source-folder>
  54                 <source-folder>
  55                     <label>Build files</label>
  56                     <type>build</type>
  57                     <location>${root}/make</location>
  58                 </source-folder>
  59                 <source-folder>
  60                     <label>Source files - java.base</label>
  61                     <type>java</type>
  62                     <location>${root}/src/java.base/share/classes</location>
  63                 </source-folder>
  64                 <source-folder>
  65                     <label>Source files - java.compiler</label>
  66                     <type>java</type>
  67                     <location>${root}/src/java.compiler/share/classes</location>
  68                 </source-folder>
  69                 <source-folder>
  70                     <label>Source files - jdk.compiler</label>
  71                     <type>java</type>
  72                     <location>${root}/src/jdk.compiler/share/classes</location>
  73                 </source-folder>
  74                 <source-folder>
  75                     <label>Source files - jdk.dev</label>
  76                     <type>java</type>
  77                     <location>${root}/src/jdk.dev/share/classes</location>
  78                 </source-folder>
  79                 <source-folder>
  80                     <label>Source files - jdk.javadoc</label>
  81                     <type>java</type>
  82                     <location>${root}/src/jdk.javadoc/share/classes</location>
  83                 </source-folder>
  84                 <build-file>


  90  This section defines the standard actions accepted by langtools projects.
  91 
  92  For information on these actions, see
  93    - NetBeans: Setting Up Projects
  94      at http://www.netbeans.org/kb/55/using-netbeans/project_setup.html
  95    - NetBeans: Advanced Freeform Project Configuration
  96      at http://www.netbeans.org/kb/41/freeform-config.html
  97 -->
  98                 <action name="build">
  99                     <target>build</target>
 100                 </action>
 101                 <action name="clean">
 102                     <target>clean</target>
 103                 </action>
 104                 <action name="rebuild">
 105                     <target>clean</target>
 106                     <target>build</target>
 107                 </action>
 108                 <action name="compile.single">
 109                     <target>compile-single</target>
 110                     <property name="module.name">java.base</property>
 111                     <context>
 112                         <property>includes</property>
 113                         <folder>${root}/src/java.base/share/classes</folder>
 114                         <pattern>\.java$</pattern>
 115                         <format>relative-path</format>
 116                         <arity>
 117                             <separated-files>,</separated-files>
 118                         </arity>
 119                     </context>
 120                 </action>
 121                 <action name="compile.single">
 122                     <target>compile-single</target>
 123                     <property name="module.name">java.compiler</property>
 124                     <context>
 125                         <property>includes</property>
 126                         <folder>${root}/src/java.compiler/share/classes</folder>
 127                         <pattern>\.java$</pattern>
 128                         <format>relative-path</format>
 129                         <arity>
 130                             <separated-files>,</separated-files>
 131                         </arity>
 132                     </context>
 133                 </action>
 134                 <action name="compile.single">
 135                     <target>compile-single</target>
 136                     <property name="module.name">jdk.compiler</property>
 137                     <context>
 138                         <property>includes</property>
 139                         <folder>${root}/src/jdk.compiler/share/classes</folder>
 140                         <pattern>\.java$</pattern>
 141                         <format>relative-path</format>
 142                         <arity>


 242                     <context>
 243                         <property>jtreg.tests</property>
 244                         <folder>${root}/test</folder>
 245                         <pattern>\.(java|sh)$</pattern>
 246                         <format>relative-path</format>
 247                         <arity>
 248                             <separated-files> </separated-files>
 249                         </arity>
 250                     </context>
 251                 </action>
 252                 <action name="test">
 253                     <target>jtreg</target>
 254                 </action>
 255                 <action name="debug">
 256                     <target>debug</target>
 257                 </action>
 258                 <action name="debug.single">
 259                     <target>debug-single</target>
 260                     <context>
 261                         <property>debug.classname</property>
 262                         <folder>${root}/src/java.base/share/classes</folder>
 263                         <pattern>\.java$</pattern>
 264                         <format>java-name</format>
 265                         <arity>
 266                             <one-file-only/>
 267                         </arity>
 268                     </context>
 269                 </action>
 270                 <action name="debug.single">
 271                     <target>debug-single</target>
 272                     <context>
 273                         <property>debug.classname</property>
 274                         <folder>${root}/src/java.compiler/share/classes</folder>
 275                         <pattern>\.java$</pattern>
 276                         <format>java-name</format>
 277                         <arity>
 278                             <one-file-only/>
 279                         </arity>
 280                     </context>
 281                 </action>
 282                 <action name="debug.single">
 283                     <target>debug-single</target>
 284                     <context>
 285                         <property>debug.classname</property>
 286                         <folder>${root}/src/jdk.compiler/share/classes</folder>
 287                         <pattern>\.java$</pattern>
 288                         <format>java-name</format>
 289                         <arity>
 290                             <one-file-only/>
 291                         </arity>
 292                     </context>
 293                 </action>


 316                     </context>
 317                 </action>
 318                 <!--
 319  Note: NetBeans does not appear to support context menu items
 320  on shell scripts :-(
 321 -->
 322                 <action name="debug.single">
 323                     <target>debug-jtreg</target>
 324                     <context>
 325                         <property>jtreg.tests</property>
 326                         <folder>${root}/test</folder>
 327                         <pattern>\.(java|sh)$</pattern>
 328                         <format>relative-path</format>
 329                         <arity>
 330                             <one-file-only/>
 331                         </arity>
 332                     </context>
 333                 </action>
 334                 <action name="debug.fix">
 335                     <target>debug-fix</target>
 336                     <property name="module.name">java.base</property>
 337                     <context>
 338                         <property>class</property>
 339                         <folder>${root}/src/java.base/share/classes</folder>
 340                         <pattern>\.java$</pattern>
 341                         <format>relative-path-noext</format>
 342                         <arity>
 343                             <one-file-only/>
 344                         </arity>
 345                     </context>
 346                 </action>
 347                 <action name="debug.fix">
 348                     <target>debug-fix</target>
 349                     <property name="module.name">java.compiler</property>
 350                     <context>
 351                         <property>class</property>
 352                         <folder>${root}/src/java.compiler/share/classes</folder>
 353                         <pattern>\.java$</pattern>
 354                         <format>relative-path-noext</format>
 355                         <arity>
 356                             <one-file-only/>
 357                         </arity>
 358                     </context>
 359                 </action>
 360                 <action name="debug.fix">
 361                     <target>debug-fix</target>
 362                     <property name="module.name">jdk.compiler</property>
 363                     <context>
 364                         <property>class</property>
 365                         <folder>${root}/src/jdk.compiler/share/classes</folder>
 366                         <pattern>\.java$</pattern>
 367                         <format>relative-path-noext</format>
 368                         <arity>


 400                     <target>javadoc</target>
 401                 </action>
 402                 <action name="select-tool">
 403                     <target>select-tool</target>
 404                 </action>
 405                 <action name="test-select-tool-1">
 406                     <target>test-select-tool-1</target>
 407                 </action>
 408                 <action name="test-select-tool-2">
 409                     <target>test-select-tool-2</target>
 410                 </action>
 411             </ide-actions>
 412             <export>
 413                 <type>folder</type>
 414                 <location>${root}/build/classes</location>
 415                 <build-target>build</build-target>
 416             </export>
 417             <view>
 418                 <items>
 419                     <source-folder style="tree">
 420                         <label>Source files - java.base</label>
 421                         <location>${root}/src/java.base/share/classes</location>
 422                     </source-folder>
 423                     <source-folder style="tree">
 424                         <label>Source files - java.compiler</label>
 425                         <location>${root}/src/java.compiler/share/classes</location>
 426                     </source-folder>
 427                     <source-folder style="tree">
 428                         <label>Source files - jdk.compiler</label>
 429                         <location>${root}/src/jdk.compiler/share/classes</location>
 430                     </source-folder>
 431                     <source-folder style="tree">
 432                         <label>Source files - jdk.dev</label>
 433                         <location>${root}/src/jdk.dev/share/classes</location>
 434                     </source-folder>
 435                     <source-folder style="tree">
 436                         <label>Source files - jdk.javadoc</label>
 437                         <location>${root}/src/jdk.javadoc/share/classes</location>
 438                     </source-folder>
 439                     <source-folder style="tree">
 440                         <label>Test files</label>
 441                         <location>${root}/test</location>
 442                     </source-folder>
 443                     <source-folder style="tree">


 460    - NetBeans: Advanced Freeform Project Configuration
 461      at http://www.netbeans.org/kb/41/freeform-config.html
 462 -->
 463                     <ide-action name="select-tool"/>
 464                     <separator/>
 465                     <ide-action name="build"/>
 466                     <ide-action name="rebuild"/>
 467                     <ide-action name="clean"/>
 468                     <ide-action name="javadoc"/>
 469                     <separator/>
 470                     <ide-action name="run"/>
 471                     <ide-action name="debug"/>
 472                     <separator/>
 473                     <ide-action name="test"/>
 474                 </context-menu>
 475             </view>
 476             <subprojects/>
 477         </general-data>
 478         <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/4">
 479             <compilation-unit>
 480                 <package-root>${root}/src/java.base/share/classes</package-root>
 481                 <package-root>${root}/build/bootstrap/java.base/gensrc</package-root>
 482                 <built-to>${root}/build/java.base/classes</built-to>
 483                 <source-level>1.8</source-level>
 484             </compilation-unit>
 485             <compilation-unit>
 486                 <package-root>${root}/src/java.compiler/share/classes</package-root>
 487                 <package-root>${root}/build/bootstrap/java.compiler/gensrc</package-root>
 488                 <classpath mode="compile">${root}/build/java.base/classes</classpath>
 489                 <built-to>${root}/build/java.compiler/classes</built-to>
 490                 <source-level>1.8</source-level>
 491             </compilation-unit>
 492             <compilation-unit>
 493                 <package-root>${root}/src/jdk.compiler/share/classes</package-root>
 494                 <package-root>${root}/build/bootstrap/jdk.compiler/gensrc</package-root>
 495                 <classpath mode="compile">${root}/build/java.base/classes:${root}/build/java.compiler/classes</classpath>
 496                 <built-to>${root}/build/jdk.compiler/classes</built-to>
 497                 <source-level>1.8</source-level>
 498             </compilation-unit>
 499             <compilation-unit>
 500                 <package-root>${root}/src/jdk.dev/share/classes</package-root>
 501                 <package-root>${root}/build/bootstrap/jdk.dev/gensrc</package-root>
 502                 <classpath mode="compile">${root}/build/java.base/classes:${root}/build/java.compiler/classes:${root}/build/jdk.compiler/classes</classpath>
 503                 <built-to>${root}/build/jdk.dev/classes</built-to>
 504                 <source-level>1.8</source-level>
 505             </compilation-unit>
 506             <compilation-unit>
 507                 <package-root>${root}/src/jdk.javadoc/share/classes</package-root>
 508                 <package-root>${root}/build/bootstrap/jdk.javadoc/gensrc</package-root>
 509                 <classpath mode="compile">${root}/build/java.base/classes:${root}/build/java.compiler/classes:${root}/build/jdk.compiler/classes</classpath>
 510                 <built-to>${root}/build/jdk.javadoc/classes</built-to>
 511                 <source-level>1.8</source-level>
 512             </compilation-unit>
 513         </java-data>
 514     </configuration>
 515 </project>


  40             <name>langtools</name>
  41             <properties>
  42                 <property name="root">../../..</property>
  43             </properties>
  44             <folders>
  45                 <source-folder>
  46                     <label>langtools</label>
  47                     <location>${root}</location>
  48                 </source-folder>
  49                 <source-folder>
  50                     <label>Test files</label>
  51                     <type>tests</type>
  52                     <location>${root}/test</location>
  53                 </source-folder>
  54                 <source-folder>
  55                     <label>Build files</label>
  56                     <type>build</type>
  57                     <location>${root}/make</location>
  58                 </source-folder>
  59                 <source-folder>





  60                     <label>Source files - java.compiler</label>
  61                     <type>java</type>
  62                     <location>${root}/src/java.compiler/share/classes</location>
  63                 </source-folder>
  64                 <source-folder>
  65                     <label>Source files - jdk.compiler</label>
  66                     <type>java</type>
  67                     <location>${root}/src/jdk.compiler/share/classes</location>
  68                 </source-folder>
  69                 <source-folder>
  70                     <label>Source files - jdk.dev</label>
  71                     <type>java</type>
  72                     <location>${root}/src/jdk.dev/share/classes</location>
  73                 </source-folder>
  74                 <source-folder>
  75                     <label>Source files - jdk.javadoc</label>
  76                     <type>java</type>
  77                     <location>${root}/src/jdk.javadoc/share/classes</location>
  78                 </source-folder>
  79                 <build-file>


  85  This section defines the standard actions accepted by langtools projects.
  86 
  87  For information on these actions, see
  88    - NetBeans: Setting Up Projects
  89      at http://www.netbeans.org/kb/55/using-netbeans/project_setup.html
  90    - NetBeans: Advanced Freeform Project Configuration
  91      at http://www.netbeans.org/kb/41/freeform-config.html
  92 -->
  93                 <action name="build">
  94                     <target>build</target>
  95                 </action>
  96                 <action name="clean">
  97                     <target>clean</target>
  98                 </action>
  99                 <action name="rebuild">
 100                     <target>clean</target>
 101                     <target>build</target>
 102                 </action>
 103                 <action name="compile.single">
 104                     <target>compile-single</target>













 105                     <property name="module.name">java.compiler</property>
 106                     <context>
 107                         <property>includes</property>
 108                         <folder>${root}/src/java.compiler/share/classes</folder>
 109                         <pattern>\.java$</pattern>
 110                         <format>relative-path</format>
 111                         <arity>
 112                             <separated-files>,</separated-files>
 113                         </arity>
 114                     </context>
 115                 </action>
 116                 <action name="compile.single">
 117                     <target>compile-single</target>
 118                     <property name="module.name">jdk.compiler</property>
 119                     <context>
 120                         <property>includes</property>
 121                         <folder>${root}/src/jdk.compiler/share/classes</folder>
 122                         <pattern>\.java$</pattern>
 123                         <format>relative-path</format>
 124                         <arity>


 224                     <context>
 225                         <property>jtreg.tests</property>
 226                         <folder>${root}/test</folder>
 227                         <pattern>\.(java|sh)$</pattern>
 228                         <format>relative-path</format>
 229                         <arity>
 230                             <separated-files> </separated-files>
 231                         </arity>
 232                     </context>
 233                 </action>
 234                 <action name="test">
 235                     <target>jtreg</target>
 236                 </action>
 237                 <action name="debug">
 238                     <target>debug</target>
 239                 </action>
 240                 <action name="debug.single">
 241                     <target>debug-single</target>
 242                     <context>
 243                         <property>debug.classname</property>












 244                         <folder>${root}/src/java.compiler/share/classes</folder>
 245                         <pattern>\.java$</pattern>
 246                         <format>java-name</format>
 247                         <arity>
 248                             <one-file-only/>
 249                         </arity>
 250                     </context>
 251                 </action>
 252                 <action name="debug.single">
 253                     <target>debug-single</target>
 254                     <context>
 255                         <property>debug.classname</property>
 256                         <folder>${root}/src/jdk.compiler/share/classes</folder>
 257                         <pattern>\.java$</pattern>
 258                         <format>java-name</format>
 259                         <arity>
 260                             <one-file-only/>
 261                         </arity>
 262                     </context>
 263                 </action>


 286                     </context>
 287                 </action>
 288                 <!--
 289  Note: NetBeans does not appear to support context menu items
 290  on shell scripts :-(
 291 -->
 292                 <action name="debug.single">
 293                     <target>debug-jtreg</target>
 294                     <context>
 295                         <property>jtreg.tests</property>
 296                         <folder>${root}/test</folder>
 297                         <pattern>\.(java|sh)$</pattern>
 298                         <format>relative-path</format>
 299                         <arity>
 300                             <one-file-only/>
 301                         </arity>
 302                     </context>
 303                 </action>
 304                 <action name="debug.fix">
 305                     <target>debug-fix</target>













 306                     <property name="module.name">java.compiler</property>
 307                     <context>
 308                         <property>class</property>
 309                         <folder>${root}/src/java.compiler/share/classes</folder>
 310                         <pattern>\.java$</pattern>
 311                         <format>relative-path-noext</format>
 312                         <arity>
 313                             <one-file-only/>
 314                         </arity>
 315                     </context>
 316                 </action>
 317                 <action name="debug.fix">
 318                     <target>debug-fix</target>
 319                     <property name="module.name">jdk.compiler</property>
 320                     <context>
 321                         <property>class</property>
 322                         <folder>${root}/src/jdk.compiler/share/classes</folder>
 323                         <pattern>\.java$</pattern>
 324                         <format>relative-path-noext</format>
 325                         <arity>


 357                     <target>javadoc</target>
 358                 </action>
 359                 <action name="select-tool">
 360                     <target>select-tool</target>
 361                 </action>
 362                 <action name="test-select-tool-1">
 363                     <target>test-select-tool-1</target>
 364                 </action>
 365                 <action name="test-select-tool-2">
 366                     <target>test-select-tool-2</target>
 367                 </action>
 368             </ide-actions>
 369             <export>
 370                 <type>folder</type>
 371                 <location>${root}/build/classes</location>
 372                 <build-target>build</build-target>
 373             </export>
 374             <view>
 375                 <items>
 376                     <source-folder style="tree">




 377                         <label>Source files - java.compiler</label>
 378                         <location>${root}/src/java.compiler/share/classes</location>
 379                     </source-folder>
 380                     <source-folder style="tree">
 381                         <label>Source files - jdk.compiler</label>
 382                         <location>${root}/src/jdk.compiler/share/classes</location>
 383                     </source-folder>
 384                     <source-folder style="tree">
 385                         <label>Source files - jdk.dev</label>
 386                         <location>${root}/src/jdk.dev/share/classes</location>
 387                     </source-folder>
 388                     <source-folder style="tree">
 389                         <label>Source files - jdk.javadoc</label>
 390                         <location>${root}/src/jdk.javadoc/share/classes</location>
 391                     </source-folder>
 392                     <source-folder style="tree">
 393                         <label>Test files</label>
 394                         <location>${root}/test</location>
 395                     </source-folder>
 396                     <source-folder style="tree">


 413    - NetBeans: Advanced Freeform Project Configuration
 414      at http://www.netbeans.org/kb/41/freeform-config.html
 415 -->
 416                     <ide-action name="select-tool"/>
 417                     <separator/>
 418                     <ide-action name="build"/>
 419                     <ide-action name="rebuild"/>
 420                     <ide-action name="clean"/>
 421                     <ide-action name="javadoc"/>
 422                     <separator/>
 423                     <ide-action name="run"/>
 424                     <ide-action name="debug"/>
 425                     <separator/>
 426                     <ide-action name="test"/>
 427                 </context-menu>
 428             </view>
 429             <subprojects/>
 430         </general-data>
 431         <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/4">
 432             <compilation-unit>






 433                 <package-root>${root}/src/java.compiler/share/classes</package-root>
 434                 <package-root>${root}/build/bootstrap/java.compiler/gensrc</package-root>

 435                 <built-to>${root}/build/java.compiler/classes</built-to>
 436                 <source-level>1.8</source-level>
 437             </compilation-unit>
 438             <compilation-unit>
 439                 <package-root>${root}/src/jdk.compiler/share/classes</package-root>
 440                 <package-root>${root}/build/bootstrap/jdk.compiler/gensrc</package-root>
 441                 <classpath mode="compile">${root}/build/java.compiler/classes</classpath>
 442                 <built-to>${root}/build/jdk.compiler/classes</built-to>
 443                 <source-level>1.8</source-level>
 444             </compilation-unit>
 445             <compilation-unit>
 446                 <package-root>${root}/src/jdk.dev/share/classes</package-root>
 447                 <package-root>${root}/build/bootstrap/jdk.dev/gensrc</package-root>
 448                 <classpath mode="compile">${root}/build/java.compiler/classes:${root}/build/jdk.compiler/classes</classpath>
 449                 <built-to>${root}/build/jdk.dev/classes</built-to>
 450                 <source-level>1.8</source-level>
 451             </compilation-unit>
 452             <compilation-unit>
 453                 <package-root>${root}/src/jdk.javadoc/share/classes</package-root>
 454                 <package-root>${root}/build/bootstrap/jdk.javadoc/gensrc</package-root>
 455                 <classpath mode="compile">${root}/build/java.compiler/classes:${root}/build/jdk.compiler/classes</classpath>
 456                 <built-to>${root}/build/jdk.javadoc/classes</built-to>
 457                 <source-level>1.8</source-level>
 458             </compilation-unit>
 459         </java-data>
 460     </configuration>
 461 </project>
< prev index next >