Revision 2862

View differences:

org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/prepare-workspace.xml
1
<project name="org.gvsig.initial.build" default="prepare-workspace">
2

  
3
	<dirname property="org.gvsig.initial.build.basedir" file="${ant.file.org.gvsig.initial.build}" />
4

  
5
	<property name="workspace.basedir" value="${org.gvsig.initial.build.basedir}/.." />
6
	<property name="build.basedir" value="${workspace.basedir}/org.gvsig.maven.base.build" description="Eclipse workspace location" />
7
	<property name="build.jar.version" value="1.0.8-SNAPSHOT" />
8
	<property name="build.jar.file" value="org.gvsig.maven.base.build-${build.jar.version}.jar" />
9

  
10
	<property name="ant.libs.dir" location="${build.basedir}" description="Additional ant tasks libs folder" />
11

  
12
	<target name="check-maven-base-build-available">
13
		<available file="${user.home}/.m2/repository/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}" property="maven-base-build-available" />
14
	</target>
15

  
16
	<target name="get-maven-base-build-local" depends="check-maven-base-build-available" if="maven-base-build-available">
17
		<!-- Unzip de build jar file from the maven repository into the workspace root folder -->
18
		<copy todir="${workspace.basedir}" preservelastmodified="false" filtering="false">
19
			<zipfileset src="${user.home}/.m2/repository/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}">
20
				<patternset>
21
					<exclude name="META-INF/**" />
22
				</patternset>
23
			</zipfileset>
24
		</copy>
25
	</target>
26

  
27
	<target name="get-maven-base-build-remote" depends="check-maven-base-build-available" unless="maven-base-build-available">
28
		<mkdir dir="target" />
29

  
30
		<!-- Download the build jar file -->
31
		<get src="http://devel.gvsig.org/m2repo/j2se/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}" dest="target/${build.jar.file}" verbose="true" />
32

  
33
		<!-- Unzip de build jar file into the workspace root folder -->
34
		<copy todir="${workspace.basedir}" preservelastmodified="false" filtering="false">
35
			<zipfileset src="target/${build.jar.file}">
36
				<patternset>
37
					<exclude name="META-INF/**" />
38
				</patternset>
39
			</zipfileset>
40
		</copy>
41

  
42
	</target>
43
	
44
	<target name="find.depends.natives.file">
45
	    <condition property="depends.natives.file.exists">
46
            <available file="${org.gvsig.initial.build.basedir}/DEPENDS_ON_NATIVE_LIBRARIES"/>
47
	    </condition>	
48
	</target>
49
	
50
	<target name="find.gvsig.platform.properties.file" 
51
			depends="find.depends.natives.file"
52
			if="depends.natives.file.exists">
53
	    <condition property="gvsig.platform.exists">
54
            <available file="${user.home}/.gvsig.platform.properties"/>
55
	    </condition>	
56
	</target>
57
	
58
	<target name="check.gvsig.platform.properties" 
59
			depends="find.gvsig.platform.properties.file">
60
		<fail if="depends.natives.file.exists" unless="gvsig.platform.exists">
61
ERROR!!
62
	
63
You have to define your gvSIG platform properties, 
64
by creating the file: ${user.home}/.gvsig.platform.properties
65
with the following content:
66

  
67
native_platform=linux
68
native_distribution=all
69
native_compiler=gcc4
70
native_arch=i386
71
native_libraryType=dynamic
72
export native_classifier=${native_platform}-${native_distribution}-${native_compiler}-${native_arch}-${native_libraryType}
73

  
74
Replace the fifth initial variables values with the ones appropiate 
75
to your platform.
76
	
77
If you use maven in the command line, you can use the previous file also
78
to define the MAVEN_OPTS environment variable, by adding to your 
79
.bash_rc file something like this:
80

  
81
if [ -f "${HOME}/.gvsig.platform.properties" ]
82
then
83
    . ${HOME}/.gvsig.platform.properties
84
    export MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m -Dnative_classifier=${native_classifier}"
85
else
86
    export MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m"
87
fi
88

  
89
It will work if you use the bash shell. In any other case or platform, you'll
90
have to define your MAVEN_OPTS environment variable and set the 
91
"native_classifier" parameter directly.
92
		</fail>			
93
	
94
	</target>
95

  
96
	<target name="prepare-workspace" depends="get-maven-base-build-local,get-maven-base-build-remote,check.gvsig.platform.properties">
97

  
98
		<mkdir dir="target" />
99

  
100
		<chmod dir="${build.basedir}/maven/bin" perm="u+x" includes="m2,mvn,mvnDebug" />
101

  
102
		<!-- Copy the maven launchers to the workspace metadata folder -->
103
		<copy todir="${workspace.basedir}/.metadata">
104
			<fileset dir="${build.basedir}/eclipse-launchers">
105
				<exclude name="**/org.eclipse.jdt.core.prefs" />
106
				<exclude name="**/org.eclipse.core.variables.prefs" />
107
			</fileset>
108
		</copy>
109

  
110
		<concat destfile="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs" append="true">
111
			<filelist dir="${build.basedir}/eclipse-launchers/.plugins/org.eclipse.core.runtime/.settings" files="org.eclipse.jdt.core.prefs" />
112
		</concat>
113
		<concat destfile="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.variables.prefs" append="true">
114
			<filelist dir="${build.basedir}/eclipse-launchers/.plugins/org.eclipse.core.runtime/.settings" files="org.eclipse.core.variables.prefs" />
115
		</concat>
116

  
117
		<!-- Configure the eclipse workspace -->
118
		<ant antfile="${build.basedir}/maven-goals.xml" target="mvn-configure-eclipse-workspace" />
119

  
120
		<!-- Configure the gvSIG profile -->
121
		<ant antfile="${build.basedir}/check-gvsig-profile.xml" />
122

  
123
		<property name="user-settings-file-location" value="${user.home}/.m2/settings.xml" />
124

  
125
		<taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask">
126
			<classpath>
127
				<pathelement location="${ant.libs.dir}/com.oopsconsultancy.xmltask-1.16.1.jar" />
128
			</classpath>
129
		</taskdef>
130

  
131
		<xmltask source="${user-settings-file-location}" dest="${user-settings-file-location}">
132
			<copy path="//:settings/:profiles/:profile[:id/text() = 'gvsig-install']/:properties/:gvsig.install.dir/text()" property="current-gvsig-location" />
133
		</xmltask>
134

  
135
		<replace file="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs" token="@GVSIG_HOME@" value="${current-gvsig-location}" />
136
		<replace file="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.variables.prefs" token="@GVSIG_HOME@" value="${current-gvsig-location}" />
137

  
138
		<!-- Compile, install and generate eclipse projects -->
139
		<ant antfile="${build.basedir}/maven-goals.xml" target="mvn-install-and-eclipse-eclipse" />
140

  
141
		<echo>INFORMATION!!!</echo>
142
		<echo>Restart eclipse and then proceed to import the subprojects contained into the main project</echo>
143

  
144
		<!-- TODO: copiar al proyecto de configuración general -->
145
	</target>
146

  
147
	<target name="clean">
148
		<delete dir="target" />
149
	</target>
150
	
151
</project>
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/buildNumber.properties
1
#Fri Mar 28 14:00:07 CET 2014
2
buildNumber=57
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/unpack-dependencies.sh
1
#!/bin/bash
2

  
3
#set -x
4

  
5
dep_dir=$1;
6
dest_dir=$2;
7

  
8
if [ ! -d $dest_dir ]; then mkdir $dest_dir; fi;
9
if [ ! -d $dep_dir ]; then exit 0; fi 
10

  
11
if [ ! -d $dest_dir/unpacked ]; then
12
	mkdir $dest_dir/unpacked;
13
fi
14

  
15
# Get all natives sdk bundle files
16
files=$(find $dep_dir -type f -name *.tar.gz)
17

  
18
for i in $files; do
19
	filename=`basename $i`
20
	filedest="$dest_dir/unpacked/$filename"
21
	
22
	#echo FileName: "$filename"
23
	#echo FileDest: "$filedest"
24
	
25
    # Overwrite only if the file is newer than the one stored as unpacked
26
	if [ ! -f "$filedest" ] || [ "$i" -nt "$filedest" ]; then
27
		echo "Expanding $i in $dest_dir"
28
		cp "$i" "$dest_dir/unpacked"
29
		tar xzf "$i" -C "$dest_dir"
30
	else
31
		echo "$i not newer than the one available in $dest_dir/unpacked, not expanding it"
32
	fi
33
done
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.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.gdal.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.jgdal:jar</include>
65
            <include>org.gdal:gdal:jar</include>
66
		</includes>
67
    </dependencySet>
68
  </dependencySets>
69

  
70
</assembly>
71

  
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.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.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.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.gdal.app.lin.x86</artifactId>
5
  <packaging>jar</packaging>
6
   
7
 	<parent>
8
		<groupId>org.gvsig</groupId>
9
		<artifactId>org.gvsig.raster.gdal.app</artifactId>
10
    <version>2.2.3-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
    <jgdal.classifier>linux-all-gcc4-i386-dynamic</jgdal.classifier>
18
    <jgdal.version>2.0.4</jgdal.version>
19
    
20
    <gdal.classifier >linux-all-gcc4-i686-dynamic</gdal.classifier>
21
 		<gdal.version>1.10.1</gdal.version>    
22
  </properties>
23

  
24
  <dependencyManagement>
25
      <dependencies>
26
        <dependency>
27
            <groupId>org.gvsig</groupId>
28
            <artifactId>org.gvsig.jgdal</artifactId>
29
            <version>${jgdal.version}</version>
30
            <classifier>${jgdal.classifier}</classifier>
31
            <type>tar.gz</type>
32
            <scope>runtime</scope>
33
        </dependency>
34
        <dependency>
35
          <groupId>org.gdal</groupId>
36
          <artifactId>gdal</artifactId>
37
          <version>${gdal.version}</version>
38
          <classifier>${gdal.classifier}</classifier>
39
          <scope>runtime</scope>
40
          <type>tar.gz</type>
41
        </dependency>
42
    </dependencies>
43
  </dependencyManagement>
44

  
45
  <dependencies>
46
  
47
    <dependency>
48
      <groupId>org.gvsig</groupId>
49
      <artifactId>org.gvsig.raster.gdal.app.common</artifactId>
50
      <type>zip</type>
51
    </dependency>
52
    <dependency>
53
			<groupId>org.gvsig</groupId>
54
			<artifactId>org.gvsig.andami</artifactId>
55
			<scope>compile</scope>
56
		</dependency>
57
		<dependency>
58
			<groupId>org.gvsig</groupId>
59
			<artifactId>org.gvsig.raster.gdal.io</artifactId>
60
			<scope>runtime</scope>
61
		</dependency>
62
		<dependency>
63
			<groupId>org.gvsig</groupId>
64
			<artifactId>org.gvsig.jgdal</artifactId>
65
      <version>${jgdal.version}</version>
66
      <scope>runtime</scope>
67
		</dependency>
68
    <dependency>
69
        <groupId>org.gvsig</groupId>
70
        <artifactId>org.gvsig.jgdal</artifactId>
71
        <version>${jgdal.version}</version>
72
        <classifier>${jgdal.classifier}</classifier>
73
        <type>tar.gz</type>
74
        <scope>runtime</scope>
75
    </dependency>
76
    <dependency>
77
      <groupId>org.gdal</groupId>
78
      <artifactId>gdal</artifactId>
79
      <version>${gdal.version}</version>
80
      <classifier>${gdal.classifier}</classifier>
81
      <scope>runtime</scope>
82
      <type>tar.gz</type>
83
    </dependency>
84

  
85
  </dependencies>
86

  
87
  <build>
88
    <plugins>
89
  
90
      <plugin>
91
        <groupId>org.apache.maven.plugins</groupId>
92
        <artifactId>maven-dependency-plugin</artifactId>
93
        <executions>
94
          <execution>
95
          	<id>unpack</id>
96
	        <phase>process-sources</phase>
97
	        <goals>
98
	          <goal>unpack</goal>
99
	        </goals>
100
	        <configuration>
101
	          <artifactItems>
102
	            <artifactItem>
103
		            <groupId>org.gvsig</groupId>
104
		            <artifactId>org.gvsig.raster.gdal.app.common</artifactId>
105
		            <type>zip</type>
106
					      <overWrite>true</overWrite>
107
					      <outputDirectory>target</outputDirectory>
108
	            </artifactItem>
109
	            <artifactItem>
110
                <groupId>org.gvsig</groupId>
111
                <artifactId>org.gvsig.jgdal</artifactId>
112
                <version>${jgdal.version}</version>
113
                <classifier>${jgdal.classifier}</classifier>
114
		            <type>tar.gz</type>
115
					      <overWrite>true</overWrite>
116
					      <outputDirectory>target/native/jgdal</outputDirectory>
117
	            </artifactItem>
118
	            <artifactItem>
119
                <groupId>org.gdal</groupId>
120
                <artifactId>gdal</artifactId>
121
                <version>${gdal.version}</version>
122
                <classifier>${gdal.classifier}</classifier>
123
		            <type>tar.gz</type>
124
					      <overWrite>true</overWrite>
125
					      <outputDirectory>target/native/gdal</outputDirectory>
126
	            </artifactItem>
127
	          </artifactItems>
128
	        </configuration>
129
          </execution>
130
        </executions>
131
	  </plugin>
132
  
133
  
134
    </plugins>
135
  </build>
136

  
137
  <!-- 
138
  The profiles only configure the automatic deploy of gvSIG plugin in the gvSIG
139
  configured in HOME/.gvsig-devel.properties
140
  -->
141
  <profiles>
142
  
143
    <profile>
144
      <id>gvsig-plugin-install-raster-linux-x86</id>
145
      <activation>
146
         <os>
147
             <family>unix</family>
148
             <name>linux</name>
149
             <arch>x86</arch>
150
         </os>
151
      </activation>
152
	    <properties>
153
	      <gvsig.install.plugin>true</gvsig.install.plugin>
154
	    </properties>
155
    </profile>
156

  
157
    <profile>
158
      <id>gvsig-plugin-install-raster-linux-i386</id>
159
      <activation>
160
         <os>
161
             <family>unix</family>
162
             <name>linux</name>
163
             <arch>i386</arch>
164
         </os>
165
      </activation>
166
      <properties>
167
         <gvsig.install.plugin>true</gvsig.install.plugin>
168
      </properties>
169
    </profile>
170

  
171
  </profiles>
172
  
173
</project>
174

  
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.app.lin.x86/buildNumber.properties
1
#Fri Mar 28 13:59:39 CET 2014
2
buildNumber=12
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.app.common/buildNumber.properties
1
#Fri Mar 28 14:00:07 CET 2014
2
buildNumber=57
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.app.common/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
}
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.app.common/src/main/resources-plugin/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<plugin-config>
3
	<depends plugin-name="org.gvsig.raster.mainplugin" />
4
	<depends plugin-name="org.gvsig.raster.tilecache.app" optional="true" />
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>
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.app.common/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>${project.artifactId}</baseDirectory>
32
  <includeBaseDirectory>true</includeBaseDirectory>
33
  <files>
34
    <file>
35
      <source>target/${project.artifactId}-${project.version}.jar</source>
36
      <outputDirectory>lib</outputDirectory>
37
    </file>
38
    <file>
39
      <source>target/package.info</source>
40
    </file>
41
  </files>
42

  
43
  <fileSets>
44
    <fileSet>
45
      <directory>src/main/resources-plugin</directory>
46
      <outputDirectory>.</outputDirectory>
47
    </fileSet>
48
  </fileSets>
49

  
50

  
51
  <dependencySets>
52
    <dependencySet>
53
      <useProjectArtifact>false</useProjectArtifact>
54
      <useTransitiveDependencies>false</useTransitiveDependencies>
55
      <outputDirectory>lib</outputDirectory>
56
		  <includes>
57
        <include>org.gvsig:org.gvsig.raster.gdal.app:jar</include>
58
        <include>org.gvsig:org.gvsig.raster.gdal.io:jar</include>
59
		  </includes>
60
    </dependencySet>
61
  </dependencySets>
62

  
63
</assembly>
64

  
65

  
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.app.common/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.common</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.app</artifactId>
12
    <version>2.2.3-SNAPSHOT</version>
13
  </parent>
14

  
15
	<dependencies>
16
		<dependency>
17
			<groupId>org.gvsig</groupId>
18
			<artifactId>org.gvsig.andami</artifactId>
19
			<scope>compile</scope>
20
		</dependency>
21
		<dependency>
22
			<groupId>org.gvsig</groupId>
23
			<artifactId>org.gvsig.raster.gdal.io</artifactId>
24
			<scope>runtime</scope>
25
		</dependency>
26
		<dependency>
27
			<groupId>org.gvsig</groupId>
28
			<artifactId>org.gvsig.jgdal</artifactId>
29
      <scope>runtime</scope>
30
		</dependency>
31
	</dependencies>
32
		
33
</project>
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.app.lin.x86_64/buildNumber.properties
1
#Fri Mar 28 13:59:39 CET 2014
2
buildNumber=12
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.app.lin.x86_64/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.jgdal:jar</include>
65
            <include>org.gdal:gdal:jar</include>
66
		</includes>
67
    </dependencySet>
68
  </dependencySets>
69

  
70
</assembly>
71

  
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.app.lin.x86_64/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.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.app.lin.x86_64/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.gdal.app.lin.x86_64</artifactId>
5
  <packaging>jar</packaging>
6
   
7
 	<parent>
8
		<groupId>org.gvsig</groupId>
9
		<artifactId>org.gvsig.raster.gdal.app</artifactId>
10
    <version>2.2.3-SNAPSHOT</version>
11
	</parent>
12

  
13
  <properties>
14
    <gvsig.package.info.operatingSystem>lin</gvsig.package.info.operatingSystem>
15
    <gvsig.package.info.architecture>x86_64</gvsig.package.info.architecture>
16
    
17
    <jgdal.classifier>linux-all-gcc4-x86_64-dynamic</jgdal.classifier>
18
    <jgdal.version>2.0.4</jgdal.version>
19
    
20
    <gdal.classifier >linux-all-gcc4-X86_64-dynamic</gdal.classifier>
21
 		<gdal.version>1.10.1</gdal.version>    
22
  </properties>
23

  
24
  <dependencyManagement>
25
      <dependencies>
26
        <dependency>
27
            <groupId>org.gvsig</groupId>
28
            <artifactId>org.gvsig.jgdal</artifactId>
29
            <version>${jgdal.version}</version>
30
            <classifier>${jgdal.classifier}</classifier>
31
            <type>tar.gz</type>
32
            <scope>runtime</scope>
33
        </dependency>
34
        <dependency>
35
          <groupId>org.gdal</groupId>
36
          <artifactId>gdal</artifactId>
37
          <version>${gdal.version}</version>
38
          <classifier>${gdal.classifier}</classifier>
39
          <scope>runtime</scope>
40
          <type>tar.gz</type>
41
        </dependency>
42
    </dependencies>
43
  </dependencyManagement>
44

  
45
  <dependencies>
46
  
47
    <dependency>
48
      <groupId>org.gvsig</groupId>
49
      <artifactId>org.gvsig.raster.gdal.app.common</artifactId>
50
      <type>zip</type>
51
    </dependency>
52
    <dependency>
53
			<groupId>org.gvsig</groupId>
54
			<artifactId>org.gvsig.andami</artifactId>
55
			<scope>compile</scope>
56
		</dependency>
57
		<dependency>
58
			<groupId>org.gvsig</groupId>
59
			<artifactId>org.gvsig.raster.gdal.io</artifactId>
60
			<scope>runtime</scope>
61
		</dependency>
62
		<dependency>
63
			<groupId>org.gvsig</groupId>
64
			<artifactId>org.gvsig.jgdal</artifactId>
65
      <version>${jgdal.version}</version>
66
      <scope>runtime</scope>
67
		</dependency>
68
    <dependency>
69
        <groupId>org.gvsig</groupId>
70
        <artifactId>org.gvsig.jgdal</artifactId>
71
        <version>${jgdal.version}</version>
72
        <classifier>${jgdal.classifier}</classifier>
73
        <type>tar.gz</type>
74
        <scope>runtime</scope>
75
    </dependency>
76
    <dependency>
77
      <groupId>org.gdal</groupId>
78
      <artifactId>gdal</artifactId>
79
      <classifier>${gdal.classifier}</classifier>
80
      <scope>runtime</scope>
81
      <type>tar.gz</type>
82
    </dependency>
83

  
84
  </dependencies>
85

  
86
  <build>
87
    <plugins>
88
  
89
      <plugin>
90
        <groupId>org.apache.maven.plugins</groupId>
91
        <artifactId>maven-dependency-plugin</artifactId>
92
        <executions>
93
          <execution>
94
          	<id>unpack</id>
95
	        <phase>process-sources</phase>
96
	        <goals>
97
	          <goal>unpack</goal>
98
	        </goals>
99
	        <configuration>
100
	          <artifactItems>
101
	            <artifactItem>
102
		            <groupId>org.gvsig</groupId>
103
		            <artifactId>org.gvsig.raster.gdal.app.common</artifactId>
104
		            <type>zip</type>
105
					      <overWrite>true</overWrite>
106
					      <outputDirectory>target</outputDirectory>
107
	            </artifactItem>
108
	            <artifactItem>
109
                <groupId>org.gvsig</groupId>
110
                <artifactId>org.gvsig.jgdal</artifactId>
111
                <version>${jgdal.version}</version>
112
                <classifier>${jgdal.classifier}</classifier>
113
		            <type>tar.gz</type>
114
					      <overWrite>true</overWrite>
115
					      <outputDirectory>target/native/jgdal</outputDirectory>
116
	            </artifactItem>
117
	            <artifactItem>
118
                <groupId>org.gdal</groupId>
119
                <artifactId>gdal</artifactId>
120
                <version>${gdal.version}</version>
121
                <classifier>${gdal.classifier}</classifier>
122
		            <type>tar.gz</type>
123
					      <overWrite>true</overWrite>
124
					      <outputDirectory>target/native/gdal</outputDirectory>
125
	            </artifactItem>
126
	          </artifactItems>
127
	        </configuration>
128
          </execution>
129
        </executions>
130
	  </plugin>
131
  
132
  
133
    </plugins>
134
  </build>
135

  
136
  <!-- 
137
  The profiles only configure the automatic deploy of gvSIG plugin in the gvSIG
138
  configured in HOME/.gvsig-devel.properties
139
  -->
140
  <profiles>
141
  
142
    <profile>
143
      <id>gvsig-plugin-install-raster-linux-x86_64</id>
144
      <activation>
145
         <os>
146
             <family>unix</family>
147
             <name>linux</name>
148
             <arch>x86_64</arch>
149
         </os>
150
      </activation>
151
	    <properties>
152
	      <gvsig.install.plugin>true</gvsig.install.plugin>
153
	    </properties>
154
    </profile>
155

  
156
    <profile>
157
      <id>gvsig-plugin-install-raster-linux-amd64</id>
158
      <activation>
159
         <os>
160
             <family>unix</family>
161
             <name>linux</name>
162
             <arch>amd64</arch>
163
         </os>
164
      </activation>
165
      <properties>
166
         <gvsig.install.plugin>true</gvsig.install.plugin>
167
      </properties>
168
    </profile>
169

  
170
  </profiles>
171
  
172
</project>
173

  
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.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.gdal.app.win.x86</artifactId>
5
  <packaging>jar</packaging>
6
   
7
 	<parent>
8
		<groupId>org.gvsig</groupId>
9
		<artifactId>org.gvsig.raster.gdal.app</artifactId>
10
    <version>2.2.3-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
    <jgdal.classifier>win-nt-vs8-i386-dynamic</jgdal.classifier>
18
    <jgdal.version>2.0.4</jgdal.version>
19
        
20
    <gdal.classifier >win-all-vs10-i386-dynamic</gdal.classifier>
21
 		<gdal.version>1.10.1</gdal.version>    
22
 		
23
    <visualcppredist.classifier >win-nt-vs8-i386-dynamic</visualcppredist.classifier>
24
 		<visualcppredist.version>2008</visualcppredist.version>    
25
 		
26
  </properties>
27

  
28
  <dependencyManagement>
29
      <dependencies>
30
        <dependency>
31
            <groupId>org.gvsig</groupId>
32
            <artifactId>org.gvsig.jgdal</artifactId>
33
            <version>${jgdal.version}</version>
34
            <classifier>${jgdal.classifier}</classifier>
35
            <type>tar.gz</type>
36
            <scope>runtime</scope>
37
        </dependency>
38
        <dependency>
39
          <groupId>org.gdal</groupId>
40
          <artifactId>gdal</artifactId>
41
          <version>${gdal.version}</version>
42
          <classifier>${gdal.classifier}</classifier>
43
          <scope>runtime</scope>
44
          <type>tar.gz</type>
45
        </dependency>
46
        <!--
47
        <dependency>
48
          <groupId>org.gdal</groupId>
49
          <artifactId>gdal</artifactId>
50
          <version>${gdal.version}</version>
51
        </dependency>
52
        -->
53
				<dependency>
54
					<groupId>com.microsoft</groupId>
55
					<artifactId>visualcppredist</artifactId>
56
					<version>${visualcppredist.version}</version>
57
					<classifier>${visualcppredist.classifier}</classifier>
58
					<type>tar.gz</type>
59
				</dependency>
60
        
61
    </dependencies>
62
  </dependencyManagement>
63

  
64
  <dependencies>
65
  
66
    <dependency>
67
      <groupId>org.gvsig</groupId>
68
      <artifactId>org.gvsig.raster.gdal.app.common</artifactId>
69
      <type>zip</type>
70
    </dependency>
71
    <dependency>
72
			<groupId>org.gvsig</groupId>
73
			<artifactId>org.gvsig.andami</artifactId>
74
			<scope>compile</scope>
75
		</dependency>
76
		<dependency>
77
			<groupId>org.gvsig</groupId>
78
			<artifactId>org.gvsig.raster.gdal.io</artifactId>
79
			<scope>runtime</scope>
80
		</dependency>
81
		<dependency>
82
			<groupId>org.gvsig</groupId>
83
			<artifactId>org.gvsig.jgdal</artifactId>
84
      <scope>runtime</scope>
85
		</dependency>
86
    <dependency>
87
        <groupId>org.gvsig</groupId>
88
        <artifactId>org.gvsig.jgdal</artifactId>
89
        <version>${jgdal.version}</version>
90
        <classifier>${jgdal.classifier}</classifier>
91
        <type>tar.gz</type>
92
        <scope>runtime</scope>
93
    </dependency>
94
    <dependency>
95
      <groupId>org.gdal</groupId>
96
      <artifactId>gdal</artifactId>
97
      <version>${gdal.version}</version>
98
      <classifier>${gdal.classifier}</classifier>
99
      <scope>runtime</scope>
100
      <type>tar.gz</type>
101
    </dependency>
102
    <!--
103
    <dependency>
104
      <groupId>org.gdal</groupId>
105
      <artifactId>gdal</artifactId>
106
      <version>${gdal.version}</version>
107
      <scope>runtime</scope>
108
    </dependency>
109
    -->
110
		<dependency>
111
			<groupId>com.microsoft</groupId>
112
			<artifactId>visualcppredist</artifactId>
113
			<version>${visualcppredist.version}</version>
114
			<classifier>${visualcppredist.classifier}</classifier>
115
			<type>tar.gz</type>
116
		</dependency>
117
		
118
  </dependencies>
119

  
120
  <build>
121
    <plugins>
122
  
123
      <plugin>
124
        <groupId>org.apache.maven.plugins</groupId>
125
        <artifactId>maven-dependency-plugin</artifactId>
126
        <executions>
127
          <execution>
128
          	<id>unpack</id>
129
	        <phase>process-sources</phase>
130
	        <goals>
131
	          <goal>unpack</goal>
132
	        </goals>
133
	        <configuration>
134
	          <artifactItems>
135
	          
136
	            <artifactItem>
137
		            <groupId>org.gvsig</groupId>
138
		            <artifactId>org.gvsig.raster.gdal.app.common</artifactId>
139
		            <type>zip</type>
140
					      <overWrite>true</overWrite>
141
					      <outputDirectory>target</outputDirectory>
142
	            </artifactItem>
143
	            
144
	            <artifactItem>
145
                <groupId>org.gvsig</groupId>
146
                <artifactId>org.gvsig.jgdal</artifactId>
147
                <version>${jgdal.version}</version>
148
                <classifier>${jgdal.classifier}</classifier>
149
		            <type>tar.gz</type>
150
					      <overWrite>true</overWrite>
151
					      <outputDirectory>target/native/jgdal</outputDirectory>
152
	            </artifactItem>
153
	            
154
	            <artifactItem>
155
                <groupId>org.gdal</groupId>
156
                <artifactId>gdal</artifactId>
157
                <version>${gdal.version}</version>
158
                <classifier>${gdal.classifier}</classifier>
159
		            <type>tar.gz</type>
160
					      <overWrite>true</overWrite>
161
					      <outputDirectory>target/native/gdal</outputDirectory>
162
	            </artifactItem>
163
	            
164
	            <artifactItem>
165
			          <groupId>com.microsoft</groupId>
166
			          <artifactId>visualcppredist</artifactId>
167
			          <version>${visualcppredist.version}</version>
168
			          <classifier>${visualcppredist.classifier}</classifier>
169
		            <type>tar.gz</type>
170
					      <overWrite>true</overWrite>
171
					      <outputDirectory>target/native/visualcppredist</outputDirectory>
172
	            </artifactItem>
173
	            
174
	          </artifactItems>
175
	        </configuration>
176
          </execution>
177
        </executions>
178
	  </plugin>
179
  
180
  
181
    </plugins>
182
  </build>
183

  
184
  <!-- 
185
  The profiles only configure the automatic deploy of gvSIG plugin in the gvSIG
186
  configured in HOME/.gvsig-devel.properties
187
  -->
188
  <profiles>
189
  
190
    <profile>
191
      <id>gvsig-plugin-install-raster-windows-x86</id>
192
      <activation>
193
         <os>
194
             <family>windows</family>
195
             <!-- Uncomment this when have support for amd64 -->
196
             <!-- 
197
             <arch>x86</arch>
198
             -->
199
         </os>
200
      </activation>
201
	  <properties>
202
	    <gvsig.install.plugin>true</gvsig.install.plugin>
203
	  </properties>
204
    </profile>
205
    
206
  </profiles>
207
  
208
</project>
209

  
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.app.win.x86/buildNumber.properties
1
#Fri Mar 28 13:59:39 CET 2014
2
buildNumber=12
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/org.gvsig.raster.gdal.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
  </files>
38

  
39
  <fileSets>
40
    <fileSet>
41
      <directory>target/org.gvsig.raster.gdal.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
  		 <include>org.gvsig:org.gvsig.jgdal:jar</include> 
61
  		 <!--
62
  		 <include>org.gdal:gdal:jar</include>
63
  		 --> 
64
		</includes>
65
    </dependencySet>
66
  </dependencySets>
67

  
68
</assembly>
69

  
org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.app/pom.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
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/xsd/maven-4.0.0.xsd">
2 3

  
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>
4
  <modelVersion>4.0.0</modelVersion>
5
  <artifactId>org.gvsig.raster.gdal.app</artifactId>
6
  <packaging>pom</packaging>
7
  <name>${project.artifactId}</name>
9 8
	<parent>
10
      <groupId>org.gvsig</groupId>
11
      <artifactId>org.gvsig.raster.gdal</artifactId>
12
      <version>2.2.3-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
		<dependency>
31
			<groupId>org.gvsig</groupId>
32
			<artifactId>org.gvsig.jgdal</artifactId>
33
            <scope>runtime</scope>
34
		</dependency>
35
        <dependency>
36
            <groupId>org.gvsig</groupId>
37
            <artifactId>org.gvsig.jgdal</artifactId>
38
            <classifier>${native_classifier}</classifier>
39
            <type>tar.gz</type>
40
            <scope>runtime</scope>
41
        </dependency>
42
        <dependency>
43
	        <groupId>org.gdal</groupId>
44
	        <artifactId>gdal</artifactId>
45
	        <version>${gdal.version}</version>
46
	        <classifier>${native_classifier}</classifier>
47
	         <scope>runtime</scope>
48
	        <type>tar.gz</type>
49
	    </dependency>
50
	</dependencies>
51
	
52
	<profiles>
53
	
54
	   <!-- *************** -->
55
       <!-- LINUX PROFILE   -->
56
       <!-- *************** -->
57
            
58
        <profile>
59
            <id>linux-profile</id>
60
            <activation>
61
                 <property>
62
					<name>native-platform</name>
63
					<value>linux</value>
64
				</property>
65
           </activation>
66
           <properties>
67
           		<gvsig.package.info.operatingSystem>lin</gvsig.package.info.operatingSystem>
68
        		<gvsig.package.info.architecture>x86</gvsig.package.info.architecture>
69
			</properties>
70
			<build>
71
          		<plugins>
72
            		<plugin>
73
                		<artifactId>maven-assembly-plugin</artifactId>
74
                		<configuration>
75
                    		<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
76
                    		<appendAssemblyId>false</appendAssemblyId>
77
                		</configuration>
78
                		<executions>
79
                  			<execution>
80
                    			<id>gvsig-plugin-package</id>
81
                    			<phase>package</phase>
82
                    			<goals>
83
                        			<goal>single</goal>
84
                    			</goals>
85
                    			<configuration>
86
                      				<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>
87
                      				<descriptors>
88
                        				<descriptor>src/main/assembly/gvsig-plugin-package-lin.xml</descriptor>
89
                      				</descriptors>
90
                    			</configuration>
91
                  			</execution>
92
                		</executions>
93
            		</plugin>
94
            		
95
            		<plugin>
96
						<groupId>org.codehaus.mojo</groupId>
97
						<artifactId>exec-maven-plugin</artifactId>
98
                        <executions>
99
                            <execution>
100
								<id>unpack-jgdal</id>
101
								<phase>generate-sources</phase>
102
                                <goals>
103
                                    <goal>exec</goal>
104
                                </goals>
105
                                <configuration>
106
				    				<executable>sh</executable>
107
                                    <arguments>
108
										<argument>${basedir}/unpack-dependencies.sh</argument>
109
										<argument>${user.home}/.m2/repository/org/gvsig/org.gvsig.jgdal/${jgdal.version}</argument>
110
										<argument>${depman.dir}</argument>
111
                                    </arguments>
112
                                </configuration>
113
                            </execution>
114
                            <execution>
115
								<id>unpack-gdal</id>
116
								<phase>generate-sources</phase>
117
                                <goals>
118
                                    <goal>exec</goal>
119
                                </goals>
120
                                <configuration>
121
				    				<executable>sh</executable>
122
                                    <arguments>
123
										<argument>${basedir}/unpack-dependencies.sh</argument>
124
										<argument>${user.home}/.m2/repository/org/gdal/gdal/${gdal.version}</argument>
125
										<argument>${depman.dir}</argument>
126
                                    </arguments>
127
                                </configuration>
128
                            </execution>
129
                        </executions>
130
                    </plugin>
131
                    
132
            	</plugins>
133
            </build>
134
        </profile>
135
        
136
       <!-- ***************** -->
137
       <!-- LINUX 64 PROFILE  -->
138
       <!-- ***************** -->
139
            
140
        <profile>
141
            <id>linux64-profile</id>
142
            <activation>
143
                 <property>
144
					<name>native-platform</name>
145
					<value>linux64</value>
146
				</property>
147
           </activation>
148
           <properties>
149
           		<gvsig.package.info.operatingSystem>lin</gvsig.package.info.operatingSystem>
150
        		<gvsig.package.info.architecture>x86_64</gvsig.package.info.architecture>
151
			</properties>
152
			<build>
153
          		<plugins>
154
            		<plugin>
155
                		<artifactId>maven-assembly-plugin</artifactId>
156
                		<configuration>
157
                    		<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
158
                    		<appendAssemblyId>false</appendAssemblyId>
159
                		</configuration>
160
                		<executions>
161
                  			<execution>
162
                    			<id>gvsig-plugin-package</id>
163
                    			<phase>package</phase>
164
                    			<goals>
165
                        			<goal>single</goal>
166
                    			</goals>
167
                    			<configuration>
168
                      				<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>
169
                      				<descriptors>
170
                        				<descriptor>src/main/assembly/gvsig-plugin-package-lin64.xml</descriptor>
171
                      				</descriptors>
172
                    			</configuration>
173
                  			</execution>
174
                		</executions>
175
            		</plugin>
176
            		
177
            		<plugin>
178
						<groupId>org.codehaus.mojo</groupId>
179
						<artifactId>exec-maven-plugin</artifactId>
180
                        <executions>
181
                            <execution>
182
								<id>unpack-jgdal</id>
183
								<phase>generate-sources</phase>
184
                                <goals>
185
                                    <goal>exec</goal>
186
                                </goals>
187
                                <configuration>
188
				    				<executable>sh</executable>
189
                                    <arguments>
190
										<argument>${basedir}/unpack-dependencies.sh</argument>
191
										<argument>${user.home}/.m2/repository/org/gvsig/org.gvsig.jgdal/${jgdal.version}</argument>
192
										<argument>${depman.dir}</argument>
193
                                    </arguments>
194
                                </configuration>
195
                            </execution>
196
                            <execution>
197
								<id>unpack-gdal</id>
198
								<phase>generate-sources</phase>
199
                                <goals>
200
                                    <goal>exec</goal>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff