mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-05 13:35:32 +00:00
ICU-22324 Update BRS task docs
This commit is contained in:
parent
1b5542da42
commit
623cb1accc
4 changed files with 39 additions and 13 deletions
|
@ -541,8 +541,8 @@ demo.
|
|||
|
||||
```sh
|
||||
$ cd icu4j
|
||||
$ ant jarDemos
|
||||
$ java -jar icu4jdemos.jar
|
||||
$ mvn install -am -pl demos -DskipTests -DskipITs
|
||||
$ mvn exec:exec -pl demos
|
||||
```
|
||||
|
||||
Above command invokes GUI demo applications. As such it has to connect to a
|
||||
|
@ -561,16 +561,12 @@ ICU4J samples are located in directory <icu4j_root>/samples. Check that:
|
|||
|
||||
To check ICU4J samples, you may use the command line to build and then run each:
|
||||
```sh
|
||||
$ cd icu4j/samples
|
||||
$ ant build
|
||||
|
||||
# Get the list of main samples to test.
|
||||
$ grep -r main src/
|
||||
src/com/ibm/icu/samples/text/dateintervalformat/DateIntervalFormatSample.java
|
||||
...
|
||||
|
||||
# For each sample, execute as follows:
|
||||
$ java -cp ../icu4j.jar:out/lib/icu4j-samples.jar com.ibm.icu.samples.text.dateintervalformat.DateIntervalFormatSample
|
||||
$ cd icu4j
|
||||
$ mvn install -am -pl samples -DskipTests -DskipITs
|
||||
|
||||
# Get the list of samples with `main` methods, and execute to test.
|
||||
$ classes=`grep -r "void main" samples/src/ -l | ruby -lane 'file=$_; m = file.match(/src\/main\/java\/(.*)\.java$/); puts m[1];' | tr '/' '.'`
|
||||
$ for class in $classes; do echo $class; mvn exec:java -pl samples -Dexec.mainClass="$class"; echo "Press enter to continue"; read; done
|
||||
```
|
||||
|
||||
To use Eclipse, do the following:
|
||||
|
@ -590,7 +586,7 @@ To use Eclipse, do the following:
|
|||
For ICU4J,
|
||||
|
||||
```sh
|
||||
$ ant exhaustiveCheck
|
||||
$ mvn verify -DICU.exhaustive=10
|
||||
```
|
||||
|
||||
For ICU4C, testing with an optimized build will help reduce the elapsed time
|
||||
|
|
|
@ -44,6 +44,27 @@
|
|||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>exec</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<executable>java</executable>
|
||||
<arguments>
|
||||
<argument>-classpath</argument>
|
||||
<!-- automatically creates the classpath using all project dependencies,
|
||||
also adding the project build directory -->
|
||||
<classpath/>
|
||||
<argument>com.ibm.icu.dev.demo.Launcher</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
|
|
@ -418,6 +418,11 @@
|
|||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
|
|
|
@ -39,6 +39,10 @@
|
|||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue