1 |
This file shows the dependencies of the SCHMITZM library |
============================================================== |
2 |
|
=== SCHMITZM README (2010-02-10, Martin Schmitz) === |
3 |
|
=== === |
4 |
|
=== http://wald.intevation.org/projects/xulu/ === |
5 |
|
=== http://wald.intevation.org/projects/schmitzm/ === |
6 |
|
============================================================== |
7 |
|
|
|
t.b.c. |
|
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 (http://java.sun.com) |
24 |
|
- JAI plus ImageIO (if not already included in your JRE/JDK) |
25 |
|
because gt2-2.6.0 already includes jai_codec-1.1.3.jar and |
26 |
|
jai_imageio-1.1.jar it is recommended only to include: |
27 |
|
- clipwrapper_jiio.jar |
28 |
|
- jai_core.jar |
29 |
|
- mlibwrapper_jai.jar |
30 |
|
- Geotools 2.6.1 (http://www.geotools.org) |
31 |
|
- jFreeChart 1.0.13 (http://www.jfree.org/jfreechart/) |
32 |
|
- Log4j 1.2.14 (http://logging.apache.org/log4j/) |
33 |
|
- JINI (http://java.sun.com/products/jini/) |
34 |
|
- Colt (http://acs.lbl.gov/~hoschek/colt/) |
35 |
|
|
36 |
|
Only the following individual JARs are included in the SCHMITZM |
37 |
|
project (lib folder) because of several reasons. For middle term |
38 |
|
it is planned to remove them: |
39 |
|
- gt-shapefile-renderer-2.6-SNAPSHOT.jar |
40 |
|
>> ShapefileRenderer is still needed, but unsupported in |
41 |
|
gt2-2.6.1. When GT has included all its advantages |
42 |
|
in StreamingRenderer the ShapefileRenderer will be |
43 |
|
removed from SCHMITZM |
44 |
|
|
45 |
|
|
46 |
|
An example for an Eclipse project can be found in "defaults" |
47 |
|
folder. But please DO NOT USE, MODIFY AND COMMIT THIS FILES, |
48 |
|
but instead copy first '.classpass' and '.project' to SCHMITZM |
49 |
|
root folder!! |
50 |
|
|
51 |
|
|
52 |
|
----------------------------------------------------------- |
53 |
|
(2) Localization in SCHMITZM library |
54 |
|
----------------------------------------------------------- |
55 |
|
Localization is done by the SCHMITZM class ResourceProvider, which is |
56 |
|
an extension to standard Java ResourceBundle. |
57 |
|
For example ResourceProvider.getString(..) allowes to specify |
58 |
|
additional parameters to fill wildcards ${0}, ${1}, ${2}, ... in the |
59 |
|
localization strings (see ResourceProvider class for more details). |
60 |
|
|
61 |
|
The SCHMITZM library contains resource bundles in the following |
62 |
|
packages, each located in sub-folders <package>/resource/locales: |
63 |
|
|
64 |
|
- schmitzm.data -> DataResourceBundle |
65 |
|
- schmitzm.geotools.feature -> FeatureResourceBundle |
66 |
|
- schmitzm.geotools.gui -> GTResourceBundle |
67 |
|
- schmitzm.lang -> LangResourceBundle |
68 |
|
- schmitzm.swing -> SwingResourceBundle |
69 |
|
- skrueger.swing -> SwingResourceBundle |
70 |
|
|
71 |
|
If you want SCHMITZM to provide an additional language, you have to |
72 |
|
translate all of these ResourceBundles. |
73 |
|
|
74 |
|
|
75 |
|
=========================================================== |
76 |
|
http://wald.intevation.org/projects/xulu/ |
77 |
|
http://wald.intevation.org/projects/schmitzm/ |
78 |
|
=========================================================== |