makefiles/GensrcProperties.gmk

Print this page
rev 5696 : 6336885: RFE: Locale Data Deployment Enhancements
4609153: Provide locale data for Indic locales
5104387: Support for gl_ES locale (galician language)
6337471: desktop/system locale preferences support
7056139: (cal) SPI support for locale-dependent Calendar parameters
7058206: Provide CalendarData SPI for week params and display field value names
7073852: Support multiple scripts for digits and decimal symbols per locale
7079560: [Fmt-Da] Context dependent month names support in SimpleDateFormat
7171324: getAvailableLocales() of locale sensitive services should return the actual availability of locales
7151414: (cal) Support calendar type identification
7168528: LocaleServiceProvider needs to be aware of Locale extensions
7171372: (cal) locale's default Calendar should be created if unknown calendar is specified
Summary: JEP 127: Improve Locale Data Packaging and Adopt Unicode CLDR Data (part 1 w/o packaging changes. by Naoto Sato and Masayoshi Okutsu)


 265         $(shell find $(JDK_TOPDIR)/src/share/classes/sun/tools/javac/resources -name "javac.properties")))
 266 
 267 #sun/tools/jconsole/resources
 268 $(eval $(call add_properties_to_clean,SUN_TOOLS_JCONSOLE,\
 269         $(shell find $(JDK_TOPDIR)/src/share/classes/sun/tools/jconsole/resources -name "*.properties")))
 270 
 271 #sun/tools/serialver
 272 $(eval $(call add_properties_to_clean,SUN_TOOLS_SERIALVER,\
 273         $(shell find $(JDK_TOPDIR)/src/share/classes/sun/tools/serialver -name "*.properties"),,,resources))
 274 
 275 #sun/util/logging/resources
 276 $(eval $(call add_properties_to_compile,SUN_UTIL_LOGGING,\
 277         $(shell find $(JDK_TOPDIR)/src/share/classes/sun/util/logging/resources -name "*.properties"),\
 278                 ListResourceBundle))
 279 $(eval $(call add_properties_to_compile,SUN_UTIL_LOGGING_HK,\
 280         $(shell find $(JDK_TOPDIR)/src/share/classes/sun/util/logging/resources -name "*.properties"),\
 281                 ListResourceBundle,%zh_TW,%zh_HK))
 282 # sun/util/resources
 283 $(eval $(call add_properties_to_compile,SUN_UTIL,\
 284         $(shell find $(JDK_TOPDIR)/src/share/classes/sun/util/resources -name "*.properties"),\
 285                 LocaleNamesBundle))
 286 
 287 # Now setup the rule for the generation of the resource bundles.
 288 $(JDK_OUTPUTDIR)/gensrc_properties/_the.compiled_properties : $(ALL_COMPILED_PROPSOURCES) $(BUILD_TOOLS)
 289         $(RM) -rf $(JDK_OUTPUTDIR)/gensrc_properties/*
 290 #       Generate all output directories in advance since the build tool does not do that...
 291         $(MKDIR) -p $(sort $(dir $(ALL_COMPILED_PROPJAVAS)))
 292         $(ECHO) Compiling $(words $(ALL_COMPILED_PROPSOURCES)) properties into resource bundles
 293         $(call ListPathsSafely,COMPILE_PROPCMDLINE,\n, >> $(JDK_OUTPUTDIR)/gensrc_properties/_the.cmdline)
 294         $(TOOL_COMPILEPROPERTIES) -quiet @$(JDK_OUTPUTDIR)/gensrc_properties/_the.cmdline
 295         $(TOUCH) $@
 296 
 297 # Now setup the rule for the generation of the cleaned properties.
 298 # FIXME: We currently don't handle removed properties incrementally. 
 299 $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties : $(ALL_CLEANED_PROPSOURCES) $(BUILD_TOOLS)
 300         $(RM) -f $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline
 301 #       Generate all output directories in advance since the build tool does not do that...
 302         $(MKDIR) -p $(sort $(dir $(ALL_CLEANED_PROPOUTPUT)))
 303         $(ECHO) Copying and cleaning $(words $(ALL_CLEANED_PROPSOURCES)) properties 
 304         $(call ListPathsSafely,CLEAN_PROPCMDLINE,\n, >> $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline)
 305         $(TOOL_STRIPPROPERTIES) @$(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline




 265         $(shell find $(JDK_TOPDIR)/src/share/classes/sun/tools/javac/resources -name "javac.properties")))
 266 
 267 #sun/tools/jconsole/resources
 268 $(eval $(call add_properties_to_clean,SUN_TOOLS_JCONSOLE,\
 269         $(shell find $(JDK_TOPDIR)/src/share/classes/sun/tools/jconsole/resources -name "*.properties")))
 270 
 271 #sun/tools/serialver
 272 $(eval $(call add_properties_to_clean,SUN_TOOLS_SERIALVER,\
 273         $(shell find $(JDK_TOPDIR)/src/share/classes/sun/tools/serialver -name "*.properties"),,,resources))
 274 
 275 #sun/util/logging/resources
 276 $(eval $(call add_properties_to_compile,SUN_UTIL_LOGGING,\
 277         $(shell find $(JDK_TOPDIR)/src/share/classes/sun/util/logging/resources -name "*.properties"),\
 278                 ListResourceBundle))
 279 $(eval $(call add_properties_to_compile,SUN_UTIL_LOGGING_HK,\
 280         $(shell find $(JDK_TOPDIR)/src/share/classes/sun/util/logging/resources -name "*.properties"),\
 281                 ListResourceBundle,%zh_TW,%zh_HK))
 282 # sun/util/resources
 283 $(eval $(call add_properties_to_compile,SUN_UTIL,\
 284         $(shell find $(JDK_TOPDIR)/src/share/classes/sun/util/resources -name "*.properties"),\
 285                 sun.util.resources.LocaleNamesBundle))
 286 
 287 # Now setup the rule for the generation of the resource bundles.
 288 $(JDK_OUTPUTDIR)/gensrc_properties/_the.compiled_properties : $(ALL_COMPILED_PROPSOURCES) $(BUILD_TOOLS)
 289         $(RM) -rf $(JDK_OUTPUTDIR)/gensrc_properties/*
 290 #       Generate all output directories in advance since the build tool does not do that...
 291         $(MKDIR) -p $(sort $(dir $(ALL_COMPILED_PROPJAVAS)))
 292         $(ECHO) Compiling $(words $(ALL_COMPILED_PROPSOURCES)) properties into resource bundles
 293         $(call ListPathsSafely,COMPILE_PROPCMDLINE,\n, >> $(JDK_OUTPUTDIR)/gensrc_properties/_the.cmdline)
 294         $(TOOL_COMPILEPROPERTIES) -quiet @$(JDK_OUTPUTDIR)/gensrc_properties/_the.cmdline
 295         $(TOUCH) $@
 296 
 297 # Now setup the rule for the generation of the cleaned properties.
 298 # FIXME: We currently don't handle removed properties incrementally. 
 299 $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties : $(ALL_CLEANED_PROPSOURCES) $(BUILD_TOOLS)
 300         $(RM) -f $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline
 301 #       Generate all output directories in advance since the build tool does not do that...
 302         $(MKDIR) -p $(sort $(dir $(ALL_CLEANED_PROPOUTPUT)))
 303         $(ECHO) Copying and cleaning $(words $(ALL_CLEANED_PROPSOURCES)) properties 
 304         $(call ListPathsSafely,CLEAN_PROPCMDLINE,\n, >> $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline)
 305         $(TOOL_STRIPPROPERTIES) @$(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline