Revision 115
README.rst | ||
---|---|---|
1 |
=============== |
|
2 |
gvSIG Educa |
|
3 |
=============== |
|
4 |
|
|
5 |
------------------------------------------------- |
|
6 |
Customization of gvSIG for education purpose |
|
7 |
------------------------------------------------- |
|
8 |
|
|
9 |
Description |
|
10 |
============== |
|
11 |
|
|
12 |
This file is an index of the repository |
|
13 |
|
|
14 |
Contents |
|
15 |
========= |
|
16 |
|
|
17 |
REAME.rst |
|
18 |
----------- |
|
19 |
|
|
20 |
This file (in reStructureText format, for more info this format look at `gvSIG portal <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/guia-para-documentar/el-formato-restructuredtext>`_ or at `docUtils reference <http://docutils.sourceforge.net/rst.html>`_) |
|
21 |
|
|
22 |
org.gvsig.educa.thematicmap |
|
23 |
----------------------------- |
|
24 |
|
|
25 |
Main folder of Thematic Map functionality. |
|
26 |
|
|
27 |
org.gvsig.educa.thematicmap.app |
|
28 |
-------------------------------- |
|
29 |
|
|
30 |
gvSIG add-on which uses the Thematic Map functionality. |
|
31 |
|
|
32 |
org.gvsig.batovi |
|
33 |
------------------ |
|
34 |
|
|
35 |
Scripts to generate a OLPC Sugar bundle of gvSIG |
LEEME.txt | ||
---|---|---|
1 |
=============== |
|
2 |
gvSIG Educa |
|
3 |
=============== |
|
4 |
|
|
5 |
------------------------------------------------- |
|
6 |
Personalización de gvSIG con fines educativos |
|
7 |
------------------------------------------------- |
|
8 |
|
|
9 |
Descripción |
|
10 |
============== |
|
11 |
|
|
12 |
Este fichero es un índice del contenido del repositorio |
|
13 |
|
|
14 |
Contenido |
|
15 |
========= |
|
16 |
|
|
17 |
REAME.txt/LEEME.txt |
|
18 |
-------------------- |
|
19 |
|
|
20 |
Este fichero. Está en formato reStructureText. Para mas información ver el `portal de gvSIG <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/guia-para-documentar/el-formato-restructuredtext>`_ o en la `referencia de docUtils <http://docutils.sourceforge.net/rst.html>`_) |
|
21 |
|
|
22 |
org.gvsig.educa.thematicmap |
|
23 |
----------------------------- |
|
24 |
|
|
25 |
Directorio principal de la funcionalidad de los Mapas temáticos. |
|
26 |
|
|
27 |
org.gvsig.educa.thematicmap.app |
|
28 |
-------------------------------- |
|
29 |
|
|
30 |
Plugins de gvSIG que permiten usar la funcionalidad de Mapas temáticos. |
|
31 |
|
|
32 |
org.gvsig.batovi |
|
33 |
------------------ |
|
34 |
|
|
35 |
Scripts y Plugins para el proyecto *gvSIG Batovi* que tiene como fin instalar gvSIG en los equipos OLPC del `plan Ceibal <http://www.ceibal.edu.uy>`_ |
|
36 |
|
README.txt | ||
---|---|---|
1 |
=============== |
|
2 |
gvSIG Educa |
|
3 |
=============== |
|
4 |
|
|
5 |
------------------------------------------------- |
|
6 |
Customization of gvSIG for education purpose |
|
7 |
------------------------------------------------- |
|
8 |
|
|
9 |
Description |
|
10 |
============== |
|
11 |
|
|
12 |
This file is an index of the repository |
|
13 |
|
|
14 |
Contents |
|
15 |
========= |
|
16 |
|
|
17 |
REAME.rst |
|
18 |
----------- |
|
19 |
|
|
20 |
This file (in reStructureText format, for more info this format look at `gvSIG portal <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/guia-para-documentar/el-formato-restructuredtext>`_ or at `docUtils reference <http://docutils.sourceforge.net/rst.html>`_) |
|
21 |
|
|
22 |
org.gvsig.educa.thematicmap |
|
23 |
----------------------------- |
|
24 |
|
|
25 |
Main folder of Thematic Map functionality. |
|
26 |
|
|
27 |
org.gvsig.educa.thematicmap.app |
|
28 |
-------------------------------- |
|
29 |
|
|
30 |
gvSIG add-on which uses the Thematic Map functionality. |
|
31 |
|
|
32 |
org.gvsig.batovi |
|
33 |
------------------ |
|
34 |
|
|
35 |
Scripts and plugins for *gvSIG Batovi* project which target is to install gvSIG in a OLPC of `plan Ceibal <http://www.ceibal.edu.uy>`_ |
org.gvsig.educa.thematicmap.app/trunk/org.gvsig.educa.thematicmap.app/README.rst | ||
---|---|---|
1 |
=============== |
|
2 |
gvSIG Educa |
|
3 |
=============== |
|
4 |
|
|
5 |
--------------------- |
|
6 |
Thematic Map add-ons |
|
7 |
--------------------- |
|
8 |
|
|
9 |
Description |
|
10 |
============== |
|
11 |
|
|
12 |
This folder contains the sources of the add-on which uses Thematic Map functionality. |
|
13 |
|
|
14 |
Requirements |
|
15 |
============== |
|
16 |
|
|
17 |
* Maven 2.6 or higher |
|
18 |
|
|
19 |
* Java JDK 1.5 or higher |
|
20 |
|
|
21 |
* gvSIG 2.0 (Build number 2042 or higher) installed |
|
22 |
|
|
23 |
For eclipse |
|
24 |
------------- |
|
25 |
|
|
26 |
See `developer guide at gvSIG.org <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/gvsig-devel-guide/2.0.0/>`_ and the file ``REAME-ECLIPSE.txt`` |
|
27 |
|
|
28 |
|
|
29 |
Contents |
|
30 |
========== |
|
31 |
|
|
32 |
org.gvsig.educa.thematicmap.app.viewer |
|
33 |
------------------------------------------ |
|
34 |
|
|
35 |
Add-on which allows gvSIG to intall and view Thematic Map. |
|
36 |
|
|
37 |
org.gvsig.educa.thematicmap.app.editor |
|
38 |
------------------------------------------ |
|
39 |
|
|
40 |
Add-on which allows gvSIG to create, update, package Thematic Map. Requires `org.gvsig.educa.thematicmap.app.viewer`_ |
|
41 |
|
|
42 |
pom.xml |
|
43 |
--------- |
|
44 |
|
|
45 |
Maven project definition file |
|
46 |
|
|
47 |
prepare-workspace.xml and README-ECLIPSE.txt |
|
48 |
----------------------------------------------- |
|
49 |
|
|
50 |
Instructions and utilities to work with eclipse |
|
51 |
|
|
52 |
README.rst |
|
53 |
-------------- |
|
54 |
|
|
55 |
This file (in reStructureText format, for more info this format look at `gvSIG portal <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/guia-para-documentar/el-formato-restructuredtext>`_ or at `docUtils reference <http://docutils.sourceforge.net/rst.html>`_) |
|
56 |
|
|
57 |
testing |
|
58 |
----------- |
|
59 |
|
|
60 |
Contains the test plans definition and all resources to perform functionally test of all add-ons. |
|
61 |
|
|
62 |
Compilation |
|
63 |
================ |
|
64 |
|
|
65 |
Prepare maven ``gvsig-install`` profile |
|
66 |
----------------------------------------- |
|
67 |
|
|
68 |
Add-on projets are configured to deploy itself into a gvSIG installation. This must configured using *maven profiles* by setting the gvSIG installation y the ``~/.m2/settings.xml`` file this way:: |
|
69 |
|
|
70 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|
71 |
<settings> |
|
72 |
.... |
|
73 |
.... |
|
74 |
<profiles> |
|
75 |
.... |
|
76 |
.... |
|
77 |
<profile> |
|
78 |
<id>gvsig-install</id> |
|
79 |
<activation> |
|
80 |
<activeByDefault>true</activeByDefault> |
|
81 |
</activation> |
|
82 |
<properties> |
|
83 |
<gvsig.install.dir>/home/user/gvSIG_2.0</gvsig.install.dir> |
|
84 |
</properties> |
|
85 |
</profile> |
|
86 |
.... |
|
87 |
.... |
|
88 |
</profiles> |
|
89 |
.... |
|
90 |
.... |
|
91 |
<settings> |
|
92 |
|
|
93 |
|
|
94 |
From shell |
|
95 |
------------ |
|
96 |
|
|
97 |
Execute this command:: |
|
98 |
|
|
99 |
org.gvsig.educa.thematicmap.app.*$ mvn clean install |
|
100 |
|
|
101 |
|
|
102 |
From eclipse |
|
103 |
-------------- |
|
104 |
|
|
105 |
See `work in a proyect of the developer guide at gvSIG.org <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/gvsig-devel-guide/2.0.0/trabajar-con-un-proyecto>`_ |
|
106 |
|
|
107 |
|
|
108 |
Generate gvSIG add-on installer files |
|
109 |
======================================== |
|
110 |
|
|
111 |
To generate the ``.gvspkg`` and ``.gvspki`` files just add the ``create-installer`` profile to compilation command:: |
|
112 |
|
|
113 |
org.gvsig.educa.thematicmap.app.*$ mvn -P create-installer clean install |
|
114 |
|
|
115 |
Files will be generated in ``${gvsig.install.dir}/build/product/install/pool/`` folder. You can see effective path in maven output:: |
|
116 |
|
|
117 |
... |
|
118 |
... |
|
119 |
[INFO] Generating a PackageIndex for the plugin: org.gvsig.educa.thematicmap.app.editor with the following information: |
|
120 |
[INFO] gvSIG Plugin's folder: /home/[...]/v2_0_0_prep/build/product/gvSIG/extensiones |
|
121 |
[INFO] Package file destination folder: /home/[...]/v2_0_0_prep/build/product/install/pool/org.gvsig.educa.thematicmap.app.[...] |
|
122 |
[INFO] Creating package of the package info: |
|
123 |
... |
|
124 |
... |
|
125 |
|
|
126 |
|
org.gvsig.educa.thematicmap.app/trunk/org.gvsig.educa.thematicmap.app/README.txt | ||
---|---|---|
1 |
=============== |
|
2 |
gvSIG Educa |
|
3 |
=============== |
|
4 |
|
|
5 |
--------------------- |
|
6 |
Thematic Map add-ons |
|
7 |
--------------------- |
|
8 |
|
|
9 |
Description |
|
10 |
============== |
|
11 |
|
|
12 |
This folder contains the sources of the add-on which uses Thematic Map functionality. |
|
13 |
|
|
14 |
Requirements |
|
15 |
============== |
|
16 |
|
|
17 |
* Maven 2.6 or higher |
|
18 |
|
|
19 |
* Java JDK 1.5 or higher |
|
20 |
|
|
21 |
* gvSIG 2.0 (Build number 2043 or higher) installed |
|
22 |
|
|
23 |
For eclipse |
|
24 |
------------- |
|
25 |
|
|
26 |
See `developer guide at gvSIG.org <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/gvsig-devel-guide/2.0.0/>`_ and the file ``REAME-ECLIPSE.txt`` |
|
27 |
|
|
28 |
|
|
29 |
Contents |
|
30 |
========== |
|
31 |
|
|
32 |
org.gvsig.educa.thematicmap.app.viewer |
|
33 |
------------------------------------------ |
|
34 |
|
|
35 |
Add-on which allows gvSIG to intall and view Thematic Map. |
|
36 |
|
|
37 |
org.gvsig.educa.thematicmap.app.editor |
|
38 |
------------------------------------------ |
|
39 |
|
|
40 |
Add-on which allows gvSIG to create, update, package Thematic Map. Requires `org.gvsig.educa.thematicmap.app.viewer`_ |
|
41 |
|
|
42 |
pom.xml |
|
43 |
--------- |
|
44 |
|
|
45 |
Maven project definition file |
|
46 |
|
|
47 |
prepare-workspace.xml and README-ECLIPSE.txt |
|
48 |
----------------------------------------------- |
|
49 |
|
|
50 |
Instructions and utilities to work with eclipse |
|
51 |
|
|
52 |
README.rst |
|
53 |
-------------- |
|
54 |
|
|
55 |
This file (in reStructureText format, for more info this format look at `gvSIG portal <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/guia-para-documentar/el-formato-restructuredtext>`_ or at `docUtils reference <http://docutils.sourceforge.net/rst.html>`_) |
|
56 |
|
|
57 |
testing |
|
58 |
----------- |
|
59 |
|
|
60 |
Contains the test plans definition and all resources to perform functionally test of all add-ons. |
|
61 |
|
|
62 |
Compilation |
|
63 |
================ |
|
64 |
|
|
65 |
Prepare maven ``gvsig-install`` profile |
|
66 |
----------------------------------------- |
|
67 |
|
|
68 |
Add-on projets are configured to deploy itself into a gvSIG installation. This must configured using *maven profiles* by setting the gvSIG installation y the ``~/.m2/settings.xml`` file this way:: |
|
69 |
|
|
70 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|
71 |
<settings> |
|
72 |
.... |
|
73 |
.... |
|
74 |
<profiles> |
|
75 |
.... |
|
76 |
.... |
|
77 |
<profile> |
|
78 |
<id>gvsig-install</id> |
|
79 |
<activation> |
|
80 |
<activeByDefault>true</activeByDefault> |
|
81 |
</activation> |
|
82 |
<properties> |
|
83 |
<gvsig.install.dir>/home/user/gvSIG_2.0</gvsig.install.dir> |
|
84 |
</properties> |
|
85 |
</profile> |
|
86 |
.... |
|
87 |
.... |
|
88 |
</profiles> |
|
89 |
.... |
|
90 |
.... |
|
91 |
<settings> |
|
92 |
|
|
93 |
|
|
94 |
From shell |
|
95 |
------------ |
|
96 |
|
|
97 |
Execute this command:: |
|
98 |
|
|
99 |
org.gvsig.educa.thematicmap.app$ mvn clean install |
|
100 |
|
|
101 |
|
|
102 |
From eclipse |
|
103 |
-------------- |
|
104 |
|
|
105 |
See `work in a proyect of the developer guide at gvSIG.org <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/gvsig-devel-guide/2.0.0/trabajar-con-un-proyecto>`_ |
|
106 |
|
|
107 |
|
|
108 |
Packing |
|
109 |
======== |
|
110 |
|
|
111 |
This plug-in use the standard gvSIG packing process. |
|
112 |
|
|
113 |
Generate gvSIG add-on installer files from shell |
|
114 |
-------------------------------------------------- |
|
115 |
|
|
116 |
To generate the ``.gvspkg`` and ``.gvspki`` files just add the ``create-installer`` profile to compilation command:: |
|
117 |
|
|
118 |
org.gvsig.educa.thematicmap.app.*$ mvn -P create-installer clean install |
|
119 |
|
|
120 |
Files will be generated in ``${gvsig.install.dir}/build/product/install/pool/`` folder. You can see effective path in maven output:: |
|
121 |
|
|
122 |
... |
|
123 |
... |
|
124 |
[INFO] Generating a PackageIndex for the plugin: org.gvsig.educa.thematicmap.app.editor with the following information: |
|
125 |
[INFO] gvSIG Plugin's folder: /home/[...]/v2_0_0_prep/build/product/gvSIG/extensiones |
|
126 |
[INFO] Package |
|
127 |
|
|
128 |
Generate gvSIG add-on installer files from eclipse |
|
129 |
---------------------------------------------------- |
|
130 |
|
|
131 |
To generate the ``.gvspkg`` and ``.gvspki`` files just use the parepared external tools configuration ``maven create installed``. |
|
132 |
|
|
133 |
Files will be generated in ``${gvsig.install.dir}/build/product/install/pool/`` folder. You can see effective path in maven output:: |
|
134 |
|
|
135 |
... |
|
136 |
... |
|
137 |
[INFO] Generating a PackageIndex for the plugin: org.gvsig.educa.thematicmap.app.editor with the following information: |
|
138 |
[INFO] gvSIG Plugin's folder: /home/[...]/v2_0_0_prep/build/product/gvSIG/extensiones |
|
139 |
[INFO] Package |
|
140 |
|
|
141 |
|
|
142 |
Version |
|
143 |
--------------- |
|
144 |
|
|
145 |
To changes version number just set in in ``project/version`` tag of *pom.xml* in this folder. Sub-projects will inherit it. |
|
146 |
|
|
147 |
Version polity is the standard in project. Changes in version number: |
|
148 |
|
|
149 |
* third number: Bug fixes and minors improvements. API must have no changes from previous version. |
|
150 |
* second number: Bug fixes and mayor improvements. API can have minor changes. Previously deprecated classes could be removed. No architectural changes. |
|
151 |
* first number: Mayor changes. |
|
152 |
|
|
153 |
Create a tag |
|
154 |
------------------ |
|
155 |
|
|
156 |
TODO: use *maven release* plugin |
|
157 |
|
|
158 |
Use svn copy command to copy version in server. Process could be like this: |
|
159 |
|
|
160 |
#. Check that there ins no changes in workspace:: |
|
161 |
|
|
162 |
svn status |
|
163 |
|
|
164 |
#. Update *pom.xml* to set version of tag (usually removing *-SNAPSHOT*) |
|
165 |
#. create tag folder on server:: |
|
166 |
|
|
167 |
svn mkdir -m "Create {version} tag folder" https://devel.gvsig.org/svn/gvsig-educa/org.gvsig.educa.thematicmap.app/tag/{version} |
|
168 |
|
|
169 |
#. Copy current workcopy to tag folder:: |
|
170 |
|
|
171 |
svn copy -m "Create {version} tag" * https://devel.gvsig.org/svn/gvsig-educa/org.gvsig.educa.thematicmap.app/tag/{version} |
|
172 |
|
|
173 |
#. Update *pom.xml* to next version |
|
174 |
#. Commit *pom.xml* changes:: |
|
175 |
|
|
176 |
svn commit -m "Set new version {version}-SNAPSHOT" pom.xml |
|
177 |
|
|
178 |
|
|
179 |
i18n |
|
180 |
====== |
|
181 |
|
|
182 |
The files for internationalization can be found in this folders: |
|
183 |
|
|
184 |
+ *org.gvsig.educa.thematicmap.swing/org.gvsig.educa.thematicmap.swing.impl/src/main/resources/org/gvsig/educa/thematicmap/swing/impl/i18n* |
|
185 |
+ *org.gvsig.educa.thematicmap.lib/org.gvsig.educa.thematicmap.lib.impl/src/main/resources/org/gvsig/educa/thematicmap/impl/i18n* |
|
186 |
|
|
187 |
The internationalization of this application is based on standard java resource bundle mechanism. So, to add a new language just add the file with the language code to every related folder. |
|
188 |
|
|
189 |
|
org.gvsig.educa.thematicmap.app/trunk/org.gvsig.educa.thematicmap.app/testing/README.txt | ||
---|---|---|
1 |
=============== |
|
2 |
gvSIG Educa |
|
3 |
=============== |
|
4 |
|
|
5 |
--------------------- |
|
6 |
Thematic Map add-ons |
|
7 |
--------------------- |
|
8 |
|
|
9 |
Description |
|
10 |
============== |
|
11 |
|
|
12 |
This folder contains the test plan sources of the functionality. |
|
13 |
|
|
14 |
Requirements |
|
15 |
============== |
|
16 |
|
|
17 |
* Maven 2.6 or higher |
|
18 |
|
|
19 |
* Java JDK 1.5 or higher |
|
20 |
|
|
21 |
* gvSIG 2.0 (Build number 2043 or higher) installed |
|
22 |
|
|
23 |
* FreeMind |
|
24 |
|
|
25 |
Contents |
|
26 |
========== |
|
27 |
|
|
28 |
geodata |
|
29 |
--------- |
|
30 |
|
|
31 |
This folder contains de geographic data used to test application. This is part of free-to-use data provided by gvSIG project for test propourses. |
|
32 |
|
|
33 |
Source data could be found in http://downloads.gvsig.org/download/geodata/ |
|
34 |
|
|
35 |
org.gvsig.educa.thematicmap.mm |
|
36 |
------------------------------------------ |
|
37 |
|
|
38 |
FreeMind file which contains the instructions to test the functionality. |
|
39 |
|
|
40 |
resources |
|
41 |
------------ |
|
42 |
|
|
43 |
Folder with resources used in test plan. |
|
44 |
|
|
45 |
prepare-to-upload.sh |
|
46 |
----------------------- |
|
47 |
|
|
48 |
Scripts to prepare source files to send to gvSIG project for a release. |
|
49 |
|
|
50 |
Creates a *target* folder which containst the required structure and folders to send. |
|
51 |
|
|
52 |
|
|
53 |
|
org.gvsig.educa.thematicmap/trunk/org.gvsig.educa.thematicmap/README.rst | ||
---|---|---|
1 |
=============== |
|
2 |
gvSIG Educa |
|
3 |
=============== |
|
4 |
|
|
5 |
--------------------- |
|
6 |
Thematic Map |
|
7 |
--------------------- |
|
8 |
|
|
9 |
Description |
|
10 |
============== |
|
11 |
|
|
12 |
This folder contains the sources of the Thematic Map functionality. |
|
13 |
|
|
14 |
Requirements |
|
15 |
============== |
|
16 |
|
|
17 |
* Maven 2.6 or higher |
|
18 |
|
|
19 |
* Java JDK 1.5 or higher |
|
20 |
|
|
21 |
For eclipse |
|
22 |
------------- |
|
23 |
|
|
24 |
See `developer guide at gvSIG.org <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/gvsig-devel-guide/2.0.0/>`_ and the file ``REAME-ECLIPSE.txt`` |
|
25 |
|
|
26 |
|
|
27 |
Contents |
|
28 |
========== |
|
29 |
|
|
30 |
org.gvsig.educa.thematicmap.lib |
|
31 |
--------------------------------- |
|
32 |
|
|
33 |
Functionality sources. This project just contain the main process and the logic without any dependency with User Interface. |
|
34 |
|
|
35 |
org.gvsig.educa.thematicmap.swing |
|
36 |
------------------------------------- |
|
37 |
|
|
38 |
User Interface components to access a manage the application services. |
|
39 |
|
|
40 |
org.gvsig.educa.thematicmap.main |
|
41 |
----------------------------------- |
|
42 |
|
|
43 |
Little test application which allow run the main functionality of application. |
|
44 |
|
|
45 |
See `Execute little test application`_ to know how run it. |
|
46 |
|
|
47 |
pom.xml |
|
48 |
--------- |
|
49 |
|
|
50 |
Maven project definition file |
|
51 |
|
|
52 |
prepare-workspace.xml and README-ECLIPSE.txt |
|
53 |
----------------------------------------------- |
|
54 |
|
|
55 |
Instructions and utilities to work with eclipse |
|
56 |
|
|
57 |
README.rst |
|
58 |
-------------- |
|
59 |
|
|
60 |
This file (in reStructureText format, for more info this format look at `gvSIG portal <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/guia-para-documentar/el-formato-restructuredtext>`_ or at `docUtils reference <http://docutils.sourceforge.net/rst.html>`_) |
|
61 |
|
|
62 |
|
|
63 |
Compilation |
|
64 |
================ |
|
65 |
|
|
66 |
From shell |
|
67 |
------------ |
|
68 |
|
|
69 |
Execute this command:: |
|
70 |
|
|
71 |
org.gvsig.educa.thematicmap$ mvn clean install |
|
72 |
|
|
73 |
|
|
74 |
From eclipse |
|
75 |
-------------- |
|
76 |
|
|
77 |
See `work in a proyect of the developer guide at gvSIG.org <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/gvsig-devel-guide/2.0.0/trabajar-con-un-proyecto>`_ |
|
78 |
|
|
79 |
Execute little test application |
|
80 |
================================= |
|
81 |
|
|
82 |
From shell |
|
83 |
------------ |
|
84 |
|
|
85 |
After compile the application, execute this command:: |
|
86 |
|
|
87 |
org.gvsig.educa.thematicmap$ cd org.gvsig.educa.thematicmap.main |
|
88 |
org.gvsig.educa.thematicmap/org.gvsig.educa.thematicmap.main$ mvn exec:java |
|
89 |
|
org.gvsig.educa.thematicmap/trunk/org.gvsig.educa.thematicmap/README.txt | ||
---|---|---|
1 |
=============== |
|
2 |
gvSIG Educa |
|
3 |
=============== |
|
4 |
|
|
5 |
--------------------- |
|
6 |
Thematic Map |
|
7 |
--------------------- |
|
8 |
|
|
9 |
Description |
|
10 |
============== |
|
11 |
|
|
12 |
This folder contains the sources of the Thematic Map functionality. |
|
13 |
|
|
14 |
Requirements |
|
15 |
============== |
|
16 |
|
|
17 |
* Maven 2.6 or higher |
|
18 |
|
|
19 |
* Java JDK 1.5 or higher |
|
20 |
|
|
21 |
For eclipse |
|
22 |
------------- |
|
23 |
|
|
24 |
See `developer guide at gvSIG.org <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/gvsig-devel-guide/2.0.0/>`_ and the file ``REAME-ECLIPSE.txt`` |
|
25 |
|
|
26 |
|
|
27 |
Contents |
|
28 |
========== |
|
29 |
|
|
30 |
org.gvsig.educa.thematicmap.lib |
|
31 |
--------------------------------- |
|
32 |
|
|
33 |
Functionality sources. This project just contain the main process and the logic without any dependency with User Interface. |
|
34 |
|
|
35 |
org.gvsig.educa.thematicmap.swing |
|
36 |
------------------------------------- |
|
37 |
|
|
38 |
User Interface components to access a manage the application services. |
|
39 |
|
|
40 |
org.gvsig.educa.thematicmap.main |
|
41 |
----------------------------------- |
|
42 |
|
|
43 |
Little test application which allow run the main functionality of application. |
|
44 |
|
|
45 |
See `Execute little test application`_ to know how run it. |
|
46 |
|
|
47 |
pom.xml |
|
48 |
--------- |
|
49 |
|
|
50 |
Maven project definition file |
|
51 |
|
|
52 |
prepare-workspace.xml and README-ECLIPSE.txt |
|
53 |
----------------------------------------------- |
|
54 |
|
|
55 |
Instructions and utilities to work with eclipse |
|
56 |
|
|
57 |
README.rst |
|
58 |
-------------- |
|
59 |
|
|
60 |
This file (in reStructureText format, for more info this format look at `gvSIG portal <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/guia-para-documentar/el-formato-restructuredtext>`_ or at `docUtils reference <http://docutils.sourceforge.net/rst.html>`_) |
|
61 |
|
|
62 |
|
|
63 |
Compilation |
|
64 |
================ |
|
65 |
|
|
66 |
From shell |
|
67 |
------------ |
|
68 |
|
|
69 |
Execute this command:: |
|
70 |
|
|
71 |
org.gvsig.educa.thematicmap$ mvn clean install |
|
72 |
|
|
73 |
|
|
74 |
From eclipse |
|
75 |
-------------- |
|
76 |
|
|
77 |
See `work in a proyect of the developer guide at gvSIG.org <https://gvsig.org/web/projects/gvsig-desktop/docs/devel/gvsig-devel-guide/2.0.0/trabajar-con-un-proyecto>`_ |
|
78 |
|
|
79 |
In some project, could be better use ``mvn eclipse:clean eclipse:eclipse`` than import project as a *Maven project*. Maven plugin of eclipse does not set classpath correctly in some project. |
|
80 |
|
|
81 |
|
|
82 |
Packing |
|
83 |
======== |
|
84 |
|
|
85 |
This functionality has no stand-alone packing process. |
|
86 |
|
|
87 |
Version |
|
88 |
--------------- |
|
89 |
|
|
90 |
To changes version number just set in in ``project/version`` tag of *pom.xml* in this folder. Sub-projects will inherit it. |
|
91 |
|
|
92 |
Version polity is the standard in project. Changes in version number: |
|
93 |
|
|
94 |
* third number: Bug fixes and minors improvements. API must have no changes from previous version. |
|
95 |
* second number: Bug fixes and mayor improvements. API can have minor changes. Previously deprecated classes could be removed. No architectural changes. |
|
96 |
* first number: Mayor changes. |
|
97 |
|
|
98 |
Create a tag |
|
99 |
------------------ |
|
100 |
|
|
101 |
TODO: use *maven release* plugin |
|
102 |
|
|
103 |
Use svn copy command to copy version in server. Process could be like this: |
|
104 |
|
|
105 |
#. Check that there ins no changes in workspace:: |
|
106 |
|
|
107 |
svn status |
|
108 |
|
|
109 |
#. Update *pom.xml* to set version of tag (usually removing *-SNAPSHOT*) |
|
110 |
#. create tag folder on server:: |
|
111 |
|
|
112 |
svn mkdir -m "Create {version} tag folder" https://devel.gvsig.org/svn/gvsig-educa/org.gvsig.educa.thematicmap/tag/{version} |
|
113 |
|
|
114 |
#. Copy current workcopy to tag folder:: |
|
115 |
|
|
116 |
svn copy -m "Create {version} tag" * https://devel.gvsig.org/svn/gvsig-educa/org.gvsig.educa.thematicmap/tag/{version} |
|
117 |
|
|
118 |
#. Update *pom.xml* to next version |
|
119 |
#. Commit *pom.xml* changes:: |
|
120 |
|
|
121 |
svn commit -m "Set new version {version}-SNAPSHOT" pom.xml |
|
122 |
|
|
123 |
|
|
124 |
i18n |
|
125 |
====== |
|
126 |
|
|
127 |
The files for internationalization can be found in this folders: |
|
128 |
|
|
129 |
+ *org.gvsig.educa.thematicmap.app.viewer/src/main/resources* |
|
130 |
+ *org.gvsig.educa.thematicmap.app.editor/src/main/resources* |
|
131 |
|
|
132 |
The internationalization of this application is based on standard java resource bundle mechanism. So, to add a new language just add the file with the language code to every related folder. |
|
133 |
|
|
134 |
Execute little test application |
|
135 |
================================= |
|
136 |
|
|
137 |
From shell |
|
138 |
------------ |
|
139 |
|
|
140 |
After compile the application, execute this command:: |
|
141 |
|
|
142 |
org.gvsig.educa.thematicmap$ cd org.gvsig.educa.thematicmap.main |
|
143 |
org.gvsig.educa.thematicmap/org.gvsig.educa.thematicmap.main$ mvn exec:java |
|
144 |
|
|
145 |
Form eclipse |
|
146 |
------------------ |
|
147 |
|
|
148 |
Select ``org.gvsig.educa.thematicmap.main`` project in *Project tree* using *Java perspective*, click with right mouse button and select ``Run as.../Java application``. Select ``Main`` class for project. |
|
149 |
|
Also available in: Unified diff