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