Revision 2054
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/buildNumber.properties | ||
---|---|---|
1 |
#maven.buildNumber.plugin properties file |
|
2 |
#Wed May 15 12:23:54 CEST 2013 |
|
3 |
buildNumber=43 |
|
0 | 4 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/src/main/assembly/gvsig-plugin-package-win.xml | ||
---|---|---|
1 |
<assembly> |
|
2 |
<id>gvsig-plugin-package</id> |
|
3 |
<formats> |
|
4 |
<format>zip</format> |
|
5 |
</formats> |
|
6 |
<baseDirectory>${project.artifactId}</baseDirectory> |
|
7 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
8 |
<files> |
|
9 |
<file> |
|
10 |
<source>target/package.info</source> |
|
11 |
</file> |
|
12 |
<file> |
|
13 |
<source>target/${project.artifactId}-${project.version}.jar</source> |
|
14 |
<outputDirectory>lib</outputDirectory> |
|
15 |
</file> |
|
16 |
<file> |
|
17 |
<source>target/package.info</source> |
|
18 |
</file> |
|
19 |
<file> |
|
20 |
<source>${user.home}/.depman/bin/jgdal2.0.4.dll</source> |
|
21 |
<outputDirectory>install/files</outputDirectory> |
|
22 |
</file> |
|
23 |
<file> |
|
24 |
<source>${user.home}/.depman/bin/gdal18.dll</source> |
|
25 |
<outputDirectory>install/files</outputDirectory> |
|
26 |
</file> |
|
27 |
<file> |
|
28 |
<source>${user.home}/.depman/bin/gdal18.dll.manifest</source> |
|
29 |
<outputDirectory>install/files</outputDirectory> |
|
30 |
</file> |
|
31 |
<file> |
|
32 |
<source>${user.home}/.depman/bin/Microsoft.VC80.CRT.manifest</source> |
|
33 |
<outputDirectory>install/files</outputDirectory> |
|
34 |
</file> |
|
35 |
<file> |
|
36 |
<source>${user.home}/.depman/bin/msvcr80.dll</source> |
|
37 |
<outputDirectory>install/files</outputDirectory> |
|
38 |
</file> |
|
39 |
<file> |
|
40 |
<source>${user.home}/.depman/bin/msvcr71.dll</source> |
|
41 |
<outputDirectory>install/files</outputDirectory> |
|
42 |
</file> |
|
43 |
<file> |
|
44 |
<source>${user.home}/.depman/bin/msvcp80.dll</source> |
|
45 |
<outputDirectory>install/files</outputDirectory> |
|
46 |
</file> |
|
47 |
<file> |
|
48 |
<source>${user.home}/.depman/bin/msvcp71.dll</source> |
|
49 |
<outputDirectory>install/files</outputDirectory> |
|
50 |
</file> |
|
51 |
<file> |
|
52 |
<source>${user.home}/.depman/bin/msvcm80.dll</source> |
|
53 |
<outputDirectory>install/files</outputDirectory> |
|
54 |
</file> |
|
55 |
<file> |
|
56 |
<source>${user.home}/.depman/bin/libeay32.dll</source> |
|
57 |
<outputDirectory>install/files</outputDirectory> |
|
58 |
</file> |
|
59 |
<file> |
|
60 |
<source>${user.home}/.depman/bin/libiconv-2.dll</source> |
|
61 |
<outputDirectory>install/files</outputDirectory> |
|
62 |
</file> |
|
63 |
<file> |
|
64 |
<source>${user.home}/.depman/bin/libintl-8.dll</source> |
|
65 |
<outputDirectory>install/files</outputDirectory> |
|
66 |
</file> |
|
67 |
<file> |
|
68 |
<source>${user.home}/.depman/bin/libpq.dll</source> |
|
69 |
<outputDirectory>install/files</outputDirectory> |
|
70 |
</file> |
|
71 |
<file> |
|
72 |
<source>${user.home}/.depman/bin/ssleay32.dll</source> |
|
73 |
<outputDirectory>install/files</outputDirectory> |
|
74 |
</file> |
|
75 |
<file> |
|
76 |
<source>${user.home}/.depman/bin/krb5_32.dll</source> |
|
77 |
<outputDirectory>install/files</outputDirectory> |
|
78 |
</file> |
|
79 |
<file> |
|
80 |
<source>${user.home}/.depman/bin/gssapi32.dll</source> |
|
81 |
<outputDirectory>install/files</outputDirectory> |
|
82 |
</file> |
|
83 |
<file> |
|
84 |
<source>${user.home}/.depman/bin/comerr32.dll</source> |
|
85 |
<outputDirectory>install/files</outputDirectory> |
|
86 |
</file> |
|
87 |
|
|
88 |
<!-- |
|
89 |
sin migrar la vectorización de momento |
|
90 |
<file> |
|
91 |
<source>${user.home}/.depman/bin/jpotrace001.dll</source> |
|
92 |
<outputDirectory>install/files</outputDirectory> |
|
93 |
</file> |
|
94 |
<file> |
|
95 |
<source>${user.home}/.depman/bin/libpotrace.dll</source> |
|
96 |
<outputDirectory>install/files</outputDirectory> |
|
97 |
</file> |
|
98 |
|
|
99 |
<file> |
|
100 |
<source>${user.home}/.depman/bin/jpeg62.dll</source> |
|
101 |
<outputDirectory>install/files</outputDirectory> |
|
102 |
</file> |
|
103 |
<file> |
|
104 |
<source>${user.home}/.depman/bin/hm422m.dll</source> |
|
105 |
<outputDirectory>install/files</outputDirectory> |
|
106 |
</file> |
|
107 |
<file> |
|
108 |
<source>${user.home}/.depman/bin/hm422m.dll</source> |
|
109 |
<outputDirectory>install/files</outputDirectory> |
|
110 |
</file> |
|
111 |
<file> |
|
112 |
<source>${user.home}/.depman/bin/hdf5dll.dll</source> |
|
113 |
<outputDirectory>install/files</outputDirectory> |
|
114 |
</file> |
|
115 |
<file> |
|
116 |
<source>${user.home}/.depman/bin/hd422m.dll</source> |
|
117 |
<outputDirectory>install/files</outputDirectory> |
|
118 |
</file> |
|
119 |
<file> |
|
120 |
<source>${user.home}/.depman/bin/glut32.dll</source> |
|
121 |
<outputDirectory>install/files</outputDirectory> |
|
122 |
</file>--> |
|
123 |
</files> |
|
124 |
|
|
125 |
<fileSets> |
|
126 |
<fileSet> |
|
127 |
<directory>src/main/resources-plugin</directory> |
|
128 |
<outputDirectory>.</outputDirectory> |
|
129 |
</fileSet> |
|
130 |
<fileSet> |
|
131 |
<directory>${user.home}/.depman/data/gdal</directory> |
|
132 |
<outputDirectory>install/files/data/gdal</outputDirectory> |
|
133 |
</fileSet> |
|
134 |
</fileSets> |
|
135 |
|
|
136 |
|
|
137 |
<dependencySets> |
|
138 |
<dependencySet> |
|
139 |
<useProjectArtifact>false</useProjectArtifact> |
|
140 |
<useTransitiveDependencies>false</useTransitiveDependencies> |
|
141 |
<outputDirectory>lib</outputDirectory> |
|
142 |
<includes> |
|
143 |
<include>org.gvsig:org.gvsig.raster.gdal.app:jar</include> |
|
144 |
<include>org.gvsig:org.gvsig.raster.gdal.io:jar</include> |
|
145 |
<include>org.gvsig:org.gvsig.jgdal:jar</include> |
|
146 |
</includes> |
|
147 |
</dependencySet> |
|
148 |
</dependencySets> |
|
149 |
</assembly> |
|
0 | 150 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/src/main/assembly/gvsig-plugin-package-fedora11.xml | ||
---|---|---|
1 |
<assembly> |
|
2 |
<id>gvsig-plugin-package</id> |
|
3 |
<formats> |
|
4 |
<format>zip</format> |
|
5 |
</formats> |
|
6 |
<baseDirectory>${project.artifactId}</baseDirectory> |
|
7 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
8 |
<files> |
|
9 |
<file> |
|
10 |
<source>target/${project.artifactId}-${project.version}.jar</source> |
|
11 |
<outputDirectory>lib</outputDirectory> |
|
12 |
</file> |
|
13 |
<file> |
|
14 |
<source>target/package.info</source> |
|
15 |
</file> |
|
16 |
<file> |
|
17 |
<source>${user.home}/.depman/lib/libxerces-c.so.28</source> |
|
18 |
<outputDirectory>install/files/native</outputDirectory> |
|
19 |
</file> |
|
20 |
<file> |
|
21 |
<source>${user.home}/.depman/lib/libsqlite3.so.0</source> |
|
22 |
<outputDirectory>install/files/native</outputDirectory> |
|
23 |
</file> |
|
24 |
<file> |
|
25 |
<source>${user.home}/.depman/lib/libproj.so.0</source> |
|
26 |
<outputDirectory>install/files/native</outputDirectory> |
|
27 |
</file> |
|
28 |
<file> |
|
29 |
<source>${user.home}/.depman/lib/libpq.so.5</source> |
|
30 |
<outputDirectory>install/files/native</outputDirectory> |
|
31 |
</file> |
|
32 |
<file> |
|
33 |
<source>${user.home}/.depman/lib/libogdi.so.3</source> |
|
34 |
<outputDirectory>install/files/native</outputDirectory> |
|
35 |
</file> |
|
36 |
<file> |
|
37 |
<source>${user.home}/.depman/lib/libodbcinst.so.2</source> |
|
38 |
<outputDirectory>install/files/native</outputDirectory> |
|
39 |
</file> |
|
40 |
<file> |
|
41 |
<source>${user.home}/.depman/lib/libodbc.so.2</source> |
|
42 |
<outputDirectory>install/files/native</outputDirectory> |
|
43 |
</file> |
|
44 |
<file> |
|
45 |
<source>${user.home}/.depman/lib/libnetcdf.so.4</source> |
|
46 |
<outputDirectory>install/files/native</outputDirectory> |
|
47 |
</file> |
|
48 |
<file> |
|
49 |
<source>${user.home}/.depman/lib/libmysqlclient.so.16</source> |
|
50 |
<outputDirectory>install/files/native</outputDirectory> |
|
51 |
</file> |
|
52 |
<file> |
|
53 |
<source>${user.home}/.depman/lib/libjgdal2.0.4.so</source> |
|
54 |
<outputDirectory>install/files/native</outputDirectory> |
|
55 |
</file> |
|
56 |
<file> |
|
57 |
<source>${user.home}/.depman/lib/libhdf5.so.6</source> |
|
58 |
<outputDirectory>install/files/native</outputDirectory> |
|
59 |
</file> |
|
60 |
<file> |
|
61 |
<source>${user.home}/.depman/lib/libgeos_c.so.1</source> |
|
62 |
<outputDirectory>install/files/native</outputDirectory> |
|
63 |
</file> |
|
64 |
<file> |
|
65 |
<source>${user.home}/.depman/lib/libgeos-3.0.3.so</source> |
|
66 |
<outputDirectory>install/files/native</outputDirectory> |
|
67 |
</file> |
|
68 |
<file> |
|
69 |
<!-- Acordarse de actualizar el install.xml cuando se cambie esto. --> |
|
70 |
<source>${user.home}/.depman/lib/libgdal.so.1.13.0</source> |
|
71 |
<outputDirectory>install/files/native</outputDirectory> |
|
72 |
</file> |
|
73 |
<file> |
|
74 |
<source>${user.home}/.depman/lib/libblas.so.3</source> |
|
75 |
<outputDirectory>install/files/native</outputDirectory> |
|
76 |
</file> |
|
77 |
<file> |
|
78 |
<source>${user.home}/.depman/lib/libcfitsio.so.0</source> |
|
79 |
<outputDirectory>install/files/native</outputDirectory> |
|
80 |
</file> |
|
81 |
<file> |
|
82 |
<source>${user.home}/.depman/lib/libcurl.so.4</source> |
|
83 |
<outputDirectory>install/files/native</outputDirectory> |
|
84 |
</file> |
|
85 |
<file> |
|
86 |
<source>${user.home}/.depman/lib/libdapclient.so.3</source> |
|
87 |
<outputDirectory>install/files/native</outputDirectory> |
|
88 |
</file> |
|
89 |
<file> |
|
90 |
<source>${user.home}/.depman/lib/libdapserver.so.6</source> |
|
91 |
<outputDirectory>install/files/native</outputDirectory> |
|
92 |
</file> |
|
93 |
<file> |
|
94 |
<source>${user.home}/.depman/lib/libdap.so.9</source> |
|
95 |
<outputDirectory>install/files/native</outputDirectory> |
|
96 |
</file> |
|
97 |
<file> |
|
98 |
<source>${user.home}/.depman/lib/libfftw.so.2</source> |
|
99 |
<outputDirectory>install/files/native</outputDirectory> |
|
100 |
</file> |
|
101 |
<file> |
|
102 |
<source>${user.home}/.depman/lib/libgeotiff.so.1.2</source> |
|
103 |
<outputDirectory>install/files/native</outputDirectory> |
|
104 |
</file> |
|
105 |
|
|
106 |
<file> |
|
107 |
<source>${user.home}/.depman/lib/libgrass_datetime.so.6.3</source> |
|
108 |
<outputDirectory>install/files/native</outputDirectory> |
|
109 |
</file> |
|
110 |
<file> |
|
111 |
<source>${user.home}/.depman/lib/libgrass_dbmibase.so.6.3</source> |
|
112 |
<outputDirectory>install/files/native</outputDirectory> |
|
113 |
</file> |
|
114 |
<file> |
|
115 |
<source>${user.home}/.depman/lib/libgrass_dbmiclient.so.6.3</source> |
|
116 |
<outputDirectory>install/files/native</outputDirectory> |
|
117 |
</file> |
|
118 |
<file> |
|
119 |
<source>${user.home}/.depman/lib/libgrass_dgl.so.6.3</source> |
|
120 |
<outputDirectory>install/files/native</outputDirectory> |
|
121 |
</file> |
|
122 |
<file> |
|
123 |
<source>${user.home}/.depman/lib/libgrass_dig2.so.6.3</source> |
|
124 |
<outputDirectory>install/files/native</outputDirectory> |
|
125 |
</file> |
|
126 |
<file> |
|
127 |
<source>${user.home}/.depman/lib/libgrass_gis.so.6.3</source> |
|
128 |
<outputDirectory>install/files/native</outputDirectory> |
|
129 |
</file> |
|
130 |
<file> |
|
131 |
<source>${user.home}/.depman/lib/libgrass_gmath.so.6.3</source> |
|
132 |
<outputDirectory>install/files/native</outputDirectory> |
|
133 |
</file> |
|
134 |
<file> |
|
135 |
<source>${user.home}/.depman/lib/libgrass_gproj.so.6.3</source> |
|
136 |
<outputDirectory>install/files/native</outputDirectory> |
|
137 |
</file> |
|
138 |
<file> |
|
139 |
<source>${user.home}/.depman/lib/libgrass_I.so.6.3</source> |
|
140 |
<outputDirectory>install/files/native</outputDirectory> |
|
141 |
</file> |
|
142 |
<file> |
|
143 |
<source>${user.home}/.depman/lib/libgrass_linkm.so.6.3</source> |
|
144 |
<outputDirectory>install/files/native</outputDirectory> |
|
145 |
</file> |
|
146 |
<file> |
|
147 |
<source>${user.home}/.depman/lib/libgrass_rtree.so.6.3</source> |
|
148 |
<outputDirectory>install/files/native</outputDirectory> |
|
149 |
</file> |
|
150 |
<file> |
|
151 |
<source>${user.home}/.depman/lib/libgrass_vask.so.6.3</source> |
|
152 |
<outputDirectory>install/files/native</outputDirectory> |
|
153 |
</file> |
|
154 |
<file> |
|
155 |
<source>${user.home}/.depman/lib/libgrass_vect.so.6.3</source> |
|
156 |
<outputDirectory>install/files/native</outputDirectory> |
|
157 |
</file> |
|
158 |
|
|
159 |
<file> |
|
160 |
<source>${user.home}/.depman/lib/librx.so.0</source> |
|
161 |
<outputDirectory>install/files/native</outputDirectory> |
|
162 |
</file> |
|
163 |
<file> |
|
164 |
<source>${user.home}/.depman/lib/libtiff.so.3</source> |
|
165 |
<outputDirectory>install/files/native</outputDirectory> |
|
166 |
</file> |
|
167 |
</files> |
|
168 |
|
|
169 |
<fileSets> |
|
170 |
<fileSet> |
|
171 |
<directory>src/main/resources-plugin</directory> |
|
172 |
<outputDirectory>.</outputDirectory> |
|
173 |
</fileSet> |
|
174 |
<fileSet> |
|
175 |
<directory>${user.home}/.depman/data/gdal</directory> |
|
176 |
<outputDirectory>install/files/data/gdal</outputDirectory> |
|
177 |
</fileSet> |
|
178 |
</fileSets> |
|
179 |
|
|
180 |
|
|
181 |
<dependencySets> |
|
182 |
<dependencySet> |
|
183 |
<useProjectArtifact>false</useProjectArtifact> |
|
184 |
<useTransitiveDependencies>false</useTransitiveDependencies> |
|
185 |
<outputDirectory>lib</outputDirectory> |
|
186 |
<includes> |
|
187 |
<include>org.gvsig:org.gvsig.raster.gdal.app:jar</include> |
|
188 |
<include>org.gvsig:org.gvsig.raster.gdal.io:jar</include> |
|
189 |
<include>org.gvsig:org.gvsig.jgdal:jar</include> |
|
190 |
</includes> |
|
191 |
</dependencySet> |
|
192 |
</dependencySets> |
|
193 |
</assembly> |
|
0 | 194 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/src/main/assembly/gvsig-plugin-package-lin.xml | ||
---|---|---|
1 |
<assembly> |
|
2 |
<id>gvsig-plugin-package</id> |
|
3 |
<formats> |
|
4 |
<format>zip</format> |
|
5 |
</formats> |
|
6 |
<baseDirectory>${project.artifactId}</baseDirectory> |
|
7 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
8 |
<files> |
|
9 |
<file> |
|
10 |
<source>target/${project.artifactId}-${project.version}.jar</source> |
|
11 |
<outputDirectory>lib</outputDirectory> |
|
12 |
</file> |
|
13 |
<file> |
|
14 |
<source>target/package.info</source> |
|
15 |
</file> |
|
16 |
<file> |
|
17 |
<source>${user.home}/.depman/lib/libssl.so.0.9.8</source> |
|
18 |
<outputDirectory>install/files/native</outputDirectory> |
|
19 |
</file> |
|
20 |
<file> |
|
21 |
<source>${user.home}/.depman/lib/libcrypto.so.0.9.8</source> |
|
22 |
<outputDirectory>install/files/native</outputDirectory> |
|
23 |
</file> |
|
24 |
<file> |
|
25 |
<source>${user.home}/.depman/lib/libz.so.1</source> |
|
26 |
<outputDirectory>install/files/native</outputDirectory> |
|
27 |
</file> |
|
28 |
<file> |
|
29 |
<source>${user.home}/.depman/lib/libz.so.1</source> |
|
30 |
<outputDirectory>install/files/native</outputDirectory> |
|
31 |
</file> |
|
32 |
<file> |
|
33 |
<source>${user.home}/.depman/lib/libxerces-c.so.28</source> |
|
34 |
<outputDirectory>install/files/native</outputDirectory> |
|
35 |
</file> |
|
36 |
<file> |
|
37 |
<source>${user.home}/.depman/lib/libtasn1.so.3</source> |
|
38 |
<outputDirectory>install/files/native</outputDirectory> |
|
39 |
</file> |
|
40 |
<file> |
|
41 |
<source>${user.home}/.depman/lib/libsqlite3.so.0</source> |
|
42 |
<outputDirectory>install/files/native</outputDirectory> |
|
43 |
</file> |
|
44 |
<file> |
|
45 |
<source>${user.home}/.depman/lib/libsasl2.so.2</source> |
|
46 |
<outputDirectory>install/files/native</outputDirectory> |
|
47 |
</file> |
|
48 |
<file> |
|
49 |
<source>${user.home}/.depman/lib/libproj.so.0</source> |
|
50 |
<outputDirectory>install/files/native</outputDirectory> |
|
51 |
</file> |
|
52 |
<file> |
|
53 |
<source>${user.home}/.depman/lib/libpq.so.5</source> |
|
54 |
<outputDirectory>install/files/native</outputDirectory> |
|
55 |
</file> |
|
56 |
<file> |
|
57 |
<source>${user.home}/.depman/lib/libpng12.so.0</source> |
|
58 |
<outputDirectory>install/files/native</outputDirectory> |
|
59 |
</file> |
|
60 |
<file> |
|
61 |
<source>${user.home}/.depman/lib/libogdi.so.3.2</source> |
|
62 |
<outputDirectory>install/files/native</outputDirectory> |
|
63 |
</file> |
|
64 |
<file> |
|
65 |
<source>${user.home}/.depman/lib/libodbcinst.so.1</source> |
|
66 |
<outputDirectory>install/files/native</outputDirectory> |
|
67 |
</file> |
|
68 |
<file> |
|
69 |
<source>${user.home}/.depman/lib/libodbc.so.1</source> |
|
70 |
<outputDirectory>install/files/native</outputDirectory> |
|
71 |
</file> |
|
72 |
<file> |
|
73 |
<source>${user.home}/.depman/lib/libnetcdf.so.4</source> |
|
74 |
<outputDirectory>install/files/native</outputDirectory> |
|
75 |
</file> |
|
76 |
<file> |
|
77 |
<source>${user.home}/.depman/lib/libmysqlclient.so.16</source> |
|
78 |
<outputDirectory>install/files/native</outputDirectory> |
|
79 |
</file> |
|
80 |
<file> |
|
81 |
<source>${user.home}/.depman/lib/libmfhdfalt.so.0</source> |
|
82 |
<outputDirectory>install/files/native</outputDirectory> |
|
83 |
</file> |
|
84 |
<file> |
|
85 |
<source>${user.home}/.depman/lib/libltdl.so.7</source> |
|
86 |
<outputDirectory>install/files/native</outputDirectory> |
|
87 |
</file> |
|
88 |
<file> |
|
89 |
<source>${user.home}/.depman/lib/liblber-2.4.so.2</source> |
|
90 |
<outputDirectory>install/files/native</outputDirectory> |
|
91 |
</file> |
|
92 |
<file> |
|
93 |
<source>${user.home}/.depman/lib/libjpeg.so.62</source> |
|
94 |
<outputDirectory>install/files/native</outputDirectory> |
|
95 |
</file> |
|
96 |
<!--<file> |
|
97 |
<source>${user.home}/.depman/lib/libjgdal2.0.1.so</source> |
|
98 |
<outputDirectory>install/files/native</outputDirectory> |
|
99 |
</file>--> |
|
100 |
<file> |
|
101 |
<source>${user.home}/.depman/lib/libjgdal2.0.4.so</source> |
|
102 |
<outputDirectory>install/files/native</outputDirectory> |
|
103 |
</file> |
|
104 |
<file> |
|
105 |
<source>${user.home}/.depman/lib/libjasper.so.1</source> |
|
106 |
<outputDirectory>install/files/native</outputDirectory> |
|
107 |
</file> |
|
108 |
<file> |
|
109 |
<source>${user.home}/.depman/lib/libidn.so.11</source> |
|
110 |
<outputDirectory>install/files/native</outputDirectory> |
|
111 |
</file> |
|
112 |
<file> |
|
113 |
<source>${user.home}/.depman/lib/libicuuc.so.42</source> |
|
114 |
<outputDirectory>install/files/native</outputDirectory> |
|
115 |
</file> |
|
116 |
<file> |
|
117 |
<source>${user.home}/.depman/lib/libicudata.so.42</source> |
|
118 |
<outputDirectory>install/files/native</outputDirectory> |
|
119 |
</file> |
|
120 |
<file> |
|
121 |
<source>${user.home}/.depman/lib/libhdf5.so.6</source> |
|
122 |
<outputDirectory>install/files/native</outputDirectory> |
|
123 |
</file> |
|
124 |
<file> |
|
125 |
<source>${user.home}/.depman/lib/libgssapi_krb5.so.2</source> |
|
126 |
<outputDirectory>install/files/native</outputDirectory> |
|
127 |
</file> |
|
128 |
<file> |
|
129 |
<source>${user.home}/.depman/lib/libgpg-error.so.0</source> |
|
130 |
<outputDirectory>install/files/native</outputDirectory> |
|
131 |
</file> |
|
132 |
<file> |
|
133 |
<source>${user.home}/.depman/lib/libgnutls.so.26</source> |
|
134 |
<outputDirectory>install/files/native</outputDirectory> |
|
135 |
</file> |
|
136 |
<file> |
|
137 |
<source>${user.home}/.depman/lib/libgif.so.4</source> |
|
138 |
<outputDirectory>install/files/native</outputDirectory> |
|
139 |
</file> |
|
140 |
<file> |
|
141 |
<source>${user.home}/.depman/lib/libgeos_c.so.1</source> |
|
142 |
<outputDirectory>install/files/native</outputDirectory> |
|
143 |
</file> |
|
144 |
<file> |
|
145 |
<source>${user.home}/.depman/lib/libgeos-3.1.0.so</source> |
|
146 |
<outputDirectory>install/files/native</outputDirectory> |
|
147 |
</file> |
|
148 |
<!--<file> |
|
149 |
<source>${user.home}/.depman/lib/libgdal1.6.0.so.1.13.3</source> |
|
150 |
<outputDirectory>install/files/native</outputDirectory> |
|
151 |
</file>--> |
|
152 |
<file> |
|
153 |
<!-- Acordarse de actualizar el install.xml cuando se cambie esto. --> |
|
154 |
<source>${user.home}/.depman/lib/libgdal.so.1.15.1</source> |
|
155 |
<outputDirectory>install/files/native</outputDirectory> |
|
156 |
</file> |
|
157 |
<file> |
|
158 |
<source>${user.home}/.depman/lib/libgcrypt.so.11</source> |
|
159 |
<outputDirectory>install/files/native</outputDirectory> |
|
160 |
</file> |
|
161 |
<file> |
|
162 |
<source>${user.home}/.depman/lib/libexpat.so.1</source> |
|
163 |
<outputDirectory>install/files/native</outputDirectory> |
|
164 |
</file> |
|
165 |
<file> |
|
166 |
<source>${user.home}/.depman/lib/libdfalt.so.0</source> |
|
167 |
<outputDirectory>install/files/native</outputDirectory> |
|
168 |
</file> |
|
169 |
<file> |
|
170 |
<source>${user.home}/.depman/lib/libcurl-gnutls.so.4</source> |
|
171 |
<outputDirectory>install/files/native</outputDirectory> |
|
172 |
</file> |
|
173 |
<file> |
|
174 |
<source>${user.home}/.depman/lib/libcom_err.so.2</source> |
|
175 |
<outputDirectory>install/files/native</outputDirectory> |
|
176 |
</file> |
|
177 |
</files> |
|
178 |
|
|
179 |
<fileSets> |
|
180 |
<fileSet> |
|
181 |
<directory>src/main/resources-plugin</directory> |
|
182 |
<outputDirectory>.</outputDirectory> |
|
183 |
</fileSet> |
|
184 |
<fileSet> |
|
185 |
<directory>${user.home}/.depman/data/gdal</directory> |
|
186 |
<outputDirectory>install/files/data/gdal</outputDirectory> |
|
187 |
</fileSet> |
|
188 |
</fileSets> |
|
189 |
|
|
190 |
|
|
191 |
<dependencySets> |
|
192 |
<dependencySet> |
|
193 |
<useProjectArtifact>false</useProjectArtifact> |
|
194 |
<useTransitiveDependencies>true</useTransitiveDependencies> |
|
195 |
<outputDirectory>lib</outputDirectory> |
|
196 |
<includes> |
|
197 |
<include>org.gvsig:org.gvsig.raster.gdal.app:jar</include> |
|
198 |
<include>org.gvsig:org.gvsig.raster.gdal.io:jar</include> |
|
199 |
<include>org.gvsig:org.gvsig.jgdal:jar</include> |
|
200 |
</includes> |
|
201 |
</dependencySet> |
|
202 |
</dependencySets> |
|
203 |
</assembly> |
|
0 | 204 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/src/main/java/org/gvsig/raster/gdal/app/GdalExtension.java | ||
---|---|---|
1 |
/* gvSIG. Geographic Information System of the Valencian Government |
|
2 |
* |
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department |
|
4 |
* of the Valencian Government (CIT) |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 2 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program; if not, write to the Free Software |
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
* MA 02110-1301, USA. |
|
20 |
* |
|
21 |
*/ |
|
22 |
package org.gvsig.raster.gdal.app; |
|
23 |
|
|
24 |
import org.gvsig.andami.plugins.Extension; |
|
25 |
|
|
26 |
/** |
|
27 |
* Extension to add Gdal library support |
|
28 |
* |
|
29 |
* @author Nacho Brodin (nachobrodin@gmail.com) |
|
30 |
*/ |
|
31 |
public class GdalExtension extends Extension { |
|
32 |
|
|
33 |
public void execute(String actionCommand) { |
|
34 |
} |
|
35 |
|
|
36 |
public void initialize() { |
|
37 |
} |
|
38 |
|
|
39 |
public boolean isEnabled() { |
|
40 |
return false; |
|
41 |
} |
|
42 |
|
|
43 |
public boolean isVisible() { |
|
44 |
return false; |
|
45 |
} |
|
46 |
|
|
47 |
} |
|
0 | 48 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/src/main/resources-plugin/config.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<plugin-config> |
|
3 |
<depends plugin-name="org.gvsig.app" /> |
|
4 |
<depends plugin-name="org.gvsig.raster.tilecache.app" /> |
|
5 |
<libraries library-dir="lib"/> |
|
6 |
<resourceBundle name="text"/> |
|
7 |
<extensions> |
|
8 |
<extension class-name="org.gvsig.raster.gdal.app.GdalExtension" |
|
9 |
description="" |
|
10 |
active="true" |
|
11 |
priority="1"> |
|
12 |
</extension> |
|
13 |
</extensions> |
|
14 |
</plugin-config> |
|
0 | 15 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
|
|
3 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<artifactId>org.gvsig.raster.gdal.app</artifactId> |
|
6 |
<packaging>jar</packaging> |
|
7 |
<name>Formats: Gdal file formats support</name> |
|
8 |
<description>Gdal data provider for gvSIG: jpeg, tiff, png, gif.</description> |
|
9 |
<parent> |
|
10 |
<groupId>org.gvsig</groupId> |
|
11 |
<artifactId>org.gvsig.raster.gdal</artifactId> |
|
12 |
<version>2.1.0-SNAPSHOT</version> |
|
13 |
</parent> |
|
14 |
<scm> |
|
15 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-raster/org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app</connection> |
|
16 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-raster/org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app</developerConnection> |
|
17 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-raster/repository/show/org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app</url> |
|
18 |
</scm> |
|
19 |
<dependencies> |
|
20 |
<dependency> |
|
21 |
<groupId>org.gvsig</groupId> |
|
22 |
<artifactId>org.gvsig.andami</artifactId> |
|
23 |
<scope>compile</scope> |
|
24 |
</dependency> |
|
25 |
<dependency> |
|
26 |
<groupId>org.gvsig</groupId> |
|
27 |
<artifactId>org.gvsig.raster.gdal.io</artifactId> |
|
28 |
<scope>runtime</scope> |
|
29 |
</dependency> |
|
30 |
</dependencies> |
|
31 |
|
|
32 |
<profiles> |
|
33 |
|
|
34 |
<!-- *************** --> |
|
35 |
<!-- LINUX PROFILE --> |
|
36 |
<!-- *************** --> |
|
37 |
|
|
38 |
<profile> |
|
39 |
<id>linux-profile</id> |
|
40 |
<activation> |
|
41 |
<property> |
|
42 |
<name>native-platform</name> |
|
43 |
<value>linux</value> |
|
44 |
</property> |
|
45 |
</activation> |
|
46 |
<properties> |
|
47 |
<gvsig.package.info.operatingSystem>lin</gvsig.package.info.operatingSystem> |
|
48 |
<gvsig.package.info.architecture>x86</gvsig.package.info.architecture> |
|
49 |
<gvsig.package.info.poolURL>http://devel.gvsig.org/download/projects/Raster/pool/org.gvsig.raster.gdal.app</gvsig.package.info.poolURL> |
|
50 |
</properties> |
|
51 |
<build> |
|
52 |
<plugins> |
|
53 |
<plugin> |
|
54 |
<artifactId>maven-assembly-plugin</artifactId> |
|
55 |
<configuration> |
|
56 |
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions> |
|
57 |
<appendAssemblyId>false</appendAssemblyId> |
|
58 |
</configuration> |
|
59 |
<executions> |
|
60 |
<execution> |
|
61 |
<id>gvsig-plugin-package</id> |
|
62 |
<phase>package</phase> |
|
63 |
<goals> |
|
64 |
<goal>single</goal> |
|
65 |
</goals> |
|
66 |
<configuration> |
|
67 |
<finalName>gvSIG-desktop-${gvsig.package.info.gvSIGVersion}-${project.artifactId}-${gvsig.package.info.version}-${buildNumber}-${gvsig.package.info.state}-${gvsig.package.info.operatingSystem}-${gvsig.package.info.architecture}-${gvsig.package.info.javaVM}.gvspkg</finalName> |
|
68 |
<descriptors> |
|
69 |
<descriptor>src/main/assembly/gvsig-plugin-package-lin.xml</descriptor> |
|
70 |
</descriptors> |
|
71 |
</configuration> |
|
72 |
</execution> |
|
73 |
</executions> |
|
74 |
</plugin> |
|
75 |
</plugins> |
|
76 |
</build> |
|
77 |
</profile> |
|
78 |
|
|
79 |
<!-- *************** --> |
|
80 |
<!-- FEDORA PROFILE --> |
|
81 |
<!-- *************** --> |
|
82 |
|
|
83 |
<profile> |
|
84 |
<id>fedora11-profile</id> |
|
85 |
<activation> |
|
86 |
<property> |
|
87 |
<name>native-platform</name> |
|
88 |
<value>fedora11</value> |
|
89 |
</property> |
|
90 |
</activation> |
|
91 |
<properties> |
|
92 |
<gvsig.package.info.categories>Raster</gvsig.package.info.categories> |
|
93 |
<gvsig.package.info.operatingSystem>fedora11</gvsig.package.info.operatingSystem> |
|
94 |
<gvsig.package.info.architecture>x86</gvsig.package.info.architecture> |
|
95 |
</properties> |
|
96 |
<build> |
|
97 |
<plugins> |
|
98 |
<plugin> |
|
99 |
<artifactId>maven-assembly-plugin</artifactId> |
|
100 |
<configuration> |
|
101 |
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions> |
|
102 |
<appendAssemblyId>false</appendAssemblyId> |
|
103 |
</configuration> |
|
104 |
<executions> |
|
105 |
<execution> |
|
106 |
<id>gvsig-plugin-package</id> |
|
107 |
<phase>package</phase> |
|
108 |
<goals> |
|
109 |
<goal>single</goal> |
|
110 |
</goals> |
|
111 |
<configuration> |
|
112 |
<finalName>gvSIG-desktop-${gvsig.package.info.gvSIGVersion}-${project.artifactId}-${gvsig.package.info.version}-${buildNumber}-${gvsig.package.info.state}-${gvsig.package.info.operatingSystem}-${gvsig.package.info.architecture}-${gvsig.package.info.javaVM}.gvspkg</finalName> |
|
113 |
<descriptors> |
|
114 |
<descriptor>src/main/assembly/gvsig-plugin-package-fedora11.xml</descriptor> |
|
115 |
</descriptors> |
|
116 |
</configuration> |
|
117 |
</execution> |
|
118 |
</executions> |
|
119 |
</plugin> |
|
120 |
</plugins> |
|
121 |
</build> |
|
122 |
</profile> |
|
123 |
|
|
124 |
<!-- *************** --> |
|
125 |
<!-- WINDOWS PROFILE --> |
|
126 |
<!-- *************** --> |
|
127 |
|
|
128 |
<profile> |
|
129 |
<id>windows-profile</id> |
|
130 |
<activation> |
|
131 |
<property> |
|
132 |
<name>native-platform</name> |
|
133 |
<value>win</value> |
|
134 |
</property> |
|
135 |
</activation> |
|
136 |
<properties> |
|
137 |
<gvsig.package.info.operatingSystem>win</gvsig.package.info.operatingSystem> |
|
138 |
<gvsig.package.info.architecture>x86</gvsig.package.info.architecture> |
|
139 |
<gvsig.package.info.poolURL>http://devel.gvsig.org/download/projects/Raster/pool/org.gvsig.raster.gdal.app</gvsig.package.info.poolURL> |
|
140 |
</properties> |
|
141 |
<build> |
|
142 |
<plugins> |
|
143 |
<plugin> |
|
144 |
<artifactId>maven-assembly-plugin</artifactId> |
|
145 |
<configuration> |
|
146 |
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions> |
|
147 |
<appendAssemblyId>false</appendAssemblyId> |
|
148 |
</configuration> |
|
149 |
<executions> |
|
150 |
<execution> |
|
151 |
<id>gvsig-plugin-package</id> |
|
152 |
<phase>package</phase> |
|
153 |
<goals> |
|
154 |
<goal>single</goal> |
|
155 |
</goals> |
|
156 |
<configuration> |
|
157 |
<finalName>gvSIG-desktop-${gvsig.package.info.gvSIGVersion}-${project.artifactId}-${gvsig.package.info.version}-${buildNumber}-${gvsig.package.info.state}-${gvsig.package.info.operatingSystem}-${gvsig.package.info.architecture}-${gvsig.package.info.javaVM}.gvspkg</finalName> |
|
158 |
<descriptors> |
|
159 |
<descriptor>src/main/assembly/gvsig-plugin-package-win.xml</descriptor> |
|
160 |
</descriptors> |
|
161 |
</configuration> |
|
162 |
</execution> |
|
163 |
</executions> |
|
164 |
</plugin> |
|
165 |
</plugins> |
|
166 |
</build> |
|
167 |
</profile> |
|
168 |
</profiles> |
|
169 |
|
|
170 |
<properties> |
|
171 |
<gvsig.package.info.categories>Raster, Formats</gvsig.package.info.categories> |
|
172 |
<gvsig.package.info.state>testing</gvsig.package.info.state> |
|
173 |
<gvsig.package.info.poolURL>http://devel.gvsig.org/download/projects/Raster/pool</gvsig.package.info.poolURL> |
|
174 |
<gvsig.package.info.dependencies>required: org.gvsig.raster.tilecache.app -ge 2</gvsig.package.info.dependencies> |
|
175 |
<gvsig.package.info.official>true</gvsig.package.info.official> |
|
176 |
</properties> |
|
177 |
</project> |
|
0 | 178 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.jni/pom.xml | ||
---|---|---|
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
3 |
<modelVersion>4.0.0</modelVersion> |
|
4 |
<artifactId>org.gvsig.jgdal</artifactId> |
|
5 |
<packaging>jar</packaging> |
|
6 |
<version>2.0.4-SNAPSHOT</version> |
|
7 |
<name>org.gvsig.jgdal</name> |
|
8 |
|
|
9 |
<parent> |
|
10 |
<groupId>org.gvsig</groupId> |
|
11 |
<artifactId>gvsig-base-library-jni-pom</artifactId> |
|
12 |
<version>2.0-SNAPSHOT</version> |
|
13 |
</parent> |
|
14 |
|
|
15 |
<properties> |
|
16 |
<build-dir>${basedir}/../../build</build-dir> |
|
17 |
<eclipse.project.name>org.gvsig.jgdal</eclipse.project.name> |
|
18 |
</properties> |
|
19 |
<build> |
|
20 |
<plugins> |
|
21 |
<!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION --> |
|
22 |
<plugin> |
|
23 |
<groupId>org.apache.maven.plugins</groupId> |
|
24 |
<artifactId>maven-surefire-plugin</artifactId> |
|
25 |
<configuration> |
|
26 |
<skipTests>true</skipTests> |
|
27 |
</configuration> |
|
28 |
</plugin> |
|
29 |
</plugins> |
|
30 |
</build> |
|
31 |
<profiles> |
|
32 |
<profile> |
|
33 |
<id>windows-profile</id> |
|
34 |
<activation> |
|
35 |
<property> |
|
36 |
<name>native-platform</name> |
|
37 |
<value>win</value> |
|
38 |
</property> |
|
39 |
</activation> |
|
40 |
<dependencies> |
|
41 |
<dependency> |
|
42 |
<groupId>org.gdal</groupId> |
|
43 |
<artifactId>gdal</artifactId> |
|
44 |
<version>1.8.1</version> |
|
45 |
<classifier>${native-classifier}</classifier> |
|
46 |
<type>tar.gz</type> |
|
47 |
</dependency> |
|
48 |
<dependency> |
|
49 |
<groupId>com.microsoft</groupId> |
|
50 |
<artifactId>visualcppredist</artifactId> |
|
51 |
<version>2008</version> |
|
52 |
<classifier>${native-classifier}</classifier> |
|
53 |
<type>tar.gz</type> |
|
54 |
</dependency> |
|
55 |
</dependencies> |
|
56 |
</profile> |
|
57 |
<profile> |
|
58 |
<id>linux-profile</id> |
|
59 |
<activation> |
|
60 |
<property> |
|
61 |
<name>native-platform</name> |
|
62 |
<value>linux</value> |
|
63 |
</property> |
|
64 |
</activation> |
|
65 |
<dependencies> |
|
66 |
<dependency> |
|
67 |
<groupId>org.gdal</groupId> |
|
68 |
<artifactId>gdal</artifactId> |
|
69 |
<version>1.8.1</version> |
|
70 |
<classifier>${native-classifier}</classifier> |
|
71 |
<type>tar.gz</type> |
|
72 |
</dependency> |
|
73 |
<!-- <dependency> <groupId>eu.fbk</groupId> <artifactId>grass</artifactId> |
|
74 |
<version>6.0.2</version> <classifier>${native-classifier}</classifier> <type>tar.gz</type> |
|
75 |
<scope>runtime</scope> </dependency> --> |
|
76 |
</dependencies> |
|
77 |
</profile> |
|
78 |
<profile> |
|
79 |
<id>fedora11-profile</id> |
|
80 |
<activation> |
|
81 |
<property> |
|
82 |
<name>native-platform</name> |
|
83 |
<value>fedora11</value> |
|
84 |
</property> |
|
85 |
</activation> |
|
86 |
<dependencies> |
|
87 |
<dependency> |
|
88 |
<groupId>org.gdal</groupId> |
|
89 |
<artifactId>gdal</artifactId> |
|
90 |
<version>1.6.0</version> |
|
91 |
<classifier>${native-classifier}</classifier> |
|
92 |
<type>tar.gz</type> |
|
93 |
</dependency> |
|
94 |
</dependencies> |
|
95 |
</profile> |
|
96 |
<profile> |
|
97 |
<id>mac-profile</id> |
|
98 |
<activation> |
|
99 |
<property> |
|
100 |
<name>native-platform</name> |
|
101 |
<value>mac</value> |
|
102 |
</property> |
|
103 |
</activation> |
|
104 |
<dependencies> |
|
105 |
<dependency> |
|
106 |
<groupId>org.gdal</groupId> |
|
107 |
<artifactId>gdal</artifactId> |
|
108 |
<version>1.8.1</version> |
|
109 |
<classifier>${native-classifier}</classifier> |
|
110 |
<type>tar.gz</type> |
|
111 |
</dependency> |
|
112 |
</dependencies> |
|
113 |
</profile> |
|
114 |
</profiles> |
|
115 |
</project> |
|
116 |
|
|
0 | 117 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.jni/readme.txt | ||
---|---|---|
1 |
How to compile libjni-gdal |
|
2 |
-------------------------- |
|
3 |
|
|
4 |
General Requirements |
|
5 |
-------------------- |
|
6 |
|
|
7 |
Make sure you have a directory .m2 in your $HOME. In this directory there should be a file settings.xml. This step is only necessary if you have to deploy files. |
|
8 |
|
|
9 |
<?xml version="1.0" encoding="UTF-8"?> |
|
10 |
|
|
11 |
<settings xmlns="http://maven.apache.org/POM/4.0.0" |
|
12 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
13 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
|
14 |
http://maven.apache.org/xsd/settings-1.0.0.xsd"> |
|
15 |
<servers> |
|
16 |
<server> |
|
17 |
<id>gvsig-repository</id> |
|
18 |
<username>[USERNAME]</username> |
|
19 |
<password>[PASSWORD]</password> |
|
20 |
<filePermissions>666</filePermissions> |
|
21 |
<directoryPermissions>777</directoryPermissions> |
|
22 |
</server> |
|
23 |
</servers> |
|
24 |
</settings> |
|
25 |
|
|
26 |
Linux |
|
27 |
----- |
|
28 |
|
|
29 |
Installed programs |
|
30 |
|
|
31 |
cmake (apt-get install cmake) |
|
32 |
maven (minimum version 2.2.1. This version is available in build directory) |
|
33 |
ant (apt-get install ant) |
|
34 |
|
|
35 |
Open a system console and set variable JAVA_HOME with a right value. |
|
36 |
|
|
37 |
ej: export JAVA_HOME=[Path_to_JDK] |
|
38 |
|
|
39 |
Launch the command to compile: |
|
40 |
|
|
41 |
mvn install -Dnative-arch=[ARCHITECTURE] -Dnative-distribution=[DISTRIBUTION] -Pjni-devel -Dmaven.test.skip -Dnative-classifier=[CLASSIFIER] |
|
42 |
|
|
43 |
ARCHITECTURE = "X86_64", "i386", ... |
|
44 |
DISTRIBUTION = "nt", "Ubuntu-9.10", "10.5", ... |
|
45 |
CLASSIFIER = linux-Ubuntu-9.10-gcc4-X86_64-dynamic |
|
46 |
|
|
47 |
Example: |
|
48 |
mvn install -Dnative-arch="X86_64" -Dnative-distribution="Ubuntu-9.10" -Pjni-devel -Dmaven.test.skip -Dnative-classifier=linux-Ubuntu-9.10-gcc4-X86_64-dynamic |
|
49 |
|
|
50 |
Windows |
|
51 |
------- |
|
52 |
|
|
53 |
Installed programs |
|
54 |
|
|
55 |
Visual Studio 2005 (vs8) |
|
56 |
cmake |
|
57 |
maven (minimum version 2.2.1. This version is available in build directory) |
|
58 |
ant |
|
59 |
|
|
60 |
Make sure you have the right value in your JAVA_HOME variable |
|
61 |
|
|
62 |
libjni-gdal needs a GDAL SDK to be compiled. This SDK is in the maven repository. The pom.xml contains |
|
63 |
the version of GDAL. You should check the version. |
|
64 |
|
|
65 |
<dependency> |
|
66 |
<groupId>org.gdal</groupId> |
|
67 |
<artifactId>gdal</artifactId> |
|
68 |
<version>1.7.1</version> |
|
69 |
<classifier>${native-classifier}</classifier> |
|
70 |
<type>tar.gz</type> |
|
71 |
</dependency> |
|
72 |
|
|
73 |
The binaries of this version will be downloaded from maven repository. |
|
74 |
https://devel.gvsig.org/m2repo/j2se |
|
75 |
|
|
76 |
Launch the command to compile: |
|
77 |
|
|
78 |
mvn install -Dnative-arch=[ARCHITECTURE] -Dnative-distribution=[DISTRIBUTION] -Pjni-devel -Dmaven.test.skip -Dnative-classifier=[CLASSIFIER] |
|
79 |
|
|
80 |
ARCHITECTURE = "X86_64", "i386", ... |
|
81 |
DISTRIBUTION = "nt", "Ubuntu-9.10", "10.5", ... |
|
82 |
CLASSIFIER = win-nt-gcc4-vs8-i386-dynamic |
|
83 |
|
|
84 |
Example: |
|
85 |
mvn install -Dnative-arch="i386" -Dnative-distribution="win-nt" -Pjni-devel -Dmaven.test.skip -Dnative-classifier=win-nt-gcc4-vs8-i386-dynamic |
|
86 |
|
|
0 | 87 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.jni/CMakeLists.txt | ||
---|---|---|
1 |
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) |
|
2 |
|
|
3 |
IF(WIN32) |
|
4 |
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR) |
|
5 |
ELSE(WIN32) |
|
6 |
IF(APPLE) |
|
7 |
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR) |
|
8 |
ELSE(APPLE) |
|
9 |
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.4 FATAL_ERROR) |
|
10 |
ENDIF(APPLE) |
|
11 |
ENDIF(WIN32) |
|
12 |
|
|
13 |
if(COMMAND cmake_policy) |
|
14 |
# Works around warnings libraries linked against that don't |
|
15 |
# have absolute paths (e.g. -lpthreads) |
|
16 |
cmake_policy(SET CMP0003 NEW) |
|
17 |
|
|
18 |
# Works around warnings about escaped quotes in ADD_DEFINITIONS |
|
19 |
# statements. |
|
20 |
cmake_policy(SET CMP0005 NEW) |
|
21 |
|
|
22 |
# cmake-2.6.1 introduces policy cmp0008 decide how to treat full path libraries that do not appear to be valid library file names |
|
23 |
# quote from cvslog "Such libraries worked by accident in the VS IDE and Xcode generators in CMake 2.4 and below." |
|
24 |
if(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4 AND ${CMAKE_PATCH_VERSION} GREATER 0) |
|
25 |
cmake_policy(SET CMP0008 OLD) |
|
26 |
endif() |
|
27 |
endif() |
|
28 |
|
|
29 |
PROJECT(org.gvsig.jgdal) |
|
30 |
|
|
31 |
SET(JGDAL_VERSION_MAJOR "2") |
|
32 |
SET(JGDAL_VERSION_MINOR "0") |
|
33 |
SET(JGDAL_VERSION_PATCH "4") |
|
34 |
|
|
35 |
SET(VERSION "${JGDAL_VERSION_MAJOR}.${JGDAL_VERSION_MINOR}.${JGDAL_VERSION_PATCH}") |
|
36 |
|
|
37 |
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeModules;${CMAKE_MODULE_PATH}") |
|
38 |
|
|
39 |
FIND_PACKAGE(DepMan REQUIRED) |
|
40 |
INCLUDE(GeneralMacros) |
|
41 |
|
|
42 |
CONFIGURE_DEFAULTS() |
|
43 |
|
|
44 |
IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) |
|
45 |
SET(CMAKE_INSTALL_PREFIX |
|
46 |
${DEPMAN_PATH} CACHE PATH "depman path install prefix" FORCE |
|
47 |
) |
|
48 |
ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) |
|
49 |
|
|
50 |
FIND_PACKAGE(JNI REQUIRED) |
|
51 |
FIND_PACKAGE(GDAL REQUIRED) |
|
52 |
|
|
53 |
ADD_SUBDIRECTORY(src/main/native) |
|
54 |
|
|
55 |
CONFIGURE_END() |
|
56 |
|
|
57 |
|
|
0 | 58 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.jni/.project | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<projectDescription> |
|
3 |
<name>org.gvsig.jgdal</name> |
|
4 |
<comment></comment> |
|
5 |
<projects> |
|
6 |
</projects> |
|
7 |
<buildSpec> |
|
8 |
</buildSpec> |
|
9 |
<natures> |
|
10 |
</natures> |
|
11 |
</projectDescription> |
|
0 | 12 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.jni/src/test/java/TestReadBand.java | ||
---|---|---|
1 |
|
|
2 |
import java.io.IOException; |
|
3 |
import org.gvsig.jgdal.*; |
|
4 |
|
|
5 |
/** |
|
6 |
* Test de acceso a datos de las bandas de una imagen. |
|
7 |
* javac -classpath ./:/.../org.gvsig.jgdal/target/org.gvsig.jgdal-2.0.3-SNAPSHOT.jar TestReadBand.java |
|
8 |
* |
|
9 |
* java -classpath ./:/.../org.gvsig.jgdal/target/org.gvsig.jgdal-2.0.3-SNAPSHOT.jar -Djava.library.path=/... TestReadBand |
|
10 |
* @author Nacho Brodin <nachobrodin@gmail.com> |
|
11 |
* |
|
12 |
*/ |
|
13 |
public class TestReadBand { |
|
14 |
private Gdal gdal = null; |
|
15 |
private GdalRasterBand band = null; |
|
16 |
private String baseDir = "../../../test-images/"; |
|
17 |
private String file1 = baseDir + "testGdal.tif"; |
|
18 |
|
|
19 |
|
|
20 |
public static void main(String[] args) { |
|
21 |
TestReadBand t = new TestReadBand(); |
|
22 |
try { |
|
23 |
t.testStack(); |
|
24 |
} catch(Exception e) { |
|
25 |
} |
|
26 |
} |
|
27 |
public void testStack() throws GdalException, IOException { |
|
28 |
|
|
29 |
gdal = new Gdal(); |
|
30 |
gdal.open(file1, Gdal.GA_Update); |
|
31 |
//Llamada sin dominio |
|
32 |
String[] metadata = gdal.getMetadata(); |
|
33 |
|
|
34 |
for (int i = 0 ; i < metadata.length; i++) { |
|
35 |
System.out.println("Metadato: " + metadata[i]); |
|
36 |
} |
|
37 |
|
|
38 |
//Llamada con dominio "Image Structure Metadata" |
|
39 |
metadata = gdal.getMetadata("Image Structure Metadata"); |
|
40 |
for (int i = 0 ; i < metadata.length; i++) { |
|
41 |
System.out.println("Metadato: " + metadata[i]); |
|
42 |
} |
|
43 |
|
|
44 |
//Comprobaci?n del tama?o de la imagen |
|
45 |
System.out.println(gdal.getRasterXSize()); |
|
46 |
System.out.println(gdal.getRasterYSize()); |
|
47 |
|
|
48 |
//Comprobaci?n del n?mero de bandas |
|
49 |
System.out.println("Bands: " + gdal.getRasterCount()); |
|
50 |
|
|
51 |
//Comprobaci?n del driver de la imagen |
|
52 |
System.out.println("Driver: " + gdal.getDriverShortName()); |
|
53 |
|
|
54 |
//Comprobaci?n del acceso a las bandas |
|
55 |
for (int i = 0 ; i < gdal.getRasterCount() ; i++) { |
|
56 |
GdalRasterBand b = gdal.getRasterBand(i+1); |
|
57 |
System.out.println("Band:" + i + " X:" + b.getRasterBandXSize()); |
|
58 |
System.out.println("Band:" + i + " Y:" + b.getRasterBandYSize()); |
|
59 |
System.out.println("Overviews Band:" + i + " " + b.getOverviewCount()); |
|
60 |
for (int j = 0 ; j < b.getOverviewCount() ; j++) { |
|
61 |
GdalRasterBand ov = b.getOverview(j); |
|
62 |
System.out.println(" " + ov.getRasterBandXSize() + " x " + ov.getRasterBandYSize()); |
|
63 |
} |
|
64 |
} |
|
65 |
} |
|
66 |
} |
|
0 | 67 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.jni/src/test/java/org/gvsig/jgdal/TestReadData.java | ||
---|---|---|
1 |
package org.gvsig.jgdal; |
|
2 |
|
|
3 |
import java.io.IOException; |
|
4 |
|
|
5 |
import junit.framework.TestCase; |
|
6 |
|
|
7 |
/** |
|
8 |
* Test de acceso a datos de la imagen. |
|
9 |
* @author Miguel ?ngel Qierol Carratal? <miguelangel.querol@iver.es> |
|
10 |
* |
|
11 |
*/ |
|
12 |
public class TestReadData extends TestCase{ |
|
13 |
|
|
14 |
private Gdal gdal = null; |
|
15 |
private String baseDir = "./test-images/"; |
|
16 |
private String file1 = baseDir + "testGdal.tif"; |
|
17 |
private String[] metadata = null; |
|
18 |
|
|
19 |
public void start(){ |
|
20 |
try { |
|
21 |
setUp(); |
|
22 |
testStack(); |
|
23 |
} catch (GdalException e) { |
|
24 |
e.printStackTrace(); |
|
25 |
} catch (IOException e) { |
|
26 |
e.printStackTrace(); |
|
27 |
} |
|
28 |
|
|
29 |
} |
|
30 |
|
|
31 |
public void setUp() throws GdalException, IOException{ |
|
32 |
gdal = new Gdal(); |
|
33 |
gdal.open(file1, Gdal.GA_Update); |
|
34 |
} |
|
35 |
|
|
36 |
public void testStack() throws GdalException, IOException{ |
|
37 |
//Llamada sin dominio |
|
38 |
metadata = gdal.getMetadata(); |
|
39 |
assertNotNull("No se han devuelto metadatos", metadata); |
|
40 |
for (int i = 0 ; i<metadata.length ; i++){ |
|
41 |
System.out.println("Metadato: " + metadata[i]); |
|
42 |
} |
|
43 |
|
|
44 |
//Llamada con dominio "Image Structure Metadata" |
|
45 |
metadata = gdal.getMetadata("Image Structure Metadata"); |
|
46 |
assertNotNull("No se han devuelto metadatos", metadata); |
|
47 |
for (int i = 0 ; i<metadata.length ; i++){ |
|
48 |
System.out.println("Metadato: " + metadata[i]); |
|
49 |
} |
|
50 |
|
|
51 |
//Comprobaci?n del tama?o de la imagen |
|
52 |
assertEquals(842, gdal.getRasterXSize()); |
|
53 |
assertEquals(1023, gdal.getRasterYSize()); |
|
54 |
|
|
55 |
//Comprobaci?n del n?mero de bandas |
|
56 |
assertEquals(4, gdal.getRasterCount()); |
|
57 |
|
|
58 |
//Comprobaci?n del driver de la imagen |
|
59 |
assertEquals("GTiff", gdal.getDriverShortName()); |
|
60 |
|
|
61 |
//Comprobaci?n del acceso a las bandas |
|
62 |
for (int i = 0 ; i < gdal.getRasterCount() ; i++){ |
|
63 |
assertNotNull(gdal.getRasterBand(i+1)); |
|
64 |
} |
|
65 |
|
|
66 |
gdal.close(); |
|
67 |
gdal = null; |
|
68 |
System.gc(); |
|
69 |
} |
|
70 |
} |
|
0 | 71 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.jni/src/test/java/org/gvsig/jgdal/TestReadBandData.java | ||
---|---|---|
1 |
package org.gvsig.jgdal; |
|
2 |
|
|
3 |
import java.io.IOException; |
|
4 |
|
|
5 |
import junit.framework.TestCase; |
|
6 |
|
|
7 |
/** |
|
8 |
* Test de acceso a datos de las bandas de una imagen. |
|
9 |
* @author Miguel ?ngel Querol Carratal? <miguelangel.querol@iver.es> |
|
10 |
* |
|
11 |
*/ |
|
12 |
public class TestReadBandData extends TestCase{ |
|
13 |
private Gdal gdal = null; |
|
14 |
private GdalRasterBand band = null; |
|
15 |
private String baseDir = "./test-images/"; |
|
16 |
private String file1 = baseDir + "testGdal.tif"; |
|
17 |
|
|
18 |
public void start(){ |
|
19 |
try { |
|
20 |
setUp(); |
|
21 |
testStack(); |
|
22 |
} catch (GdalException e) { |
|
23 |
e.printStackTrace(); |
|
24 |
} catch (IOException e) { |
|
25 |
e.printStackTrace(); |
|
26 |
} |
|
27 |
|
|
28 |
} |
|
29 |
|
|
30 |
public void setUp() throws GdalException, IOException{ |
|
31 |
gdal = new Gdal(); |
|
32 |
gdal.open(file1, Gdal.GA_Update); |
|
33 |
} |
|
34 |
|
|
35 |
public void testStack() throws GdalException, IOException{ |
|
36 |
//Llamada sin dominio |
|
37 |
String[] metadata = gdal.getMetadata(); |
|
38 |
assertNotNull("No se han devuelto metadatos", metadata); |
|
39 |
for (int i = 0 ; i<metadata.length ; i++){ |
|
40 |
System.out.println("Metadato: " + metadata[i]); |
|
41 |
} |
|
42 |
|
|
43 |
//Llamada con dominio "Image Structure Metadata" |
|
44 |
metadata = gdal.getMetadata("Image Structure Metadata"); |
|
45 |
assertNotNull("No se han devuelto metadatos", metadata); |
|
46 |
for (int i = 0 ; i<metadata.length ; i++){ |
|
47 |
System.out.println("Metadato: " + metadata[i]); |
|
48 |
} |
|
49 |
|
|
50 |
//Comprobaci?n del tama?o de la imagen |
|
51 |
assertEquals(842, gdal.getRasterXSize()); |
|
52 |
assertEquals(1023, gdal.getRasterYSize()); |
|
53 |
|
|
54 |
//Comprobaci?n del n?mero de bandas |
|
55 |
assertEquals(4, gdal.getRasterCount()); |
|
56 |
|
|
57 |
//Comprobaci?n del driver de la imagen |
|
58 |
assertEquals("GTiff", gdal.getDriverShortName()); |
|
59 |
|
|
60 |
//Comprobaci?n del acceso a las bandas |
|
61 |
for (int i = 0 ; i < gdal.getRasterCount() ; i++){ |
|
62 |
assertNotNull(gdal.getRasterBand(i+1)); |
|
63 |
} |
|
64 |
} |
|
65 |
} |
|
0 | 66 |
org.gvsig.raster.gdal/tags/tagdate_29082013/org.gvsig.raster.gdal/org.gvsig.raster.gdal.jni/src/test/java/org/gvsig/jgdal/TestWarpDataset.java | ||
---|---|---|
1 |
package org.gvsig.jgdal; |
|
2 |
|
|
3 |
import java.io.File; |
|
4 |
import java.io.IOException; |
|
5 |
|
|
6 |
import junit.framework.TestCase; |
|
7 |
|
|
8 |
public class TestWarpDataset extends TestCase { |
|
9 |
private GdalWarp warp = null; |
|
10 |
private String baseDir = "./test-images/"; |
|
11 |
private String src = baseDir + "testGdalWarp.tif"; |
|
12 |
private String dst = baseDir + "warpedImage.tif"; |
|
13 |
private String frm = "GTiff"; |
|
14 |
private String t_srs = "EPSG:23030"; |
|
15 |
|
|
16 |
public void start() { |
|
17 |
setUp(); |
|
18 |
testStack(); |
|
19 |
} |
|
20 |
|
|
21 |
public void setUp() { |
|
22 |
warp = new GdalWarp(); |
|
23 |
File f = new File(src); |
|
24 |
Gdal dataset = new Gdal(); |
|
25 |
|
|
26 |
try { |
|
27 |
assertTrue("El fichero no existe", f.exists()); |
|
28 |
assertTrue("El fichero no se puede leer", f.canRead()); |
|
29 |
dataset.open(src, Gdal.GA_ReadOnly); |
|
30 |
GdalRasterBand band = dataset.getRasterBand(1); |
|
31 |
band.readRaster(0, 0, 10, 10, 10, 10, Gdal.GDT_Byte); |
|
32 |
} catch (GdalException e) { |
|
33 |
new AssertionError("Fallo en gdal al acceder al fichero fuente"); |
|
34 |
} catch (IOException e) { |
|
35 |
new AssertionError("Fallo en gdal al acceder al fichero fuente"); |
|
36 |
e.printStackTrace(); |
|
37 |
} |
|
38 |
} |
|
39 |
|
|
40 |
public void testStack() { |
|
41 |
assertNotNull(t_srs); |
|
42 |
|
|
43 |
warp.warp(t_srs, src, dst, frm); |
|
44 |
System.err.println("Proceso completado al " + warp.getPercent() + " %"); |
|
45 |
|
|
46 |
File f = new File(dst); |
|
47 |
|
|
48 |
assertTrue("El fichero destino no existe", f.exists()); |
|
49 |
assertTrue("El fichero destino no se puede leer", f.canRead()); |
|
50 |
} |
|
51 |
} |
|
0 | 52 |
Also available in: Unified diff