Revision 6916
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.win.x86/buildNumber.properties | ||
---|---|---|
1 |
#Thu Oct 08 22:02:21 CEST 2015 |
|
2 |
buildNumber=26 |
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.win.x86/src/main/assembly/gvsig-plugin-package.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 3 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
26 |
<assembly> |
|
27 |
<id>gvsig-plugin-package</id> |
|
28 |
<formats> |
|
29 |
<format>zip</format> |
|
30 |
</formats> |
|
31 |
<baseDirectory>${gvsig.package.info.code}</baseDirectory> |
|
32 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
33 |
<files> |
|
34 |
<file> |
|
35 |
<source>target/package.info</source> |
|
36 |
</file> |
|
37 |
<file> |
|
38 |
<source>target/native/bin/jpotrace001.dll</source> |
|
39 |
<outputDirectory>install/files</outputDirectory> |
|
40 |
</file> |
|
41 |
</files> |
|
42 |
|
|
43 |
<fileSets> |
|
44 |
<fileSet> |
|
45 |
<directory>target/org.gvsig.raster.app.common</directory> |
|
46 |
<outputDirectory>.</outputDirectory> |
|
47 |
<excludes> |
|
48 |
<exclude>package.info</exclude> |
|
49 |
</excludes> |
|
50 |
</fileSet> |
|
51 |
<fileSet> |
|
52 |
<directory>src/main/resources-plugin</directory> |
|
53 |
<outputDirectory>.</outputDirectory> |
|
54 |
</fileSet> |
|
55 |
</fileSets> |
|
56 |
|
|
57 |
|
|
58 |
<dependencySets> |
|
59 |
<dependencySet> |
|
60 |
<useProjectArtifact>false</useProjectArtifact> |
|
61 |
<useTransitiveDependencies>false</useTransitiveDependencies> |
|
62 |
<outputDirectory>lib</outputDirectory> |
|
63 |
<includes> |
|
64 |
<include>org.gvsig:org.gvsig.jpotrace:jar</include> |
|
65 |
</includes> |
|
66 |
</dependencySet> |
|
67 |
</dependencySets> |
|
68 |
|
|
69 |
</assembly> |
|
70 |
|
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.win.x86/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<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"> |
|
3 |
<modelVersion>4.0.0</modelVersion> |
|
4 |
<artifactId>org.gvsig.raster.app.win.x86</artifactId> |
|
5 |
<packaging>jar</packaging> |
|
6 |
|
|
7 |
<parent> |
|
8 |
<groupId>org.gvsig</groupId> |
|
9 |
<artifactId>org.gvsig.raster.app</artifactId> |
|
10 |
<version>2.2.22-SNAPSHOT</version> |
|
11 |
</parent> |
|
12 |
|
|
13 |
<properties> |
|
14 |
<gvsig.package.info.operatingSystem>win</gvsig.package.info.operatingSystem> |
|
15 |
<gvsig.package.info.architecture>x86</gvsig.package.info.architecture> |
|
16 |
|
|
17 |
<jpotrace.classifier>win-nt-vs8-i386-dynamic</jpotrace.classifier> |
|
18 |
<jpotrace.version>2.0.0</jpotrace.version> |
|
19 |
</properties> |
|
20 |
|
|
21 |
<dependencyManagement> |
|
22 |
<dependencies> |
|
23 |
<dependency> |
|
24 |
<groupId>org.gvsig</groupId> |
|
25 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
26 |
<classifier>${jpotrace.classifier}</classifier> |
|
27 |
<version>${jpotrace.version}</version> |
|
28 |
<type>tar.gz</type> |
|
29 |
</dependency> |
|
30 |
</dependencies> |
|
31 |
</dependencyManagement> |
|
32 |
|
|
33 |
<dependencies> |
|
34 |
<dependency> |
|
35 |
<groupId>org.gvsig</groupId> |
|
36 |
<artifactId>org.gvsig.raster.app.common</artifactId> |
|
37 |
<type>zip</type> |
|
38 |
</dependency> |
|
39 |
<dependency> |
|
40 |
<groupId>org.gvsig</groupId> |
|
41 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
42 |
<scope>compile</scope> |
|
43 |
</dependency> |
|
44 |
<dependency> |
|
45 |
<groupId>org.gvsig</groupId> |
|
46 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
47 |
<classifier>${jpotrace.classifier}</classifier> |
|
48 |
<version>${jpotrace.version}</version> |
|
49 |
<type>tar.gz</type> |
|
50 |
<scope>runtime</scope> |
|
51 |
</dependency> |
|
52 |
</dependencies> |
|
53 |
|
|
54 |
<build> |
|
55 |
<plugins> |
|
56 |
|
|
57 |
<plugin> |
|
58 |
<groupId>org.apache.maven.plugins</groupId> |
|
59 |
<artifactId>maven-dependency-plugin</artifactId> |
|
60 |
<executions> |
|
61 |
<execution> |
|
62 |
<id>unpack</id> |
|
63 |
<phase>process-sources</phase> |
|
64 |
<goals> |
|
65 |
<goal>unpack</goal> |
|
66 |
</goals> |
|
67 |
<configuration> |
|
68 |
<artifactItems> |
|
69 |
<artifactItem> |
|
70 |
<groupId>org.gvsig</groupId> |
|
71 |
<artifactId>org.gvsig.raster.app.common</artifactId> |
|
72 |
<type>zip</type> |
|
73 |
<overWrite>true</overWrite> |
|
74 |
<outputDirectory>target</outputDirectory> |
|
75 |
</artifactItem> |
|
76 |
<artifactItem> |
|
77 |
<groupId>org.gvsig</groupId> |
|
78 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
79 |
<classifier>${jpotrace.classifier}</classifier> |
|
80 |
<version>${jpotrace.version}</version> |
|
81 |
<type>tar.gz</type> |
|
82 |
<overWrite>true</overWrite> |
|
83 |
<outputDirectory>target/native</outputDirectory> |
|
84 |
</artifactItem> |
|
85 |
</artifactItems> |
|
86 |
</configuration> |
|
87 |
</execution> |
|
88 |
</executions> |
|
89 |
</plugin> |
|
90 |
|
|
91 |
|
|
92 |
</plugins> |
|
93 |
</build> |
|
94 |
|
|
95 |
<profiles> |
|
96 |
|
|
97 |
<profile> |
|
98 |
<id>gvsig-plugin-install-raster-windows-x86</id> |
|
99 |
<activation> |
|
100 |
<os> |
|
101 |
<family>windows</family> |
|
102 |
<!-- Uncomment this when have support for amd64 --> |
|
103 |
<!-- |
|
104 |
<arch>x86</arch> |
|
105 |
--> |
|
106 |
</os> |
|
107 |
</activation> |
|
108 |
<properties> |
|
109 |
<gvsig.install.plugin>true</gvsig.install.plugin> |
|
110 |
</properties> |
|
111 |
</profile> |
|
112 |
|
|
113 |
</profiles> |
|
114 |
|
|
115 |
</project> |
|
116 |
|
|
0 | 117 |
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.mac_10.5/buildNumber.properties | ||
---|---|---|
1 |
#Fri Mar 28 13:59:39 CET 2014 |
|
2 |
buildNumber=12 |
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.mac_10.5/src/main/assembly/gvsig-plugin-package.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 3 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
26 |
<assembly> |
|
27 |
<id>gvsig-plugin-package</id> |
|
28 |
<formats> |
|
29 |
<format>zip</format> |
|
30 |
</formats> |
|
31 |
<baseDirectory>${gvsig.package.info.code}</baseDirectory> |
|
32 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
33 |
<files> |
|
34 |
<file> |
|
35 |
<source>target/package.info</source> |
|
36 |
</file> |
|
37 |
</files> |
|
38 |
|
|
39 |
<fileSets> |
|
40 |
<fileSet> |
|
41 |
<directory>target/org.gvsig.raster.app.common</directory> |
|
42 |
<outputDirectory>.</outputDirectory> |
|
43 |
<excludes> |
|
44 |
<exclude>package.info</exclude> |
|
45 |
</excludes> |
|
46 |
</fileSet> |
|
47 |
<fileSet> |
|
48 |
<directory>target/native/lib</directory> |
|
49 |
<outputDirectory>native</outputDirectory> |
|
50 |
</fileSet> |
|
51 |
<fileSet> |
|
52 |
<directory>src/main/resources-plugin</directory> |
|
53 |
<outputDirectory>.</outputDirectory> |
|
54 |
</fileSet> |
|
55 |
</fileSets> |
|
56 |
|
|
57 |
|
|
58 |
<dependencySets> |
|
59 |
<dependencySet> |
|
60 |
<useProjectArtifact>false</useProjectArtifact> |
|
61 |
<useTransitiveDependencies>false</useTransitiveDependencies> |
|
62 |
<outputDirectory>lib</outputDirectory> |
|
63 |
<includes> |
|
64 |
<include>org.gvsig:org.gvsig.jpotrace:jar</include> |
|
65 |
</includes> |
|
66 |
</dependencySet> |
|
67 |
</dependencySets> |
|
68 |
|
|
69 |
</assembly> |
|
70 |
|
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.mac_10.5/src/main/resources-plugin/autorun.sh | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
# |
|
3 |
# gvSIG. Desktop Geographic Information System. |
|
4 |
# |
|
5 |
# Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
# |
|
7 |
# This program is free software; you can redistribute it and/or |
|
8 |
# modify it under the terms of the GNU General Public License |
|
9 |
# as published by the Free Software Foundation; either version 3 |
|
10 |
# of the License, or (at your option) any later version. |
|
11 |
# |
|
12 |
# This program is distributed in the hope that it will be useful, |
|
13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
# GNU General Public License for more details. |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License |
|
18 |
# along with this program; if not, write to the Free Software |
|
19 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
# MA 02110-1301, USA. |
|
21 |
# |
|
22 |
# For any additional information, do not hesitate to contact us |
|
23 |
# at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
# |
|
25 |
|
|
26 |
|
|
27 |
# |
|
28 |
# Plugin autorun |
|
29 |
# |
|
30 |
|
|
31 |
PLUGIN_NAME=$(basename "$PLUGIN_FOLDER") |
|
32 |
|
|
33 |
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PLUGIN_FOLDER/native" |
|
34 |
GVSIG_NATIVE_LIBS="$GVSIG_NATIVE_LIBS:$PLUGIN_FOLDER/native" |
|
35 |
|
|
36 |
|
|
37 |
|
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.mac_10.5/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<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"> |
|
3 |
<modelVersion>4.0.0</modelVersion> |
|
4 |
<artifactId>org.gvsig.raster.app.mac_10.5</artifactId> |
|
5 |
<packaging>jar</packaging> |
|
6 |
|
|
7 |
<parent> |
|
8 |
<groupId>org.gvsig</groupId> |
|
9 |
<artifactId>org.gvsig.raster.app</artifactId> |
|
10 |
<version>2.2.4-SNAPSHOT</version> |
|
11 |
</parent> |
|
12 |
|
|
13 |
<properties> |
|
14 |
<gvsig.package.info.operatingSystem>mac_10.5</gvsig.package.info.operatingSystem> |
|
15 |
<gvsig.package.info.architecture>x86_64</gvsig.package.info.architecture> |
|
16 |
|
|
17 |
<jpotrace.classifier>mac-10.5-gcc4-universal-dynamic</jpotrace.classifier> |
|
18 |
<jpotrace.version>2.0.0</jpotrace.version> |
|
19 |
</properties> |
|
20 |
|
|
21 |
<dependencyManagement> |
|
22 |
<dependencies> |
|
23 |
<dependency> |
|
24 |
<groupId>org.gvsig</groupId> |
|
25 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
26 |
<classifier>${jpotrace.classifier}</classifier> |
|
27 |
<version>${jpotrace.version}</version> |
|
28 |
<type>tar.gz</type> |
|
29 |
</dependency> |
|
30 |
</dependencies> |
|
31 |
</dependencyManagement> |
|
32 |
|
|
33 |
<dependencies> |
|
34 |
<dependency> |
|
35 |
<groupId>org.gvsig</groupId> |
|
36 |
<artifactId>org.gvsig.raster.app.common</artifactId> |
|
37 |
<type>zip</type> |
|
38 |
</dependency> |
|
39 |
<dependency> |
|
40 |
<groupId>org.gvsig</groupId> |
|
41 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
42 |
<scope>compile</scope> |
|
43 |
</dependency> |
|
44 |
<dependency> |
|
45 |
<groupId>org.gvsig</groupId> |
|
46 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
47 |
<classifier>${jpotrace.classifier}</classifier> |
|
48 |
<version>${jpotrace.version}</version> |
|
49 |
<type>tar.gz</type> |
|
50 |
<scope>runtime</scope> |
|
51 |
</dependency> |
|
52 |
</dependencies> |
|
53 |
|
|
54 |
<build> |
|
55 |
<plugins> |
|
56 |
|
|
57 |
<plugin> |
|
58 |
<groupId>org.apache.maven.plugins</groupId> |
|
59 |
<artifactId>maven-dependency-plugin</artifactId> |
|
60 |
<executions> |
|
61 |
<execution> |
|
62 |
<id>unpack</id> |
|
63 |
<phase>process-sources</phase> |
|
64 |
<goals> |
|
65 |
<goal>unpack</goal> |
|
66 |
</goals> |
|
67 |
<configuration> |
|
68 |
<artifactItems> |
|
69 |
<artifactItem> |
|
70 |
<groupId>org.gvsig</groupId> |
|
71 |
<artifactId>org.gvsig.raster.app.common</artifactId> |
|
72 |
<type>zip</type> |
|
73 |
<overWrite>true</overWrite> |
|
74 |
<outputDirectory>target</outputDirectory> |
|
75 |
</artifactItem> |
|
76 |
<artifactItem> |
|
77 |
<groupId>org.gvsig</groupId> |
|
78 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
79 |
<classifier>${jpotrace.classifier}</classifier> |
|
80 |
<version>${jpotrace.version}</version> |
|
81 |
<type>tar.gz</type> |
|
82 |
<overWrite>true</overWrite> |
|
83 |
<outputDirectory>target/native</outputDirectory> |
|
84 |
</artifactItem> |
|
85 |
</artifactItems> |
|
86 |
</configuration> |
|
87 |
</execution> |
|
88 |
</executions> |
|
89 |
</plugin> |
|
90 |
|
|
91 |
|
|
92 |
</plugins> |
|
93 |
</build> |
|
94 |
|
|
95 |
|
|
96 |
</project> |
|
97 |
|
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.mainplugin/buildNumber.properties | ||
---|---|---|
1 |
#Fri May 26 09:47:12 CEST 2017 |
|
2 |
buildNumber=70 |
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.mainplugin/src/main/assembly/gvsig-plugin-package.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 3 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
26 |
<assembly> |
|
27 |
<id>gvsig-plugin-package</id> |
|
28 |
<formats> |
|
29 |
<format>zip</format> |
|
30 |
</formats> |
|
31 |
<baseDirectory>${gvsig.package.info.code}</baseDirectory> |
|
32 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
33 |
<files> |
|
34 |
<file> |
|
35 |
<source>target/package.info</source> |
|
36 |
</file> |
|
37 |
</files> |
|
38 |
|
|
39 |
<fileSets> |
|
40 |
<fileSet> |
|
41 |
<directory>target/org.gvsig.raster.app.common</directory> |
|
42 |
<outputDirectory>.</outputDirectory> |
|
43 |
<excludes> |
|
44 |
<exclude>package.info</exclude> |
|
45 |
</excludes> |
|
46 |
</fileSet> |
|
47 |
<fileSet> |
|
48 |
<directory>src/main/resources-plugin</directory> |
|
49 |
<outputDirectory>.</outputDirectory> |
|
50 |
</fileSet> |
|
51 |
</fileSets> |
|
52 |
|
|
53 |
<!-- |
|
54 |
<dependencySets> |
|
55 |
<dependencySet> |
|
56 |
<useProjectArtifact>false</useProjectArtifact> |
|
57 |
<useTransitiveDependencies>false</useTransitiveDependencies> |
|
58 |
<outputDirectory>lib</outputDirectory> |
|
59 |
<includes> |
|
60 |
</includes> |
|
61 |
</dependencySet> |
|
62 |
</dependencySets> |
|
63 |
--> |
|
64 |
</assembly> |
|
65 |
|
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.mainplugin/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<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"> |
|
3 |
<modelVersion>4.0.0</modelVersion> |
|
4 |
<artifactId>org.gvsig.raster.app.mainplugin</artifactId> |
|
5 |
<packaging>jar</packaging> |
|
6 |
|
|
7 |
<parent> |
|
8 |
<groupId>org.gvsig</groupId> |
|
9 |
<artifactId>org.gvsig.raster.app</artifactId> |
|
10 |
<version>2.2.61</version> |
|
11 |
</parent> |
|
12 |
|
|
13 |
<dependencies> |
|
14 |
<dependency> |
|
15 |
<groupId>org.gvsig</groupId> |
|
16 |
<artifactId>org.gvsig.raster.app.common</artifactId> |
|
17 |
<type>zip</type> |
|
18 |
</dependency> |
|
19 |
|
|
20 |
</dependencies> |
|
21 |
|
|
22 |
<build> |
|
23 |
<plugins> |
|
24 |
|
|
25 |
<plugin> |
|
26 |
<groupId>org.apache.maven.plugins</groupId> |
|
27 |
<artifactId>maven-dependency-plugin</artifactId> |
|
28 |
<executions> |
|
29 |
<execution> |
|
30 |
<id>unpack</id> |
|
31 |
<phase>process-sources</phase> |
|
32 |
<goals> |
|
33 |
<goal>unpack</goal> |
|
34 |
</goals> |
|
35 |
<configuration> |
|
36 |
<artifactItems> |
|
37 |
<artifactItem> |
|
38 |
<groupId>org.gvsig</groupId> |
|
39 |
<artifactId>org.gvsig.raster.app.common</artifactId> |
|
40 |
<type>zip</type> |
|
41 |
<overWrite>true</overWrite> |
|
42 |
<outputDirectory>target</outputDirectory> |
|
43 |
</artifactItem> |
|
44 |
</artifactItems> |
|
45 |
</configuration> |
|
46 |
</execution> |
|
47 |
</executions> |
|
48 |
</plugin> |
|
49 |
|
|
50 |
|
|
51 |
</plugins> |
|
52 |
</build> |
|
53 |
|
|
54 |
<properties> |
|
55 |
<gvsig.install.plugin>true</gvsig.install.plugin> |
|
56 |
<gvsig.package.info.name>Raster base support</gvsig.package.info.name> |
|
57 |
</properties> |
|
58 |
|
|
59 |
</project> |
|
60 |
|
|
0 | 61 |
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.fedora.x86/buildNumber.properties | ||
---|---|---|
1 |
#Fri Mar 28 13:59:39 CET 2014 |
|
2 |
buildNumber=12 |
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.fedora.x86/src/main/assembly/gvsig-plugin-package.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 3 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
26 |
<assembly> |
|
27 |
<id>gvsig-plugin-package</id> |
|
28 |
<formats> |
|
29 |
<format>zip</format> |
|
30 |
</formats> |
|
31 |
<baseDirectory>${gvsig.package.info.code}</baseDirectory> |
|
32 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
33 |
<files> |
|
34 |
<file> |
|
35 |
<source>target/package.info</source> |
|
36 |
</file> |
|
37 |
</files> |
|
38 |
|
|
39 |
<fileSets> |
|
40 |
<fileSet> |
|
41 |
<directory>target/org.gvsig.raster.app.common</directory> |
|
42 |
<outputDirectory>.</outputDirectory> |
|
43 |
<excludes> |
|
44 |
<exclude>package.info</exclude> |
|
45 |
</excludes> |
|
46 |
</fileSet> |
|
47 |
<fileSet> |
|
48 |
<directory>target/native/lib</directory> |
|
49 |
<outputDirectory>native</outputDirectory> |
|
50 |
</fileSet> |
|
51 |
<fileSet> |
|
52 |
<directory>src/main/resources-plugin</directory> |
|
53 |
<outputDirectory>.</outputDirectory> |
|
54 |
</fileSet> |
|
55 |
</fileSets> |
|
56 |
|
|
57 |
|
|
58 |
<dependencySets> |
|
59 |
<dependencySet> |
|
60 |
<useProjectArtifact>false</useProjectArtifact> |
|
61 |
<useTransitiveDependencies>false</useTransitiveDependencies> |
|
62 |
<outputDirectory>lib</outputDirectory> |
|
63 |
<includes> |
|
64 |
<include>org.gvsig:org.gvsig.jpotrace:jar</include> |
|
65 |
</includes> |
|
66 |
</dependencySet> |
|
67 |
</dependencySets> |
|
68 |
|
|
69 |
</assembly> |
|
70 |
|
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.fedora.x86/src/main/resources-plugin/autorun.sh | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
# |
|
3 |
# gvSIG. Desktop Geographic Information System. |
|
4 |
# |
|
5 |
# Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
# |
|
7 |
# This program is free software; you can redistribute it and/or |
|
8 |
# modify it under the terms of the GNU General Public License |
|
9 |
# as published by the Free Software Foundation; either version 3 |
|
10 |
# of the License, or (at your option) any later version. |
|
11 |
# |
|
12 |
# This program is distributed in the hope that it will be useful, |
|
13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
# GNU General Public License for more details. |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License |
|
18 |
# along with this program; if not, write to the Free Software |
|
19 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
# MA 02110-1301, USA. |
|
21 |
# |
|
22 |
# For any additional information, do not hesitate to contact us |
|
23 |
# at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
# |
|
25 |
|
|
26 |
|
|
27 |
# |
|
28 |
# Plugin autorun |
|
29 |
# |
|
30 |
|
|
31 |
PLUGIN_NAME=$(basename "$PLUGIN_FOLDER") |
|
32 |
|
|
33 |
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PLUGIN_FOLDER/native" |
|
34 |
GVSIG_NATIVE_LIBS="$GVSIG_NATIVE_LIBS:$PLUGIN_FOLDER/native" |
|
35 |
|
|
36 |
|
|
37 |
|
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.fedora.x86/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<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"> |
|
3 |
<modelVersion>4.0.0</modelVersion> |
|
4 |
<artifactId>org.gvsig.raster.app.fedora.x86</artifactId> |
|
5 |
<packaging>jar</packaging> |
|
6 |
|
|
7 |
<parent> |
|
8 |
<groupId>org.gvsig</groupId> |
|
9 |
<artifactId>org.gvsig.raster.app</artifactId> |
|
10 |
<version>2.2.4-SNAPSHOT</version> |
|
11 |
</parent> |
|
12 |
|
|
13 |
<properties> |
|
14 |
<gvsig.package.info.operatingSystem>fedora</gvsig.package.info.operatingSystem> |
|
15 |
<gvsig.package.info.architecture>x86</gvsig.package.info.architecture> |
|
16 |
|
|
17 |
<native.classifier>fedora11-i586-dynamic</native.classifier> |
|
18 |
</properties> |
|
19 |
|
|
20 |
<dependencyManagement> |
|
21 |
<dependencies> |
|
22 |
<dependency> |
|
23 |
<groupId>org.gvsig</groupId> |
|
24 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
25 |
<classifier>${native.classifier}</classifier> |
|
26 |
<type>tar.gz</type> |
|
27 |
<version>2.0.0-SNAPSHOT</version> |
|
28 |
</dependency> |
|
29 |
</dependencies> |
|
30 |
</dependencyManagement> |
|
31 |
|
|
32 |
<dependencies> |
|
33 |
<dependency> |
|
34 |
<groupId>org.gvsig</groupId> |
|
35 |
<artifactId>org.gvsig.raster.app.common</artifactId> |
|
36 |
<type>zip</type> |
|
37 |
</dependency> |
|
38 |
<dependency> |
|
39 |
<groupId>org.gvsig</groupId> |
|
40 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
41 |
<scope>compile</scope> |
|
42 |
</dependency> |
|
43 |
<dependency> |
|
44 |
<groupId>org.gvsig</groupId> |
|
45 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
46 |
<classifier>${native.classifier}</classifier> |
|
47 |
<type>tar.gz</type> |
|
48 |
<scope>runtime</scope> |
|
49 |
</dependency> |
|
50 |
</dependencies> |
|
51 |
|
|
52 |
<build> |
|
53 |
<plugins> |
|
54 |
|
|
55 |
<plugin> |
|
56 |
<groupId>org.apache.maven.plugins</groupId> |
|
57 |
<artifactId>maven-dependency-plugin</artifactId> |
|
58 |
<executions> |
|
59 |
<execution> |
|
60 |
<id>unpack</id> |
|
61 |
<phase>process-sources</phase> |
|
62 |
<goals> |
|
63 |
<goal>unpack</goal> |
|
64 |
</goals> |
|
65 |
<configuration> |
|
66 |
<artifactItems> |
|
67 |
<artifactItem> |
|
68 |
<groupId>org.gvsig</groupId> |
|
69 |
<artifactId>org.gvsig.raster.app.common</artifactId> |
|
70 |
<type>zip</type> |
|
71 |
<overWrite>true</overWrite> |
|
72 |
<outputDirectory>target</outputDirectory> |
|
73 |
</artifactItem> |
|
74 |
<artifactItem> |
|
75 |
<groupId>org.gvsig</groupId> |
|
76 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
77 |
<classifier>${native.classifier}</classifier> |
|
78 |
<type>tar.gz</type> |
|
79 |
<overWrite>true</overWrite> |
|
80 |
<outputDirectory>target/native</outputDirectory> |
|
81 |
</artifactItem> |
|
82 |
</artifactItems> |
|
83 |
</configuration> |
|
84 |
</execution> |
|
85 |
</executions> |
|
86 |
</plugin> |
|
87 |
|
|
88 |
|
|
89 |
</plugins> |
|
90 |
</build> |
|
91 |
|
|
92 |
|
|
93 |
</project> |
|
94 |
|
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.lin.x86/src/main/resources-plugin/autorun.sh | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
# |
|
3 |
# gvSIG. Desktop Geographic Information System. |
|
4 |
# |
|
5 |
# Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
# |
|
7 |
# This program is free software; you can redistribute it and/or |
|
8 |
# modify it under the terms of the GNU General Public License |
|
9 |
# as published by the Free Software Foundation; either version 3 |
|
10 |
# of the License, or (at your option) any later version. |
|
11 |
# |
|
12 |
# This program is distributed in the hope that it will be useful, |
|
13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
# GNU General Public License for more details. |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License |
|
18 |
# along with this program; if not, write to the Free Software |
|
19 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
# MA 02110-1301, USA. |
|
21 |
# |
|
22 |
# For any additional information, do not hesitate to contact us |
|
23 |
# at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
# |
|
25 |
|
|
26 |
|
|
27 |
# |
|
28 |
# Plugin autorun |
|
29 |
# |
|
30 |
|
|
31 |
PLUGIN_NAME=$(basename "$PLUGIN_FOLDER") |
|
32 |
|
|
33 |
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PLUGIN_FOLDER/native" |
|
34 |
GVSIG_NATIVE_LIBS="$GVSIG_NATIVE_LIBS:$PLUGIN_FOLDER/native" |
|
35 |
|
|
36 |
|
|
37 |
|
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.lin.x86/src/main/assembly/gvsig-plugin-package.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 3 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
26 |
<assembly> |
|
27 |
<id>gvsig-plugin-package</id> |
|
28 |
<formats> |
|
29 |
<format>zip</format> |
|
30 |
</formats> |
|
31 |
<baseDirectory>${gvsig.package.info.code}</baseDirectory> |
|
32 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
33 |
<files> |
|
34 |
<file> |
|
35 |
<source>target/package.info</source> |
|
36 |
</file> |
|
37 |
</files> |
|
38 |
|
|
39 |
<fileSets> |
|
40 |
<fileSet> |
|
41 |
<directory>target/org.gvsig.raster.app.common</directory> |
|
42 |
<outputDirectory>.</outputDirectory> |
|
43 |
<excludes> |
|
44 |
<exclude>package.info</exclude> |
|
45 |
</excludes> |
|
46 |
</fileSet> |
|
47 |
<fileSet> |
|
48 |
<directory>target/native/lib</directory> |
|
49 |
<outputDirectory>native</outputDirectory> |
|
50 |
</fileSet> |
|
51 |
<fileSet> |
|
52 |
<directory>src/main/resources-plugin</directory> |
|
53 |
<outputDirectory>.</outputDirectory> |
|
54 |
</fileSet> |
|
55 |
</fileSets> |
|
56 |
|
|
57 |
|
|
58 |
<dependencySets> |
|
59 |
<dependencySet> |
|
60 |
<useProjectArtifact>false</useProjectArtifact> |
|
61 |
<useTransitiveDependencies>false</useTransitiveDependencies> |
|
62 |
<outputDirectory>lib</outputDirectory> |
|
63 |
<includes> |
|
64 |
<include>org.gvsig:org.gvsig.jpotrace:jar</include> |
|
65 |
</includes> |
|
66 |
</dependencySet> |
|
67 |
</dependencySets> |
|
68 |
|
|
69 |
</assembly> |
|
70 |
|
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.lin.x86/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<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"> |
|
3 |
<modelVersion>4.0.0</modelVersion> |
|
4 |
<artifactId>org.gvsig.raster.app.lin.x86</artifactId> |
|
5 |
<packaging>jar</packaging> |
|
6 |
|
|
7 |
<parent> |
|
8 |
<groupId>org.gvsig</groupId> |
|
9 |
<artifactId>org.gvsig.raster.app</artifactId> |
|
10 |
<version>2.2.22-SNAPSHOT</version> |
|
11 |
</parent> |
|
12 |
|
|
13 |
<properties> |
|
14 |
<gvsig.package.info.operatingSystem>lin</gvsig.package.info.operatingSystem> |
|
15 |
<gvsig.package.info.architecture>x86</gvsig.package.info.architecture> |
|
16 |
|
|
17 |
<jpotrace.classifier>linux-all-gcc4-i386-dynamic</jpotrace.classifier> |
|
18 |
<jpotrace.version>2.0.0</jpotrace.version> |
|
19 |
</properties> |
|
20 |
|
|
21 |
<dependencyManagement> |
|
22 |
<dependencies> |
|
23 |
<dependency> |
|
24 |
<groupId>org.gvsig</groupId> |
|
25 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
26 |
<classifier>${jpotrace.classifier}</classifier> |
|
27 |
<version>${jpotrace.version}</version> |
|
28 |
<type>tar.gz</type> |
|
29 |
</dependency> |
|
30 |
</dependencies> |
|
31 |
</dependencyManagement> |
|
32 |
|
|
33 |
<dependencies> |
|
34 |
<dependency> |
|
35 |
<groupId>org.gvsig</groupId> |
|
36 |
<artifactId>org.gvsig.raster.app.common</artifactId> |
|
37 |
<type>zip</type> |
|
38 |
</dependency> |
|
39 |
<dependency> |
|
40 |
<groupId>org.gvsig</groupId> |
|
41 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
42 |
<scope>compile</scope> |
|
43 |
</dependency> |
|
44 |
<dependency> |
|
45 |
<groupId>org.gvsig</groupId> |
|
46 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
47 |
<classifier>${jpotrace.classifier}</classifier> |
|
48 |
<version>${jpotrace.version}</version> |
|
49 |
<type>tar.gz</type> |
|
50 |
<scope>runtime</scope> |
|
51 |
</dependency> |
|
52 |
</dependencies> |
|
53 |
|
|
54 |
<build> |
|
55 |
<plugins> |
|
56 |
|
|
57 |
<plugin> |
|
58 |
<groupId>org.apache.maven.plugins</groupId> |
|
59 |
<artifactId>maven-dependency-plugin</artifactId> |
|
60 |
<executions> |
|
61 |
<execution> |
|
62 |
<id>unpack</id> |
|
63 |
<phase>process-sources</phase> |
|
64 |
<goals> |
|
65 |
<goal>unpack</goal> |
|
66 |
</goals> |
|
67 |
<configuration> |
|
68 |
<artifactItems> |
|
69 |
<artifactItem> |
|
70 |
<groupId>org.gvsig</groupId> |
|
71 |
<artifactId>org.gvsig.raster.app.common</artifactId> |
|
72 |
<type>zip</type> |
|
73 |
<overWrite>true</overWrite> |
|
74 |
<outputDirectory>target</outputDirectory> |
|
75 |
</artifactItem> |
|
76 |
<artifactItem> |
|
77 |
<groupId>org.gvsig</groupId> |
|
78 |
<artifactId>org.gvsig.jpotrace</artifactId> |
|
79 |
<classifier>${jpotrace.classifier}</classifier> |
|
80 |
<version>${jpotrace.version}</version> |
|
81 |
<type>tar.gz</type> |
|
82 |
<overWrite>true</overWrite> |
|
83 |
<outputDirectory>target/native</outputDirectory> |
|
84 |
</artifactItem> |
|
85 |
</artifactItems> |
|
86 |
</configuration> |
|
87 |
</execution> |
|
88 |
</executions> |
|
89 |
</plugin> |
|
90 |
|
|
91 |
|
|
92 |
</plugins> |
|
93 |
</build> |
|
94 |
|
|
95 |
<!-- |
|
96 |
The profiles only configure the automatic deploy of gvSIG plugin in the gvSIG |
|
97 |
configured in HOME/.gvsig-devel.properties |
|
98 |
--> |
|
99 |
<profiles> |
|
100 |
|
|
101 |
<profile> |
|
102 |
<id>gvsig-plugin-install-raster-linux-x86</id> |
|
103 |
<activation> |
|
104 |
<os> |
|
105 |
<family>unix</family> |
|
106 |
<name>linux</name> |
|
107 |
<arch>x86</arch> |
|
108 |
</os> |
|
109 |
</activation> |
|
110 |
<properties> |
|
111 |
<gvsig.install.plugin>true</gvsig.install.plugin> |
|
112 |
</properties> |
|
113 |
</profile> |
|
114 |
|
|
115 |
<profile> |
|
116 |
<id>gvsig-plugin-install-raster-linux-i386</id> |
|
117 |
<activation> |
|
118 |
<os> |
|
119 |
<family>unix</family> |
|
120 |
<name>linux</name> |
|
121 |
<arch>i386</arch> |
|
122 |
</os> |
|
123 |
</activation> |
|
124 |
<properties> |
|
125 |
<gvsig.install.plugin>true</gvsig.install.plugin> |
|
126 |
</properties> |
|
127 |
</profile> |
|
128 |
|
|
129 |
</profiles> |
|
130 |
|
|
131 |
</project> |
|
132 |
|
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.lin.x86/buildNumber.properties | ||
---|---|---|
1 |
#Thu Oct 08 22:02:19 CEST 2015 |
|
2 |
buildNumber=26 |
|
0 | 3 |
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.common/src/main/java/org/gvsig/raster/mainplugin/beans/createlayer/CreateLayerPanel.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.mainplugin.beans.createlayer; |
|
23 |
|
|
24 |
import java.awt.GridBagConstraints; |
|
25 |
import java.awt.GridBagLayout; |
|
26 |
import java.awt.Insets; |
|
27 |
import java.awt.event.ItemEvent; |
|
28 |
import java.awt.event.ItemListener; |
|
29 |
|
|
30 |
import javax.swing.BorderFactory; |
|
31 |
import javax.swing.ButtonGroup; |
|
32 |
import javax.swing.JPanel; |
|
33 |
import javax.swing.JRadioButton; |
|
34 |
|
|
35 |
import org.gvsig.andami.PluginServices; |
|
36 |
import org.gvsig.raster.fmap.layers.FLyrRaster; |
|
37 |
|
|
38 |
/** |
|
39 |
* Panel para unificar las propiedades de generacion de capas nuevas en ficheros |
|
40 |
* o solo en visualizacion. |
|
41 |
* |
|
42 |
* @version 10/03/2008 |
|
43 |
* @author BorSanZa - Borja S?nchez Zamorano |
|
44 |
*/ |
|
45 |
public class CreateLayerPanel { |
|
46 |
private JPanel panel = null; |
|
47 |
private JRadioButton jRBOnlyView = null; |
|
48 |
private JRadioButton jRBNewLayer = null; |
|
49 |
private NewLayerPanel panelNewLayer = null; |
|
50 |
private FLyrRaster lyr = null; |
|
51 |
|
|
52 |
/** |
|
53 |
* Constructor de un CreateLayerPanel |
|
54 |
*/ |
|
55 |
public CreateLayerPanel(FLyrRaster lyr) { |
|
56 |
this.lyr = lyr; |
|
57 |
initialize(); |
|
58 |
translate(); |
|
59 |
} |
|
60 |
|
|
61 |
/** |
|
62 |
* Disables the new layer option. It is useful for remote |
|
63 |
* services |
|
64 |
*/ |
|
65 |
public void disableNewLayer() { |
|
66 |
getRadioOnlyView().setSelected(true); |
|
67 |
getRadioNewLayer().setEnabled(false); |
|
68 |
} |
|
69 |
|
|
70 |
/** |
|
71 |
* Devuelve el panel principal |
|
72 |
* @return |
|
73 |
*/ |
|
74 |
public JPanel getJPanel() { |
|
75 |
if (panel == null) { |
|
76 |
panel = new JPanel(); |
|
77 |
} |
|
78 |
return panel; |
|
79 |
} |
|
80 |
|
|
81 |
/** |
|
82 |
* Seccion donde ir?n todas las traducciones invariables del componente |
|
83 |
*/ |
|
84 |
private void translate() { |
|
85 |
getRadioOnlyView().setText(PluginServices.getText(this, "solo_visualizacion")); |
|
86 |
getRadioNewLayer().setText(PluginServices.getText(this, "capa_nueva")); |
|
87 |
} |
|
88 |
|
|
89 |
/** |
|
90 |
* Inicializar el panel de CreateLayer |
|
91 |
*/ |
|
92 |
private void initialize() { |
|
93 |
ButtonGroup buttonGroup1; |
|
94 |
GridBagConstraints gridBagConstraints; |
|
95 |
|
|
96 |
getJPanel().setLayout(new GridBagLayout()); |
|
97 |
|
|
98 |
buttonGroup1 = new ButtonGroup(); |
|
99 |
buttonGroup1.add(getRadioOnlyView()); |
|
100 |
|
|
101 |
gridBagConstraints = new GridBagConstraints(); |
|
102 |
gridBagConstraints.gridx = 0; |
|
103 |
gridBagConstraints.gridy = 0; |
|
104 |
gridBagConstraints.anchor = GridBagConstraints.WEST; |
|
105 |
gridBagConstraints.insets = new Insets(3, 3, 3, 3); |
|
106 |
getJPanel().add(getRadioOnlyView(), gridBagConstraints); |
|
107 |
|
|
108 |
buttonGroup1.add(getRadioNewLayer()); |
|
109 |
|
|
110 |
gridBagConstraints = new GridBagConstraints(); |
|
111 |
gridBagConstraints.gridx = 0; |
|
112 |
gridBagConstraints.gridy = 1; |
|
113 |
gridBagConstraints.anchor = GridBagConstraints.WEST; |
|
114 |
gridBagConstraints.insets = new Insets(3, 3, 3, 3); |
|
115 |
getJPanel().add(getRadioNewLayer(), gridBagConstraints); |
|
116 |
|
|
117 |
gridBagConstraints = new GridBagConstraints(); |
|
118 |
gridBagConstraints.gridx = 0; |
|
119 |
gridBagConstraints.gridy = 2; |
|
120 |
gridBagConstraints.anchor = GridBagConstraints.WEST; |
|
121 |
gridBagConstraints.insets = new Insets(3, 3, 3, 3); |
|
122 |
getJPanel().add(getPanelNewLayer().getJPanel(), gridBagConstraints); |
|
123 |
} |
|
124 |
|
|
125 |
public NewLayerPanel getPanelNewLayer() { |
|
126 |
if (panelNewLayer == null) |
|
127 |
panelNewLayer = new NewLayerPanel(lyr); |
|
128 |
return panelNewLayer; |
|
129 |
} |
|
130 |
|
|
131 |
/** |
|
132 |
* Poner los estados de los RadioButton en caso de que cambien de valor |
|
133 |
* @param evt |
|
134 |
*/ |
|
135 |
private void jRBNewLayerStateChanged(ItemEvent evt) { |
|
136 |
if (getRadioNewLayer().getSelectedObjects() != null) { |
|
137 |
getPanelNewLayer().getRadioFileGenerate().setEnabled(true); |
|
138 |
getPanelNewLayer().getRadioOpenMemory().setEnabled(true); |
|
139 |
if (getPanelNewLayer().getRadioOpenMemory().getSelectedObjects() != null) |
|
140 |
getPanelNewLayer().setFilenameEnabled(true); |
|
141 |
else |
|
142 |
getPanelNewLayer().setFilenameEnabled(false); |
|
143 |
} else { |
|
144 |
getPanelNewLayer().getRadioFileGenerate().setEnabled(false); |
|
145 |
getPanelNewLayer().getRadioOpenMemory().setEnabled(false); |
|
146 |
getPanelNewLayer().setFilenameEnabled(false); |
|
147 |
} |
|
148 |
} |
|
149 |
|
|
150 |
/** |
|
151 |
* Especifica si se generara solo en la vista o se guardara en un fichero |
|
152 |
* @param enabled |
|
153 |
*/ |
|
154 |
public void setOnlyView(boolean enabled) { |
|
155 |
getRadioOnlyView().setSelected(enabled); |
|
156 |
} |
|
157 |
|
|
158 |
/** |
|
159 |
* Devuelve el JRadioButton de Solo vista |
|
160 |
* @return |
|
161 |
*/ |
|
162 |
private JRadioButton getRadioOnlyView() { |
|
163 |
if (jRBOnlyView == null) { |
|
164 |
jRBOnlyView = new JRadioButton(); |
|
165 |
jRBOnlyView.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); |
|
166 |
jRBOnlyView.setMargin(new Insets(0, 0, 0, 0)); |
|
167 |
} |
|
168 |
return jRBOnlyView; |
|
169 |
} |
|
170 |
|
|
171 |
/** |
|
172 |
* Devuelve el JRadioButton de nueva capa |
|
173 |
* @return |
|
174 |
*/ |
|
175 |
private JRadioButton getRadioNewLayer() { |
|
176 |
if (jRBNewLayer == null) { |
|
177 |
jRBNewLayer = new JRadioButton(); |
|
178 |
jRBNewLayer.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); |
|
179 |
jRBNewLayer.setMargin(new Insets(0, 0, 0, 0)); |
|
180 |
jRBNewLayer.addItemListener(new ItemListener() { |
|
181 |
public void itemStateChanged(ItemEvent evt) { |
|
182 |
jRBNewLayerStateChanged(evt); |
|
183 |
} |
|
184 |
}); |
|
185 |
jRBNewLayer.setSelected(true); |
|
186 |
} |
|
187 |
return jRBNewLayer; |
|
188 |
} |
|
189 |
|
|
190 |
/** |
|
191 |
* This method initializes jPNameFile |
|
192 |
* |
|
193 |
* @return javax.swing.JPanel |
|
194 |
*/ |
|
195 |
public JPanel getFileNamePanel() { |
|
196 |
return getPanelNewLayer().getFileNamePanel(); |
|
197 |
} |
|
198 |
|
|
199 |
/** |
|
200 |
* Establece el texto de la etiqueta del nombre de fichero |
|
201 |
* @param text |
|
202 |
*/ |
|
203 |
public void setLabelFilename(String text) { |
|
204 |
getPanelNewLayer().setLabelFilename(text); |
|
205 |
} |
|
206 |
|
|
207 |
public boolean isNewLayerSelected() { |
|
208 |
return getRadioNewLayer().isSelected(); |
|
209 |
} |
|
210 |
|
|
211 |
public boolean isOnlyViewSelected() { |
|
212 |
return getRadioOnlyView().isSelected(); |
|
213 |
} |
|
214 |
|
|
215 |
/** |
|
216 |
* Asigna un valor para el par?metro que informa de si el raster de salida hay |
|
217 |
* que comprimirlo o no. Este valor es necesario cuando el raster de salida |
|
218 |
* es mayor de 4G ya que no se puede crear un tiff tan grande. |
|
219 |
* @param compress true para comprimir el raster de salida y false para no hacerlo. |
|
220 |
*/ |
|
221 |
public void setCompress(boolean compress) { |
|
222 |
getPanelNewLayer().setCompress(compress); |
|
223 |
} |
|
224 |
|
|
225 |
/** |
|
226 |
* Devuelve la ruta del fichero donde se va a guardar, en caso de guardarse |
|
227 |
* en memoria, calcula el nombre sin preguntar y devuelve la ruta. |
|
228 |
* @return |
|
229 |
*/ |
|
230 |
public String getFileSelected() { |
|
231 |
return getPanelNewLayer().getFileSelected(); |
|
232 |
} |
|
233 |
|
|
234 |
public void updateNewLayerText() { |
|
235 |
getPanelNewLayer().updateNewLayerText(); |
|
236 |
} |
|
237 |
} |
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.common/src/main/java/org/gvsig/raster/mainplugin/beans/createlayer/SelectDirectoryPanel.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.mainplugin.beans.createlayer; |
|
23 |
|
|
24 |
import java.awt.Dimension; |
|
25 |
import java.awt.GridBagConstraints; |
|
26 |
import java.awt.GridBagLayout; |
|
27 |
import java.awt.Insets; |
|
28 |
import java.awt.event.ActionEvent; |
|
29 |
import java.awt.event.ActionListener; |
|
30 |
import java.io.File; |
|
31 |
|
|
32 |
import javax.swing.JButton; |
|
33 |
import javax.swing.JLabel; |
|
34 |
import javax.swing.JPanel; |
|
35 |
import javax.swing.JTextField; |
|
36 |
|
|
37 |
import org.gvsig.andami.PluginServices; |
|
38 |
import org.gvsig.gui.beans.swing.JFileChooser; |
|
39 |
|
|
40 |
|
|
41 |
/** |
|
42 |
* Panel para la selecci?n de directorios. |
|
43 |
* |
|
44 |
* 13/05/2008 |
|
45 |
* @author Nacho Brodin nachobrodin@gmail.com |
|
46 |
*/ |
|
47 |
public class SelectDirectoryPanel extends JPanel implements ActionListener { |
|
48 |
private static final long serialVersionUID = 1L; |
|
49 |
private JTextField directoryTextField = null; |
|
50 |
private JLabel jLabelDirectory = null; |
|
51 |
private JButton jBChooseDirectory = null; |
|
52 |
private ActionListener listener = null; |
|
53 |
|
|
54 |
/** |
|
55 |
* Constructor. |
|
56 |
* Inicializa los componentes gr?ficos |
|
57 |
*/ |
|
58 |
public SelectDirectoryPanel() { |
|
59 |
init(); |
|
60 |
} |
|
61 |
|
|
62 |
/** |
|
63 |
* This method initializes jPNameFile |
|
64 |
* @return javax.swing.JPanel |
|
65 |
*/ |
|
66 |
private void init() { |
|
67 |
GridBagConstraints gridBagConstraints = null; |
|
68 |
|
|
69 |
setLayout(new GridBagLayout()); |
|
70 |
|
|
71 |
gridBagConstraints = new GridBagConstraints(); |
|
72 |
gridBagConstraints.insets = new Insets(2, 5, 5, 2); |
|
73 |
add(getJLabelDirectory(), gridBagConstraints); |
|
74 |
|
|
75 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
76 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
|
77 |
gridBagConstraints.weightx = 1.0; |
|
78 |
gridBagConstraints.insets = new java.awt.Insets(2, 2, 5, 2); |
|
79 |
add(getDirectoryTextField(), gridBagConstraints); |
|
80 |
|
|
81 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
|
82 |
gridBagConstraints.insets = new java.awt.Insets(2, 2, 5, 5); |
|
83 |
add(getJBChooseDirectory(), gridBagConstraints); |
|
84 |
|
|
85 |
getJBChooseDirectory().addActionListener(this); |
|
86 |
} |
|
87 |
|
|
88 |
public void setListener(ActionListener listener) { |
|
89 |
this.listener = listener; |
|
90 |
} |
|
91 |
|
|
92 |
/** |
|
93 |
* Obtiene el bot?n de asignaci?n de directorio |
|
94 |
* @return JButton |
|
95 |
*/ |
|
96 |
public JButton getJBChooseDirectory() { |
|
97 |
if (jBChooseDirectory == null) { |
|
98 |
jBChooseDirectory = new JButton(PluginServices.getText(this, "cambiar_ruta")); |
|
99 |
jBChooseDirectory.setEnabled(false); |
|
100 |
} |
|
101 |
return jBChooseDirectory; |
|
102 |
} |
|
103 |
|
|
104 |
/** |
|
105 |
* Obtiene la etiqueta con la ruta |
|
106 |
* @return JLabel |
|
107 |
*/ |
|
108 |
public JLabel getJLabelDirectory() { |
|
109 |
if (jLabelDirectory == null) { |
|
110 |
jLabelDirectory = new JLabel(PluginServices.getText(this, "ruta") + ":"); |
|
111 |
jLabelDirectory.setEnabled(false); |
|
112 |
} |
|
113 |
return jLabelDirectory; |
|
114 |
} |
|
115 |
|
|
116 |
/** |
|
117 |
* Obtiene el campo de texto con la ruta de directorio |
|
118 |
* @return JTextField |
|
119 |
*/ |
|
120 |
public JTextField getDirectoryTextField() { |
|
121 |
if (directoryTextField == null) { |
|
122 |
directoryTextField = new JTextField(); |
|
123 |
directoryTextField.setText(JFileChooser.getLastPath(this.getClass().getName(), (File) null).toString()); |
|
124 |
directoryTextField.setEditable(false); |
|
125 |
directoryTextField.setEnabled(false); |
|
126 |
directoryTextField.setPreferredSize(new Dimension(200, directoryTextField.getPreferredSize().height)); |
|
127 |
} |
|
128 |
return directoryTextField; |
|
129 |
} |
|
130 |
|
|
131 |
/** |
|
132 |
* Accion que sucede cuando se pulsa el boton de cambiar directorio |
|
133 |
*/ |
|
134 |
public void actionPerformed(ActionEvent e) { |
|
135 |
JFileChooser chooser = new JFileChooser(this.getClass().getName(), new File(getDirectoryTextField().getText())); |
|
136 |
chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); |
|
137 |
chooser.setDialogTitle(PluginServices.getText(this, "seleccionar_directorio")); |
|
138 |
|
|
139 |
if (chooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) |
|
140 |
getDirectoryTextField().setText(chooser.getSelectedFile().toString()); |
|
141 |
else |
|
142 |
chooser.setLastPath(new File(getDirectoryTextField().getText())); |
|
143 |
|
|
144 |
if(listener != null) |
|
145 |
listener.actionPerformed(new ActionEvent(this, 0, getPath())); |
|
146 |
} |
|
147 |
|
|
148 |
/** |
|
149 |
* Obtiene la ruta al directorio. |
|
150 |
* @return String |
|
151 |
*/ |
|
152 |
public String getPath() { |
|
153 |
return getDirectoryTextField().getText(); |
|
154 |
} |
|
155 |
} |
org.gvsig.raster/tags/org.gvsig.raster-2.2.61/org.gvsig.raster.app/org.gvsig.raster.app.common/src/main/java/org/gvsig/raster/mainplugin/beans/createlayer/WritableFolderPanel.java | ||
---|---|---|
1 |
package org.gvsig.raster.mainplugin.beans.createlayer; |
|
2 |
|
|
3 |
import java.awt.GridBagConstraints; |
|
4 |
import java.awt.GridBagLayout; |
|
5 |
import java.awt.Point; |
|
6 |
import java.awt.event.ActionEvent; |
|
7 |
import java.awt.event.ActionListener; |
|
8 |
import java.io.File; |
|
9 |
|
|
10 |
import javax.swing.JButton; |
|
11 |
import javax.swing.JCheckBox; |
|
12 |
import javax.swing.JLabel; |
|
13 |
|
|
14 |
import org.cresques.Messages; |
|
15 |
import org.gvsig.andami.PluginServices; |
|
16 |
import org.gvsig.andami.ui.mdiManager.IWindow; |
|
17 |
import org.gvsig.andami.ui.mdiManager.WindowInfo; |
Also available in: Unified diff