1 |
============================================================== |
2 |
=== SCHMITZM README (2009-03-02, Martin Schmitz) === |
3 |
=== === |
4 |
=== http://wald.intevation.org/projects/xulu/ === |
5 |
=== http://wald.intevation.org/projects/schmitzm/ === |
6 |
============================================================== |
7 |
|
8 |
This file contains some informations ... |
9 |
|
10 |
(1) about the dependencies of the SCHMITZM library |
11 |
(2) about localization in SCHMITZM |
12 |
|
13 |
----------------------------------------------------------- |
14 |
(1) Dependencies to other libraries |
15 |
----------------------------------------------------------- |
16 |
Because SCHMITZM is not an executable application, but an |
17 |
library for experienced programmers, I renounced to put all |
18 |
necessary libraries to the project. |
19 |
|
20 |
I expect that the SCHMITZM developer/builder is able to include |
21 |
the following dependencies to its individual Java (Eclipse) |
22 |
project: |
23 |
- JRE/JDK 1.6 |
24 |
- JAI plus ImageIO (if not already included in your JRE/JDK) |
25 |
- Geotools 2.4.5 |
26 |
+ gt2-arcgrid-2.3.0-M0.jar |
27 |
+ junit-4.4.jar |
28 |
- jFreeChart 1.0.13 |
29 |
- Log4j 1.2.14 |
30 |
- JINI |
31 |
|
32 |
NOTE: All these libraries (except JRE/JDK) can be found in the |
33 |
'lib' folder of the XULU project: |
34 |
http://wald.intevation.org/projects/xulu/ |
35 |
|
36 |
An example for an Eclipse project can be found in "defaults" |
37 |
folder. But please DO NOT USE, MODIFY AND COMMIT THIS FILES, |
38 |
but instead copy first '.classpass' and '.project' to SCHMITZM |
39 |
root folder!! |
40 |
|
41 |
|
42 |
----------------------------------------------------------- |
43 |
(2) Localization in SCHMITZM library |
44 |
----------------------------------------------------------- |
45 |
Localization is done by the SCHMITZM class ResourceProvider, which is |
46 |
an extension to standard Java ResourceBundle. |
47 |
For example ResourceProvider.getString(..) allowes to specify |
48 |
additional parameters to fill wildcards ${0}, ${1}, ${2}, ... in the |
49 |
localization strings (see ResourceProvider class for more details). |
50 |
|
51 |
The SCHMITZM library contains resource bundles in the following |
52 |
packages, each located in sub-folders <package>/resource/locales: |
53 |
|
54 |
- schmitzm.data -> DataResourceBundle |
55 |
- schmitzm.geotools.feature -> FeatureResourceBundle |
56 |
- schmitzm.geotools.gui -> GTResourceBundle |
57 |
- schmitzm.lang -> LangResourceBundle |
58 |
- schmitzm.swing -> SwingResourceBundle |
59 |
- skrueger.swing -> SwingResourceBundle |
60 |
|
61 |
If you want SCHMITZM to provide an additional language, you have to |
62 |
translate all of these ResourceBundles. |
63 |
|
64 |
|
65 |
=========================================================== |
66 |
http://wald.intevation.org/projects/xulu/ |
67 |
http://wald.intevation.org/projects/schmitzm/ |
68 |
=========================================================== |