author | ohair |
Wed, 15 Dec 2010 15:30:12 -0800 | |
changeset 7612 | 48ac0d1108df |
parent 3305 | 7ca56c8ba510 |
permissions | -rw-r--r-- |
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 |
|
3305
7ca56c8ba510
6854244: change source/target used to compile JDK to 7
jjg
parents:
1117
diff
changeset
|
21 |
TARGET_CLASS_VERSION The classfile version number (currently 7) |
0 | 22 |
ANT_HOME Home of ant to use, if provided |
23 |
QUIET If defined, be quiet |
|
24 |
VERBOSE If defined, be verbose |
|
25 |
JDK_VERSION Version being built |
|
26 |
FULL_VERSION Full version string for this jdk build |
|
27 |
MILESTONE fcs, beta, internal or empty |
|
28 |
BUILD_NUMBER Number of the jdk build |
|
29 |
JPRT_ARCHIVE_BUNDLE Path to zip bundle to create for JPRT |
|
30 |
||
31 |
Targets: |
|
32 |
all Build everything, including dist |
|
33 |
build Build build area |
|
34 |
clean Clean up |
|
35 |
clobber Same as clean (don't ask) |
|
36 |
sanity Perform any sanity checks, exit non-zero if errors |
|
37 |
jprt_build_product JPRT product build, zip results into JPRT_ARCHIVE_BUNDLE |
|
38 |
jprt_build_debug JPRT debug build, zip results into JPRT_ARCHIVE_BUNDLE |
|
39 |
jprt_build_fastdebug JPRT fastdebug build, zip results into JPRT_ARCHIVE_BUNDLE |
|
40 |
||
41 |
Then of course we expect a dist/lib/classes.jar, dist/lib/src.zip and dist/lib/bin.zip. |