gvsig-raster / org.gvsig.raster.tools / trunk / templates / rasterTaskProjectTemplate / README.txt @ 1927
History | View | Annotate | Download (1.5 KB)
1 |
Raster project template |
---|---|
2 |
----------------------- |
3 |
Version: 2.0.0 |
4 |
Author: Nacho Brodin (nachobrodin@gmail.com) |
5 |
gvSIG version needed 2.1.0 |
6 |
|
7 |
This folder contains Ant scripts to create projects for raster |
8 |
Now it is possible to build two types of projects |
9 |
|
10 |
1-Basic tasks for raster. Basic structure to create a raster process |
11 |
2-Tasks with preview for raster. This kind of projects generates a dialog with a preview and a launcher. |
12 |
|
13 |
The project which will be created is a maven multimodule. In both cases (1 and 2) will have the next structure: |
14 |
- A library for general purposes (with API and implementation) |
15 |
- A Swing library for the GUI (with API and implementation) |
16 |
- A library for the algorithm. This library lacks of API because the algorithms will be registered. |
17 |
- The plugin for gvSIG |
18 |
- Optionally, a library with the Sextante process |
19 |
|
20 |
Ant commands to build the structure |
21 |
|
22 |
Basic task: ant -Dproject="myprojectname" -Dtoken="MyProjectName" |
23 |
Task with preview: ant -Dproject="myprojectname" -Dtoken="MyProjectName" preview |
24 |
|
25 |
In both cases, if you need a library to build the Sextante process you can add the parameter -Dsextantelib=true |
26 |
|
27 |
Basic task: ant -Dproject="myprojectname" -Dtoken="MyProjectName" -Dsextantelib=true |
28 |
Task with preview: ant -Dproject="myprojectname" -Dtoken="MyProjectName" -Dsextantelib=true preview |
29 |
|
30 |
After execute the command, inside the current directory will be created a maven project named org.gvsig.raster.<myprojectname> compiled and ready to be imported in Eclipse. The rest of work is in your hands. |
31 |
|