# HG changeset patch
# User jjg
# Date 1228162514 28800
# Node ID 980a667baa29d860f08ab00f32ba777030f51d28
# Parent  9ec015f3661e6d11f096240a02e77eda78dc60f4
6778493: Fix (langtools) ant build to honor fcs MILESTONE setting
Reviewed-by: ohair
Contributed-by: mjw@redhat.com

diff -r 9ec015f3661e -r 980a667baa29 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