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.4 |
26 |
+ gt2-arcgrid-2.3.0-M0.jar |
27 |
+ junit-4.4.jar |
28 |
+ gt2-render-2.4.2.jar |
29 |
- jFreeChart 1.0.6 |
30 |
- Log4j 1.2.14 |
31 |
- JINI |
32 |
|
33 |
NOTE: All these libraries (except JRE/JDK) can be found in the |
34 |
'lib' folder of the XULU project: |
35 |
http://wald.intevation.org/projects/xulu/ |
36 |
|
37 |
An example for an Eclipse project can be found in "defaults" |
38 |
folder. But please DO NOT USE, MODIFY AND COMMIT THIS FILES, |
39 |
but instead copy first '.classpass' and '.project' to SCHMITZM |
40 |
root folder!! |
41 |
|
42 |
|
43 |
----------------------------------------------------------- |
44 |
(2) Localization in SCHMITZM library |
45 |
----------------------------------------------------------- |
46 |
Localization is done by the SCHMITZM class ResourceProvider, which is |
47 |
an extension to standard Java ResourceBundle. |
48 |
For example ResourceProvider.getString(..) allowes to specify |
49 |
additional parameters to fill wildcards ${0}, ${1}, ${2}, ... in the |
50 |
localization strings (see ResourceProvider class for more details). |
51 |
|
52 |
The SCHMITZM library contains resource bundles in the following |
53 |
packages, each located in sub-folders <package>/resource/locales: |
54 |
|
55 |
- schmitzm.data -> DataResourceBundle |
56 |
- schmitzm.geotools.feature -> FeatureResourceBundle |
57 |
- schmitzm.geotools.gui -> GTResourceBundle |
58 |
- schmitzm.lang -> LangResourceBundle |
59 |
- schmitzm.swing -> SwingResourceBundle |
60 |
- skrueger.swing -> SwingResourceBundle |
61 |
|
62 |
If you want SCHMITZM to provide an additional language, you have to |
63 |
translate all of these ResourceBundles. |
64 |
|
65 |
|
66 |
=========================================================== |
67 |
http://wald.intevation.org/projects/xulu/ |
68 |
http://wald.intevation.org/projects/schmitzm/ |
69 |
=========================================================== |