Revision 1928

View differences:

org.gvsig.raster.tools/trunk/templates/rasterTaskProjectTemplate/README.txt
9 9

  
10 10
1-Basic tasks for raster. Basic structure to create a raster process
11 11
2-Tasks with preview for raster. This kind of projects generates a dialog with a preview and a launcher.
12
3-Project structure to build providers. 
12 13

  
13
The project which will be created is a maven multimodule. In both cases (1 and 2)  will have the next structure:
14
The project created is a maven multimodule. In the cases (1 and 2)  will have the next structure:
14 15
	- A library for general purposes (with API and implementation)
15 16
	- A Swing library for the GUI (with API and implementation)
16 17
	- A library for the algorithm. This library lacks of API because the algorithms will be registered. 
17 18
	- The plugin for gvSIG
18 19
	- Optionally, a library with the Sextante process
19 20
	
21
In the third case will have the next structure:
22
	- A library for the provider 
23
	- A plugin for gvSIG
24
	
20 25
Ant commands to build the structure
21 26

  
22 27
Basic task: ant -Dproject="myprojectname" -Dtoken="MyProjectName"
23 28
Task with preview: ant -Dproject="myprojectname" -Dtoken="MyProjectName" preview
29
Provider: ant -Dproject="myprojectname" -Dtoken="MyProjectName" provider
24 30

  
25
In both cases, if you need a library to build the Sextante process you can add the parameter -Dsextantelib=true
31
If you need a library to build the Sextante process, you can add the parameter -Dsextantelib=true
26 32

  
27 33
Basic task: ant -Dproject="myprojectname" -Dtoken="MyProjectName" -Dsextantelib=true
28 34
Task with preview: ant -Dproject="myprojectname" -Dtoken="MyProjectName" -Dsextantelib=true preview

Also available in: Unified diff