Ignore:
Timestamp:
Mar 26, 2011, 8:39:20 PM (14 years ago)
Author:
dmik
Message:

trunk: Merged in openjdk6 b22 from branches/vendor/oracle.

Location:
trunk/openjdk
Files:
7 deleted
2 edited
6 copied

Legend:

Unmodified
Added
Removed
  • trunk/openjdk

  • trunk/openjdk/langtools/make/netbeans/README

    r2 r278  
    1 Working on the "langtools" workspace using NetBeans.
     1Using NetBeans to work on the langtools repository.
    22
    3 This directory (make/netbeans) contains NetBeans projects that
    4 allow you to work on the various tools using the NetBeans IDE.
     3Netbeans 6.0 or later is recommended.
    54
    6 NetBeans 5.0 or later is required and sufficient to use these
    7 projects. This is different from other projects in OpenJDK,
    8 which requires version 6.0 or later.
     5The "langtools" project in this directory allows you to
     6edit, run, test and debug the tools in the OpenJDK langtools
     7repository.
    98
    10 The following projects are provided:
     9The repository contains a number of tools:
     10    apt, javac, javadoc and its doclets, javah and javap.
    1111
    12 compiler: for working on the compiler, javac
    13 javadoc:  for working on the documentation tool, javadoc
    14 doclets:  for working on the standard doclets used by the
    15           documentation tool, javadoc
    16 javah:    for working on the C header tool, javah
    17 javap:    for working on the disassembler, javap
    18 apt:      for working on the annotation processing tool, apt.
    19           Note that this is just provided for completeness;
    20           the tool has been superceded by new features in javac,
    21           and work on apt itself is discouraged.
     12Build Properties.
    2213
    23 However, any tool can be worked on from any project; the only difference
    24 between these projects is the behavior of the standard NetBeans actions,
    25 so that "Build" in the compiler project will build the compiler, etc.
     14To build this repository, you must set some properties for Ant.
     15You can set these properties in a number of ways:
    2616
     17- Set the properties in the Properties panel under Tool> Options> Ant.
     18  Properties set this way will apply globally to all the langtools
     19  repositories you may be working on.
    2720
     21- Create a file build.properties in the root directory of a
     22  langtools repository, and set the properties in that file.
     23  These properties will be specific to that repository.
    2824
     25To build the repository, at a minimum you must set the "boot.java.home"
     26property.  To run the tools, you must also set "target.java.home". To
     27run the regression tests, you must set "jtreg.home".
     28
     29By default, the build and test targets will build and test all
     30of these tools. The run and debug targets will prompt you for the
     31name of a tool to execute.
     32
     33As an alternative, you can focus on a single tool.  When you do
     34this, you will still see all the source code for all the tools,
     35but the various Ant targets will now be focussed on the selected tool.
     36To focus on a tool, bring up the context menu on the "langtools"
     37project (i.e. right-click on the project) and select "Select Tool".
     38This brings up a dialog which allows you to specify which tool you
     39wish to work on, and the arguments to use if and when you run it.
Note: See TracChangeset for help on using the changeset viewer.