Statistics
| Revision:

root / org.gvsig.educa.batovi / trunk / org.gvsig.educa.batovi.mapviewer / org.gvsig.educa.batovi.mapviewer.activity / README.rst @ 122

History | View | Annotate | Download (1.73 KB)

1
===============
2
gvSIG Educa
3
===============
4

    
5
-------------------------------------------------
6
Map Viewer application activity
7
-------------------------------------------------
8

    
9
Description
10
==============
11

    
12
This file contensts information to generate the Map Viewer activity 
13

    
14
Requirements
15
==============
16

    
17
* *bash shell intempreter*
18
* Application *MapViewer* compiled
19

    
20
Generate distribution package
21
==============================
22

    
23
This section explains how to generate the package (the ``.xo`` file).
24

    
25
Compile application
26
----------------------
27

    
28
Compile the application. For more information read *../org.gvsig.educa.batovi.mapviewer/README.txt* file.
29

    
30
Clean previous executions
31
----------------------------
32

    
33
Before start clean the work folder of previous generating process (if any). Just remove ``target`` folder or execute the ``clean.sh`` script::
34

    
35
   bash$ ./clean.sh
36

    
37

    
38
Prepare bundle
39
----------------
40

    
41
In this step we going to prepare a temporal folder where the package contents will be copied. To do it execute ``prepare-bundle.sh`` script which allows this parameters:
42

    
43
* ``-v {pkgVersion}``: *[mandatory][integer]* Version for the target *Activity* package.
44
* ``-t``: *[optional]* Include installed Thematic Maps
45

    
46
An example of this command could be::
47

    
48
   bash$ ./prepare-bundle.sh -v 3
49

    
50
This command generates a ``target`` folder with contents of bundle. You can make any change on it at this point in order of include extra content.
51

    
52
The ``-t`` includes all Thematic Map installed in gvSIG user folder (located in *~/gvSIG/plugins/org.gvsig.educa.thematicmap.app.viewer* folder).
53

    
54
Generate bundle
55
-----------------
56

    
57
In this step the final ``.xo`` activity bundle is generate. Just execute the script ``generate-bundle.sh``::
58

    
59
   bash$ ./generate-bundle.sh
60