0
|
1 |
README-pre-components:
|
|
2 |
---------------------
|
|
3 |
Current pre-components are langtools, jaxws, jaxp, and corba.
|
|
4 |
|
|
5 |
Pre-components can use ant to build but must have a make/Makefile for
|
|
6 |
building (a GNU make Makefile).
|
|
7 |
All ant knowledge is being isolated in the workspaces that use it.
|
|
8 |
|
|
9 |
Also for various reasons it is nice to have a Makefile wrapper over the
|
|
10 |
running of ant, but in general having to do
|
|
11 |
anything with shell commands is much easier to do in a Makefile
|
|
12 |
than in an ant script.
|
|
13 |
|
|
14 |
The make/makefile rules are:
|
|
15 |
|
|
16 |
Variables:
|
|
17 |
ALT_BOOTDIR The jdk home to use to build, if provided
|
|
18 |
ALT_LANGTOOLS_DIST The dist area from a langtools build to use, if provided
|
|
19 |
ALT_OUTPUTDIR Parent dir of build and dist directories, if provided
|
|
20 |
VARIANT If DBG, debug build, if OPT, optimized build
|
|
21 |
TARGET_CLASS_VERSION The classfile version number (currently 5)
|
|
22 |
ANT_HOME Home of ant to use, if provided
|
|
23 |
FINDBUGS_HOME Home of findbugs to use, if provided
|
|
24 |
QUIET If defined, be quiet
|
|
25 |
VERBOSE If defined, be verbose
|
|
26 |
JDK_VERSION Version being built
|
|
27 |
FULL_VERSION Full version string for this jdk build
|
|
28 |
MILESTONE fcs, beta, internal or empty
|
|
29 |
BUILD_NUMBER Number of the jdk build
|
|
30 |
JPRT_ARCHIVE_BUNDLE Path to zip bundle to create for JPRT
|
|
31 |
|
|
32 |
Targets:
|
|
33 |
all Build everything, including dist
|
|
34 |
build Build build area
|
|
35 |
clean Clean up
|
|
36 |
clobber Same as clean (don't ask)
|
|
37 |
sanity Perform any sanity checks, exit non-zero if errors
|
|
38 |
jprt_build_product JPRT product build, zip results into JPRT_ARCHIVE_BUNDLE
|
|
39 |
jprt_build_debug JPRT debug build, zip results into JPRT_ARCHIVE_BUNDLE
|
|
40 |
jprt_build_fastdebug JPRT fastdebug build, zip results into JPRT_ARCHIVE_BUNDLE
|
|
41 |
|
|
42 |
Then of course we expect a dist/lib/classes.jar, dist/lib/src.zip and dist/lib/bin.zip.
|