Print this page
rev 5615 : 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 Jigsaw. by Naoto Sato and Masayoshi Okutsu)
Split |
Close |
Expand all |
Collapse all |
--- old/make/sun/text/Makefile
+++ new/make/sun/text/Makefile
1 1 #
2 -# Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
2 +# Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 4 #
5 5 # This code is free software; you can redistribute it and/or modify it
6 6 # under the terms of the GNU General Public License version 2 only, as
7 7 # published by the Free Software Foundation. Oracle designates this
8 8 # particular file as subject to the "Classpath" exception as provided
9 9 # by Oracle in the LICENSE file that accompanied this code.
10 10 #
11 11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 14 # version 2 for more details (a copy is included in the LICENSE file that
15 15 # accompanied this code).
16 16 #
17 17 # You should have received a copy of the GNU General Public License version
18 18 # 2 along with this work; if not, write to the Free Software Foundation,
19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 20 #
21 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 22 # or visit www.oracle.com if you need additional information or have any
23 23 # questions.
24 24 #
25 25
26 26 #
27 27 # Makefile for locale data.
28 28 #
29 29
30 30 BUILDDIR = ../..
31 31
32 32 PACKAGE = sun.text
33 33 PRODUCT = sun
34 34 JAVAC_MAX_WARNINGS = true
35 35 JAVAC_WARNINGS_FATAL = true
36 36
37 37 include $(BUILDDIR)/common/Defs.gmk
38 38
39 39 # Re-direct classes to another location (we are building localedata.jar)
40 40 CLASSDESTDIR = $(TEMPDIR)/classes
↓ open down ↓ |
28 lines elided |
↑ open up ↑ |
41 41
42 42 #
43 43 # Files
44 44 #
45 45 include FILES_java.gmk
46 46 include FILES_properties.gmk
47 47
48 48 #
49 49 # Compile the properties files
50 50 #
51 -COMPILED_PROPERTIES_SUPERCLASS=LocaleNamesBundle
51 +COMPILED_PROPERTIES_SUPERCLASS=sun.util.resources.LocaleNamesBundle
52 52
53 53 #
54 54 # Rules
55 55 #
56 56 include $(BUILDDIR)/common/Classes.gmk
57 57
58 58 #
59 59 # Rules to add data files BreakIterator (for th locale)
60 60 #
61 61 TEXT_CLASSES = $(BUILDTOOLCLASSDIR)/sun.text/classes
62 62
63 63 # input
64 64 #
65 65 # Notes: sun.text.resources.BreakIteratorRules_th no longer goes to runtime.
66 66 # They are used at JDK build phase in order to create $(BIFILES) which
67 67 # are used on runtime instead.
68 68 #
69 69 TEXT_SRCDIR = $(SHARE_SRC)/classes/sun/text/resources
70 70 BIRULES = $(TEXT_SRCDIR)/BreakIteratorRules.java \
71 - $(TEXT_SRCDIR)/BreakIteratorRules_th.java
72 -BIINFO = $(TEXT_SRCDIR)/BreakIteratorInfo_th.java
71 + $(TEXT_SRCDIR)/th/BreakIteratorRules_th.java
72 +BIINFO = $(TEXT_SRCDIR)/th/BreakIteratorInfo_th.java
73 73 UNICODEDATA = $(BUILDDIR)/tools/UnicodeData
74 74
75 75 # output
76 -BIFILES = $(CLASSDESTDIR)/sun/text/resources/WordBreakIteratorData_th \
77 - $(CLASSDESTDIR)/sun/text/resources/LineBreakIteratorData_th
76 +BIFILES = $(CLASSDESTDIR)/sun/text/resources/th/WordBreakIteratorData_th \
77 + $(CLASSDESTDIR)/sun/text/resources/th/LineBreakIteratorData_th
78 78
79 79 # builder
80 80 GENERATEBREAKITERATORDATA_JARFILE = \
81 81 $(BUILDTOOLJARDIR)/generatebreakiteratordata.jar
82 82
83 83 $(BIFILES): $(GENERATEBREAKITERATORDATA_JARFILE) $(BIRULES) $(BIINFO) \
84 84 $(UNICODEDATA)/UnicodeData.txt
85 85 $(prep-target)
86 86 $(MKDIR) -p $(TEXT_CLASSES)
87 87 $(BOOT_JAVAC_CMD) -d $(TEXT_CLASSES) \
88 88 -sourcepath $(TEXT_SRCDIR) \
89 89 $(BIRULES) $(BIINFO)
90 90 $(BOOT_JAVA_CMD) -Xbootclasspath/p:$(TEXT_CLASSES) \
91 91 -jar $(GENERATEBREAKITERATORDATA_JARFILE) \
92 92 -o $(CLASSDESTDIR)/sun/text/resources \
93 93 -spec $(UNICODEDATA)/UnicodeData.txt \
94 94 -language th
95 95 @$(java-vm-cleanup)
96 96
97 97 clean::
98 98 $(RM) -r $(TEXT_CLASSES)
↓ open down ↓ |
11 lines elided |
↑ open up ↑ |
99 99 $(RM) -r $(BIFILES)
100 100 #
101 101 # End of rules to add data files for BreakIterator
102 102 #
103 103
104 104 #
105 105 # Extra rules to build locale data.
106 106 #
107 107 LOCALEDATA_JAR = $(EXTDIR)/localedata.jar
108 108
109 -SPECIALFILES = $(CLASSDESTDIR)/sun/text/resources/thai_dict
109 +SPECIALFILES = $(CLASSDESTDIR)/sun/text/resources/th/thai_dict
110 110
111 111 $(CLASSDESTDIR)/sun/text/resources/% : $(TEXT_SRCDIR)/%
112 112 $(install-file)
113 113
114 114 $(LOCALEDATA_JAR): $(EXTDIR) $(FILES_class) $(BIFILES) $(SPECIALFILES)
115 115 $(prep-target)
116 116 $(BOOT_JAR_CMD) -cf $@ -C $(CLASSDESTDIR) sun \
117 117 $(BOOT_JAR_JFLAGS)
118 118 @$(java-vm-cleanup)
119 119
120 120 build: $(LOCALEDATA_JAR)
121 121
122 122 clean clobber::
123 123 $(RM) -r $(CLASSDESTDIR)
124 124 $(RM) $(LOCALEDATA_JAR)
125 125
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX