@@ -166,9 +166,10 @@ export CLDR_DATA_DIR=$HOME/cldr-staging/production
166
166
167
167
1c. ICU variables
168
168
``` sh
169
- export ICU4C_DIR=$HOME /icu-myfork/icu4c
170
- export ICU4J_ROOT=$HOME /icu-myfork/icu4j
171
- export TOOLS_ROOT=$HOME /icu-myfork/tools
169
+ export ICU_DIR=$HOME /icu-myfork
170
+ export ICU4C_DIR=$ICU_DIR /icu4c
171
+ export ICU4J_ROOT=$ICU_DIR /icu4j
172
+ export TOOLS_ROOT=$ICU_DIR /tools
172
173
```
173
174
174
175
1d. Directory for logs/notes (create if does not exist)
@@ -196,13 +197,13 @@ make clean
196
197
make check 2>&1 | tee $NOTES /icu4c-oldData-makeCheck.txt
197
198
```
198
199
199
- 2b. Now with ICU4J, build and test without new data first, to verify that
200
- there are no pre-existing errors ( or at least to have the pre-existing errors
201
- as a base for comparison) :
200
+ 2b. Build, test, and install ICU4J without new data first. This is to verify that
201
+ there are no pre-existing errors, or at least to have the pre-existing errors
202
+ as a base for comparison:
202
203
``` sh
203
204
cd $ICU4J_ROOT
204
205
mvn clean
205
- mvn verify 2>&1 | tee $NOTES /icu4j-oldData-mvnCheck.txt
206
+ mvn install 2>&1 | tee $NOTES /icu4j-oldData-mvnCheck.txt
206
207
```
207
208
208
209
## 3 Make pre-adjustments
@@ -272,30 +273,17 @@ already present in the ICU4C sources. This process uses the `LdmlConverter` in
272
273
` $ICU_DIR/tools/cldr/cldr-to-icu/ ` ; see ` $ICU_DIR/tools/cldr/cldr-to-icu/README.md ` .
273
274
274
275
* This process will take several minutes, during most of which there will be no log
275
- output (so do not assume nothing is happening). Keep a log so you can investigate
276
+ output (so do not assume that nothing is happening). Keep a log so you can investigate
276
277
anything that looks suspicious.
277
- * The conversion tool
278
- will automatically run its own "clean" step to delete files it cannot determine to
279
- be ones that it would generate, except for pasts listed in ` <retain> ` elements such as
280
- ` coll/de__PHONEBOOK.txt ` , ` coll/de_.txt ` , etc.
278
+ * The conversion tool will automatically run its own "clean" step to delete files it
279
+ cannot determine to be ones that it would generate, except for pasts listed in
280
+ ` <retain> ` elements such as ` coll/de__PHONEBOOK.txt ` , ` coll/de_.txt ` , etc.
281
281
* Before running the tool to regenerate the data, make any necessary changes to the
282
282
` config.xml ` file, such as adding new locales etc.
283
- * ** Temporary note 2025-04-07:** There are some steps mentioned in ` $ICU_DIR/tools/cldr/cldr-to-icu/README.md `
284
- that were not mentioned in these instructions but seem to be necessary for the next step to
285
- work properly, these are:
286
- * Build ICU4J:
287
- ```
288
- cd "$ICU_DIR"
289
- mvn clean install -f icu4j -DskipTests -DskipITs
290
- ```
291
- * Build the conversion tool:
292
- ```
293
- cd "$ICU_DIR/tools/cldr/cldr-to-icu/"
294
- mvn clean package -DskipTests -DskipITs
295
- ```
296
-
297
- ```sh
298
- cd $ICU_DIR/tools/cldr/cldr-to-icu
283
+
284
+ ``` sh
285
+ cd $TOOLS_ROOT /cldr/cldr-to-icu
286
+ mvn clean package -DskipTests -DskipITs
299
287
java -jar target/cldr-to-icu-1.0-SNAPSHOT-jar-with-dependencies.jar --cldrDataDir=" $CLDR_TMP_DIR /production" | tee $NOTES /cldr-newData-builddataLog.txt
300
288
```
301
289
0 commit comments