Hi,

The langtools now use a new ant based build Makefile. This new build
does not obey the setting of MILESTONE to the magic string "fcs" like
the rest of the build to get version strings without an -internal build
string marker. 

We use this feature in IcedTea to make sure the version strings of all
the tools are correct in releases (we additionally have some tweaks so
the version string can embed the hg tip node number and/or a distro
specific indicator).

Attached is a patch that fixes up the ant build Makefile to do the same
as the original Makefile-classic with respect to the release string when
MILESTONE is set to "fcs".

Cheers,

Mark
--- openjdk/langtools/make/Makefile.orig
+++ openjdk/langtools/make/Makefile
@@ -82,7 +82,11 @@
 endif 
 
 ifdef MILESTONE
+ifneq ($(MILESTONE),fcs)
   ANT_OPTIONS += -Dmilestone=$(MILESTONE)
+else
+  ANT_OPTIONS += -Drelease=$(JDK_VERSION)
+endif
 endif
 
 ifdef BUILD_NUMBER

Reply via email to