
The branch, master has been updated via a7f1dfd77a48705970218a389982c95eeb11810f (commit) from bbe225290e7073d10a0cd87140002c4e422c6ac3 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://git.qos.ch/gitweb/?p=cal10n.git;a=commit;h=a7f1dfd77a48705970218a3899... http://github.com/ceki/cal10n/commit/a7f1dfd77a48705970218a389982c95eeb11810... commit a7f1dfd77a48705970218a389982c95eeb11810f Author: Ceki Gulcu <ceki@qos.ch> Date: Fri Sep 4 15:48:52 2009 +0200 preparing release 0.7 diff --git a/cal10n-api/pom.xml b/cal10n-api/pom.xml index 34f8ee8..772d985 100644 --- a/cal10n-api/pom.xml +++ b/cal10n-api/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>ch.qos.cal10n</groupId> <artifactId>cal10n-parent</artifactId> - <version>0.7-SNAPSHOT</version> + <version>0.7</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/cal10n-site/pom.xml b/cal10n-site/pom.xml index 055e6f8..b561d1a 100644 --- a/cal10n-site/pom.xml +++ b/cal10n-site/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>ch.qos.cal10n</groupId> <artifactId>cal10n-parent</artifactId> - <version>0.7-SNAPSHOT</version> + <version>0.7</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/cal10n-site/src/site/pages/manual.html b/cal10n-site/src/site/pages/manual.html index e415bd0..0fc3ef3 100644 --- a/cal10n-site/src/site/pages/manual.html +++ b/cal10n-site/src/site/pages/manual.html @@ -155,7 +155,25 @@ String blue = mc.getMessage(Colors.BLUE); </pre> <a href="#mavenPlugin">maven plugin</a>. </p> + <h2><a name="requirements" href="#requirements">Requirements / Installation</a> + </h2> + + <p>CAL10N requires JDK version 1.5.</p> + <p>In order to use CAL10N in a project, all you need is to add + <em>cal10n-api-${project.version}.jar</em> onto your project's class + path.</p> + + <p>For Maven users, this is done by adding the following + dependency in a project's <em>pom.xml</em> file:</p> + + <pre class="prettyprint source"><dependency> + <groupId>ch.qos.cal10n</groupId> + <artifactId>cal10n-api</artifactId> + <version>${project.version}</version> +</dependency></pre> + + <h2><a name="simplifiedLookup" href="#simplifiedLookup">Simplified bundle look-up procedure</a></h2> @@ -164,9 +182,10 @@ String blue = mc.getMessage(Colors.BLUE); </pre> <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/ResourceBundle.html#getBundle%28java.lang.String,%20java.util.Locale,%20java.lang.ClassLoader%29">look-up procedure</a> for finding resource bundles. While formally this - procedure is deterministic, it is too error-prone for our taste. In - CAL10N, we thus took the bold initiative to define a simplified bundle look - up procedure. + procedure is deterministic, it is too error-prone. Moreover, it + clashes with CAL10N's philosophy of verifiability. We thus took the + bold initiative to define a simplified bundle look up procedure, + described below. </p> <p>Given a locale, the simplified look up procedure only takes into @@ -205,8 +224,8 @@ colors_fr_FR.properties</pre> less surprise</a>.</p> - <h2><a name="charset" href="#charset">Pick your charset, per - locale</a></h2> + <h2><a name="charset" href="#charset">Pick your charset, per locale + (no <em>native2ascii</em>) </a></h2> <p>CAL10N allows you to encode the resource bundle for a given locale in the charset of your choice. The set of supported charsets diff --git a/cal10n-site/src/site/pages/news.html b/cal10n-site/src/site/pages/news.html index c0637e2..38c6e9a 100644 --- a/cal10n-site/src/site/pages/news.html +++ b/cal10n-site/src/site/pages/news.html @@ -25,7 +25,7 @@ <p>You can receive cal10n-related announcements by subscribing to the <a href="http://www.qos.ch/mailman/listinfo/cal10n-announce">cal10n-announce</a> - mailing list.</p> + mailing list. </p> <hr width="80%" align="center" /> @@ -33,7 +33,10 @@ <h3>4th of September 2009 - Release of CAL10N version 0.7</h3> <p>Added capability for reading bundles in any JVM supported - charset, rendering <em>native2ascii</em> superfluous.</p> + charset, rendering <em>native2ascii</em> + superfluous. Unfortunately, the annotations to specify locales + became more complicated. However, the price is probably well worth + the cost.</p> <hr width="80%" align="center" /> diff --git a/maven-cal10n-plugin-smoke/pom.xml b/maven-cal10n-plugin-smoke/pom.xml index 7e58cb0..bf3250f 100644 --- a/maven-cal10n-plugin-smoke/pom.xml +++ b/maven-cal10n-plugin-smoke/pom.xml @@ -4,7 +4,7 @@ <parent> <groupId>ch.qos.cal10n</groupId> <artifactId>cal10n-parent</artifactId> - <version>0.7-SNAPSHOT</version> + <version>0.7</version> </parent> <modelVersion>4.0.0</modelVersion> diff --git a/maven-cal10n-plugin/pom.xml b/maven-cal10n-plugin/pom.xml index d01ce41..4a73aca 100644 --- a/maven-cal10n-plugin/pom.xml +++ b/maven-cal10n-plugin/pom.xml @@ -8,7 +8,7 @@ <parent> <artifactId>cal10n-parent</artifactId> <groupId>ch.qos.cal10n</groupId> - <version>0.7-SNAPSHOT</version> + <version>0.7</version> </parent> <groupId>ch.qos.cal10n.plugins</groupId> diff --git a/pom.xml b/pom.xml index a024491..fb1aac4 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ <groupId>ch.qos.cal10n</groupId> <artifactId>cal10n-parent</artifactId> <packaging>pom</packaging> - <version>0.7-SNAPSHOT</version> + <version>0.7</version> <name>Compiler assisted localization library (CAL10N) - Parent</name> <url>http://cal10n.qos.ch</url> ----------------------------------------------------------------------- Summary of changes: cal10n-api/pom.xml | 2 +- cal10n-site/pom.xml | 2 +- cal10n-site/src/site/pages/manual.html | 29 ++++++++++++++++++++++++----- cal10n-site/src/site/pages/news.html | 7 +++++-- maven-cal10n-plugin-smoke/pom.xml | 2 +- maven-cal10n-plugin/pom.xml | 2 +- pom.xml | 2 +- 7 files changed, 34 insertions(+), 12 deletions(-) hooks/post-receive -- Compiler assisted localization library