Naoto Sato 73ff23b7f7 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

JEP 127: Improve Locale Data Packaging and Adopt Unicode CLDR Data (part 1 w/o packaging changes. by Naoto Sato and Masayoshi Okutsu)

Reviewed-by: erikj, sherman, peytoia
2012-08-21 11:00:30 -07:00

70 lines
2.0 KiB
Makefile

#
#
#
DESTDIR=..
FOODIR=foo-contents
BARDIR=bar-contents
all: $(DESTDIR)/fooprovider.jar $(DESTDIR)/barprovider.jar
FOOSERVICES = \
java.text.spi.BreakIteratorProvider \
java.text.spi.CollatorProvider \
java.text.spi.DateFormatProvider \
java.text.spi.DateFormatSymbolsProvider \
java.text.spi.DecimalFormatSymbolsProvider \
java.text.spi.NumberFormatProvider
BARSERVICES = \
java.util.spi.CurrencyNameProvider \
java.util.spi.TimeZoneNameProvider \
java.util.spi.LocaleNameProvider \
java.util.spi.CalendarDataProvider
FOOFILES_JAVA = \
BreakIteratorProviderImpl.java \
CollatorProviderImpl.java \
DateFormatProviderImpl.java \
DateFormatSymbolsProviderImpl.java \
DecimalFormatSymbolsProviderImpl.java \
NumberFormatProviderImpl.java \
FooDateFormat.java \
FooNumberFormat.java \
Utils.java
BARFILES_JAVA = \
CurrencyNameProviderImpl.java \
TimeZoneNameProviderImpl.java \
LocaleNameProviderImpl.java \
CalendarDataProviderImpl.java \
Utils.java
BARFILES_PROPERTIES = \
LocaleNames.properties \
LocaleNames_ja.properties \
LocaleNames_ja_JP_osaka.properties \
LocaleNames_ja_JP_kyoto.properties \
LocaleNames_xx.properties
$(DESTDIR)/fooprovider.jar: $(FOOSERVICES) $(FOOFILES_JAVA)
rm -rf $(FOODIR)
mkdir -p $(FOODIR)
mkdir -p $(FOODIR)/META-INF
mkdir -p $(FOODIR)/META-INF/services
$(BINDIR)/javac -d $(FOODIR) $(FOOFILES_JAVA)
cp $(FOOSERVICES) $(FOODIR)/META-INF/services
rm -f $(DESTDIR)/fooprovider.jar
$(BINDIR)/jar cvf $(DESTDIR)/fooprovider.jar -C $(FOODIR) .
$(DESTDIR)/barprovider.jar: $(BARSERVICES) $(BARFILES_JAVA) $(BARFILES_PROPERTIES)
rm -rf $(BARDIR)
mkdir -p $(BARDIR)
mkdir -p $(BARDIR)/META-INF
mkdir -p $(BARDIR)/META-INF/services
$(BINDIR)/javac -d $(BARDIR) $(BARFILES_JAVA)
cp $(BARSERVICES) $(BARDIR)/META-INF/services
cp $(BARFILES_PROPERTIES) $(BARDIR)/com/bar
rm -f $(DESTDIR)/barprovider.jar
$(BINDIR)/jar cvf $(DESTDIR)/barprovider.jar -C $(BARDIR) .