6778493: Fix (langtools) ant build to honor fcs MILESTONE setting
authorjjg
Mon, 01 Dec 2008 12:15:14 -0800
changeset 1650 980a667baa29
parent 1649 9ec015f3661e
child 1651 6329b9bf26fe
child 1752 d4e9cfa1e8ac
6778493: Fix (langtools) ant build to honor fcs MILESTONE setting Reviewed-by: ohair Contributed-by: mjw@redhat.com
langtools/make/Makefile
--- a/langtools/make/Makefile	Wed Nov 26 11:07:07 2008 +0000
+++ b/langtools/make/Makefile	Mon Dec 01 12:15:14 2008 -0800
@@ -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