Revision 35544

View differences:

tags/v2_0_0_Build_2028/build/libraries-jni-pom/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2

  
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">
6

  
7
	<modelVersion>4.0.0</modelVersion>
8
	<groupId>org.gvsig</groupId>
9
	<artifactId>gvsig-base-library-jni-pom</artifactId>
10
	<packaging>pom</packaging>
11
	<version>2.0-SNAPSHOT</version>
12
	<name>library-jni-base-pom</name>
13
	<parent>
14
		<groupId>org.gvsig</groupId>
15
		<artifactId>org.gvsig.maven.base.jni.pom</artifactId>
16
		<version>1.0.8-SNAPSHOT</version>
17
	</parent>
18
	<scm>
19
		<connection>
20
			scm:svn:http://subversion.gvsig.org/gvSIG/branches/v2_0_0_prep/	    
21
	    </connection>
22
		<developerConnection>
23
			scm:svn:https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/
24
	    </developerConnection>
25
		<url>http://subversion.gvsig.org/viewvc/?root=gvSIG</url>
26
		<tag>v2_0_0_prep</tag>
27
	</scm>	
28
	<dependencyManagement>
29
		<dependencies>
30
			<dependency>
31
				<groupId>org.gvsig</groupId>
32
				<artifactId>org.gvsig.core.maven.dependencies</artifactId>
33
				<version>2.0.1-SNAPSHOT</version>
34
				<type>pom</type>
35
				<scope>import</scope>
36
			</dependency>
37
		</dependencies>
38
	</dependencyManagement>		
39
	<repositories>
40
		<repository>
41
			<id>gvsig-public-http-repository</id>
42
			<name>gvSIG maven public HTTP repository</name>
43
			<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url>
44
			<releases>
45
				<enabled>true</enabled>
46
				<updatePolicy>daily</updatePolicy>
47
				<checksumPolicy>warn</checksumPolicy>
48
			</releases>
49
			<snapshots>
50
				<enabled>true</enabled>
51
				<updatePolicy>daily</updatePolicy>
52
				<checksumPolicy>warn</checksumPolicy>
53
			</snapshots>	
54
		</repository>
55
	</repositories>
56

  
57
	<description>
58
		Base POM for all GvSIG JNI projects. This pom knows how to
59
		build and made an libraries for GvSIG. The property
60
		"gvsig-path" must be set up correctly.
61
	</description>
62
</project>
0 63

  
tags/v2_0_0_Build_2028/build/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>build</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.python.pydev.PyDevBuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.jdt.core.javabuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
	</buildSpec>
19
	<natures>
20
		<nature>org.eclipse.jdt.core.javanature</nature>
21
		<nature>org.python.pydev.pythonNature</nature>
22
	</natures>
23
</projectDescription>
tags/v2_0_0_Build_2028/build/ant-tasks/projects-svn-repository.properties
1
##
2
## This is the list of gvSIG core projects and their svn repository location
3
##
4
# Build configuration projects
5
build=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/build
6
org.gvsig.core.maven.dependencies=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/org.gvsig.core.maven.dependencies
7

  
8
# Applications
9
appCatalog=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/applications/appCatalog
10
appGazetteer=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/applications/appGazetteer
11
appgvSIG=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/applications/appgvSIG
12
# Extensions
13
extCatalog=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extCatalog
14
extCenterViewToPoint=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extCenterViewToPoint
15
extDalTransform=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extDalTransform
16
extDalTransformEventTheme=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extDalTransformEventTheme
17
extDalTransformJoin=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extDalTransformJoin
18
extDataLocator=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extDataLocator
19
extDwg=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extDwg
20
extEditing=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extEditing
21
extExpressionField=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extExpressionField
22
extGazetteer=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extGazetteer
23
extGeoDB=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extGeoDB
24
extGeoreferencing=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extGeoreferencing
25
extGPE-gvSIG=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extGPE-gvSIG
26
extHelp=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extHelp
27
extI18n=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extI18n
28
extIconThemeBase=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extIconThemeBase
29
extJCRS=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extJCRS
30
extWCS=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extWCS
31
extWFS2=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extWFS2
32
extWMS=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extWMS
33
org.gvsig.annotation.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.annotation.app
34
org.gvsig.exportto.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.exportto.app
35
org.gvsig.geometrymeasurement.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.geometrymeasurement.app
36
org.gvsig.hyperlink.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.hyperlink.app
37
org.gvsig.installer.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.installer.app
38
org.gvsig.mkmvnproject=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.mkmvnproject
39
org.gvsig.scripting.app=https://svn.forge.osor.eu/svn/gvsig-scripting/org.gvsig.scripting.app/trunk/org.gvsig.scripting.app
40
org.gvsig.selectiontools.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.selectiontools.app
41
org.gvsig.sextante.app=https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/trunk/org.gvsig.sextante.app
42
org.gvsig.symbology.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.symbology.app
43
# Frameworks
44
_fwAndami=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/frameworks/_fwAndami
45
# Libraries
46
libCompat=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libCompat
47
libCorePlugin=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libCorePlugin
48
libDwg=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libDwg
49
libDXF=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libDXF
50
libEvaluator_SQLJEP=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libEvaluator_SQLJEP
51
libFMap_controls=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_controls
52
libFMap_dal=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_dal
53
libFMap_daldb=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_daldb
54
libFMap_dalfile=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_dalfile
55
libFMap_dalindex=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_dalindex
56
libFMap_geometries=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_geometries
57
libFMap_mapcontext=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_mapcontext
58
libInternationalization=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libInternationalization
59
libIverUtiles=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libIverUtiles
60
libJCRS=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libJCRS
61
libMetadata=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libMetadata
62
libProjection=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libProjection
63
libRemoteServices=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libRemoteServices
64
libUIComponent=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libUIComponent
65
org.gvsig.annotation=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.annotation
66
org.gvsig.exportto=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.exportto
67
org.gvsig.installer=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.installer
68
org.gvsig.personaldb=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.personaldb
69
org.gvsig.scripting=https://svn.forge.osor.eu/svn/gvsig-scripting/org.gvsig.scripting/trunk/org.gvsig.scripting
70
org.gvsig.symbology=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.symbology
71
org.gvsig.raster=https://svn.forge.osor.eu/svn/gvsig-raster/org.gvsig.raster/trunk/org.gvsig.raster
72
org.gvsig.raster.tilecache=https://svn.forge.osor.eu/svn/gvsig-raster/org.gvsig.raster.tilecache/trunk/org.gvsig.raster.tilecache
73
org.gvsig.raster.cache=https://svn.forge.osor.eu/svn/gvsig-raster/org.gvsig.raster.cache/trunk/org.gvsig.raster.cache
74
org.gvsig.raster.app=https://svn.forge.osor.eu/svn/gvsig-raster/org.gvsig.raster.app/trunk/org.gvsig.raster.app
75
org.gvsig.raster.gdal=https://svn.forge.osor.eu/svn/gvsig-raster/org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal
tags/v2_0_0_Build_2028/build/ant-tasks/eclipse-tasks.xml
1
<project name="gvSIG-eclipse-tasks" default="eclipse.all" 
2
	xmlns:artifact="antlib:org.apache.maven.artifact.ant">
3

  
4
	<dirname property="gvSIG-eclipse-tasks.basedir" 
5
			 file="${ant.file.gvSIG-eclipse-tasks}" />
6
	<import file="${gvSIG-eclipse-tasks.basedir}/ant-tasks-config.xml" />
7

  
8
	<description>
9
		Ant tasks and macros to interact with eclipse
10
	</description>
11
	
12
	<target name="eclipse.all" depends="eclipse.eclipse,eclipse.classpath"/>
13

  
14
	<target name="eclipse.eclipse">
15
		<maven arg="eclipse:eclipse" />
16
	</target>
17
	
18
	<target name="classpath.check">
19
	    <condition property="classpath-present">
20
            <available file=".classpath"/>
21
	    </condition>
22
	</target>
23

  
24
	<target name="eclipse.classpath" depends="classpath.check" if="classpath-present">
25
		<xslt in="pom.xml" out=".classpath.libs" style="${gvSIG-eclipse-tasks.basedir}/eclipse-classpath.xsl">
26
			<outputproperty name="encoding" value="iso8859_1" />
27
			<outputproperty name="indent" value="yes" />
28
			<outputproperty name="method" value="txt" />
29
		</xslt>
30

  
31
		<!--
32
		<loadfile property="result01" srcFile=".classpath.libs" />
33
		<echo>After XSLT processing:
34
			${result01}</echo>
35
		-->
36

  
37
		<!-- Remove some uneeded text -->
38
		<replace file=".classpath.libs" value="">
39
		  	<replacetoken><![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?>]]></replacetoken>
40
		</replace>
41
		<replace file=".classpath.libs" value="">
42
		  	<replacetoken><![CDATA[<classpath>]]></replacetoken>
43
		</replace>
44
		<replace file=".classpath.libs" value="">
45
		  	<replacetoken><![CDATA[<classpath/>]]></replacetoken>
46
			<replacevalue><![CDATA[</classpath>]]></replacevalue>
47
		</replace>
48
		<replace file=".classpath.libs" value="">
49
		  	<replacetoken><![CDATA[${basedir}/]]></replacetoken>
50
		</replace>
51
		<!-- Remove blanks and returns read by the xml parser into the tag content -->
52
		<replace file=".classpath.libs" value="">
53
		  	<replacetoken><![CDATA[&#10;]]></replacetoken>
54
		</replace>
55
		<replace file=".classpath.libs" value="">
56
		  	<replacetoken><![CDATA[&#9;]]></replacetoken>
57
		</replace>
58

  
59
		<loadfile property="result" srcFile=".classpath.libs" />
60

  
61
		<!--
62
		<echo>After removing uneeded tags:
63
			${result}</echo>
64
		-->
65
		
66
		<!-- Append the classpath entries to the .classpath file -->
67
		<replace file=".classpath" value="${result}">
68
		  	<replacetoken><![CDATA[</classpath>]]></replacetoken>
69
		</replace>
70

  
71
		<delete file=".classpath.libs" />
72
	</target>
73

  
74
</project>
tags/v2_0_0_Build_2028/build/ant-tasks/ant-tasks-config.xml
1
<project name="gvSIG-ant-tasks-config" 
2
		xmlns:artifact="antlib:org.apache.maven.artifact.ant">
3

  
4
	<description>
5
		Ant tasks and macros configuration to interact with maven and
6
		subversion
7
	</description>
8

  
9
	<dirname property="ant-tasks-config.basedir" 
10
		file="${ant.file.gvSIG-ant-tasks-config}" />
11

  
12
	<property name="workspace_loc" location="${ant-tasks-config.basedir}/../.."
13
		description="Eclipse workspace location" />
14

  
15
	<property name="build.folder" location="${ant-tasks-config.basedir}/.."
16
		description="Folder of the build project" />
17

  
18
	<property name="gvsiglogo" 
19
		location="${ant-tasks-config.basedir}/resources/gvSIG.png" />
20

  
21
	<property name="ant.libs.dir" location="${ant-tasks-config.basedir}"
22
		description="Additional ant tasks libs folder" />
23

  
24
	<!-- ============================= -->
25
	<!-- External ant tasks definition -->
26
	<!-- ============================= -->
27

  
28
	<!-- Maven ant tasks registration -->
29
	<path id="maven-ant-tasks.classpath" 
30
		path="${ant.libs.dir}/maven-ant-tasks-2.0.10.jar" />
31
	<typedef resource="org/apache/maven/artifact/ant/antlib.xml" 
32
		uri="antlib:org.apache.maven.artifact.ant"
33
		classpathref="maven-ant-tasks.classpath" />
34

  
35
	<!-- ant-contrib library load -->
36
	<taskdef resource="net/sf/antcontrib/antlib.xml">
37
		<classpath>
38
			<pathelement location="${ant.libs.dir}/ant-contrib-1.0b3.jar" />
39
			<pathelement location="${ant.libs.dir}/bcel-5.1.jar" />
40
			<pathelement location="${ant.libs.dir}/commons-httpclient-3.0.1.jar" />
41
			<pathelement location="${ant.libs.dir}/commons-logging-1.0.4.jar" />
42
			<pathelement location="${ant.libs.dir}/ivy-1.3.1.jar" />
43
		</classpath>
44
	</taskdef>
45

  
46
	<taskdef name="antform" classname="com.sardak.antform.AntForm">
47
		<classpath>
48
			<pathelement location="${ant.libs.dir}/antform-2.0.jar" />
49
		</classpath>
50
	</taskdef>
51

  
52
	<taskdef name="antmenu" classname="com.sardak.antform.AntMenu">
53
		<classpath>
54
			<pathelement location="${ant.libs.dir}/antform-2.0.jar" />
55
		</classpath>
56
	</taskdef>
57

  
58
	<target name="show.path.properties" unless="path.properties.shown">
59
		<echo>workspace_loc = ${workspace_loc}</echo>
60
		<echo>build.folder = ${build.folder}</echo>
61
		<echo>ant.libs.dir = ${ant.libs.dir}</echo>
62
		<property name="path.properties.shown" value="true" />
63
	</target>
64

  
65
	<!-- Maven targets -->
66
	<macrodef name="maven">
67
		<attribute name="arg" />
68
		<sequential>
69
		    <condition property="gvsig.platform.exists">
70
	            <available file="${user.home}/.gvsig.platform.properties"/>
71
		    </condition>
72

  
73
			<fail unless="gvsig.platform.exists">
74
ERROR!!
75
		
76
You have to define your gvSIG platform properties, 
77
by creating the file: ${user.home}/.gvsig.platform.properties
78
with the following content:
79
	
80
	native_platform=linux
81
	native_distribution=Ubuntu-9.10
82
	native_compiler=gcc4
83
	native_arch=i386
84
	native_libraryType=dynamic
85
	export native_classifier=${native_platform}-${native_distribution}-${native_compiler}-${native_arch}-${native_libraryType}
86

  
87
Replace the fifth initial variables values with the ones appropiate 
88
to your platform.
89
		
90
If you use maven in the command line, you can use the previous file also
91
to define the MAVEN_OPTS environment variable, by adding to your 
92
.bash_rc file something like this:
93

  
94
	if [ -f "${HOME}/.gvsig.platform.properties" ]
95
	then
96
	    . ${HOME}/.gvsig.platform.properties
97
	    export MAVEN_OPTS="-Xmx384M -XX:MaxPermSize=64m -Dnative-classifier=${native_classifier}"
98
	else
99
	    export MAVEN_OPTS="-Xmx384M -XX:MaxPermSize=64m"
100
	fi
101
	
102
It will work if you use the bash shell. In any other case or platform, you'll
103
have to define your MAVEN_OPTS environment variable and set the 
104
"native-classifier" parameter directly.
105
			</fail>
106
			
107
		    <loadproperties srcFile="${user.home}/.gvsig.platform.properties">
108
		      <filterchain>
109
		        <linecontains>
110
		          <contains value="native_"/>
111
		        </linecontains>
112
		      </filterchain>
113
		    </loadproperties>
114
			<property name="native_classifier" value="${native_platform}-${native_distribution}-${native_compiler}-${native_arch}-${native_libraryType}"/>
115
			<echo>mvn -Dnative-classifier=${native_classifier} @{arg}</echo>
116
			<artifact:mvn mavenHome="${build.folder}/maven" fork="true"
117
				failonerror="true" maxmemory="384M">
118
				<arg line="-Dnative-classifier=${native_classifier} @{arg}" />
119
				<jvmarg value="-XX:MaxPermSize=96M" />
120
			</artifact:mvn>
121
		</sequential>
122
	</macrodef>
123

  
124
	<!-- Utility targets -->
125
	<target name="cancel">
126
		<fail>User canceled</fail>
127
	</target>
128
</project>
tags/v2_0_0_Build_2028/build/ant-tasks/maven-goals.xml
1
<project name="gvSIG-maven-goals" default="mvn-install">
2

  
3
	<dirname property="gvSIG-maven-goals.basedir" 
4
		file="${ant.file.gvSIG-maven-goals}" />
5
	<import file="${gvSIG-maven-goals.basedir}/ant-tasks-config.xml" />
6
	<import file="${gvSIG-maven-goals.basedir}/eclipse-tasks.xml" />
7

  
8
	<description>
9
		Ant tasks and macros to interact with maven
10
	</description>
11

  
12
	<target name="mvn-clean" description="Cleans all artifacts">
13
		<maven arg="clean" />
14
	</target>
15

  
16
	<target name="mvn-compile" description="Compiles all source code">
17
		<maven arg="compile" />
18
	</target>
19

  
20
	<target name="mvn-test" description="Launches unit tests">
21
		<maven arg="test" />
22
	</target>
23

  
24
	<target name="mvn-install" description="Compiles and installs">
25
		<maven arg="install" />
26
	</target>
27

  
28
    <target name="mvn-create-installer" 
29
        description="Compiles and generates an installer if the project is a gvSIG plugin">
30
        <maven arg="-P create-installer install" />
31
    </target>
32
	
33
	<target name="mvn-install-ignore-tests" description="Compiles and installs and ignore tests">
34
		<maven arg="install -Dmaven.test.failure.ignore" />
35
	</target>
36
	
37
	<target name="mvn-install-without-tests"
38
		description="Compiles and installs without launching tests">
39
		<maven arg="-Dmaven.test.skip=true install" />
40
	</target>
41

  
42
	<target name="mvn-reinstall" 
43
		description="Performs a clean install">
44
		<maven arg="clean install" />
45
	</target>
46

  
47
	<target name="mvn-reinstall-without-tests"
48
		description="Performs a clean install without launching tests">
49
		<maven arg="-Dmaven.test.skip=true clean install" />
50
	</target>
51

  
52
	<target name="mvn-deploy" 
53
		description="Compiles, installs and deploys">
54
		<maven arg="deploy" />
55
	</target>
56

  
57
	<target name="mvn-deploy-release" 
58
			description="Compiles, installs and deploys for release">
59
		<maven arg="-P release deploy" />
60
	</target>
61

  
62
	<target name="mvn-configure-eclipse-workspace"
63
		description="Configures the eclipse workspace for maven integration">
64

  
65
		<input message="Eclipse workspace folder to configure?:" 
66
			addproperty="eclipse.workspace"
67
			defaultvalue="${workspace_loc}" />
68

  
69
		<maven arg="-Declipse.workspace='${eclipse.workspace}' eclipse:add-maven-repo" />
70
		<mkdir dir="${eclipse.workspace}/.metadata/.plugins/org.eclipse.ui.workbench" />
71
		<copy
72
			file="${build.folder}/metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml"
73
			todir="${eclipse.workspace}/.metadata/.plugins/org.eclipse.ui.workbench" />
74
	</target>
75

  
76
	<target name="mvn-eclipse-clean"
77
		description="Cleans the maven generated eclipse project files">
78
		<maven arg="eclipse:clean" />
79
	</target>
80

  
81
	<!-- Replaced by the target eclipse.project in eclipse-tasks.xml -->
82
	<!--
83
	<target name="mvn-eclipse-eclipse"
84
		description="Generates an eclipse project configuration from the pom.xml">
85
		<maven arg="eclipse:eclipse" />
86
	</target>
87
	-->	
88
	<target name="mvn-eclipse-eclipse"
89
		description="Generates an eclipse project configuration from the pom.xml">
90
		<maven arg="-P eclipse-project" />
91
	</target>
92
	
93
	<target name="mvn-site"
94
		description="Generates the project site documentation">
95
		<maven arg="site" />
96
	</target>
97

  
98
</project>
tags/v2_0_0_Build_2028/build/ant-tasks/eclipse-classpath.xsl
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3
	xmlns:mvn="http://maven.apache.org/POM/4.0.0">
4

  
5
	<xsl:template match="/">
6
		<classpath xsl:exclude-result-prefixes='mvn #default'>
7
		<xsl:for-each select="mvn:project/mvn:build/mvn:plugins/mvn:plugin/mvn:configuration">
8
			<xsl:call-template name="config"/>
9
		</xsl:for-each>
10
		<xsl:for-each select="mvn:project/mvn:profiles/mvn:profile[mvn:id='se']/mvn:build/mvn:plugins/mvn:plugin/mvn:configuration">
11
			<xsl:call-template name="config"/>
12
		</xsl:for-each>
13
		</classpath>
14
	</xsl:template>
15
	
16
	<xsl:template name="config">
17
		<xsl:for-each select="mvn:additionalClasspathElements/mvn:additionalClasspathElement">
18
			<classpathentry xsl:exclude-result-prefixes='mvn #default' kind="lib" path="{.}"/>			
19
		</xsl:for-each>
20
	</xsl:template>
21

  
22
</xsl:stylesheet> 
tags/v2_0_0_Build_2028/build/ant-tasks/maven-archetypes.xml
1
<project name="gvSIG-maven-archetypes" default="mvn-create-library"
2
	xmlns:artifact="antlib:org.apache.maven.artifact.ant">
3
	<dirname property="gvSIG-maven-archetypes.basedir" file="${ant.file.gvSIG-maven-archetypes}" />
4
	<import file="${gvSIG-maven-archetypes.basedir}/ant-tasks-config.xml" />
5
	
6
	<property name="defaultGroupId" value="org.gvsig"/>
7
	<property name="defaultVersion" value="2.0-SNAPSHOT"/>
8

  
9
	<target name="mvn-create-library" depends="mvn-create-library.getparams"
10
		description="Generates a new library project with the initial structure and configuration">
11

  
12
		<echo>
13
			groupId: 	${lib.groupId}
14
			artifactId: ${lib.artifactId}
15
			version: 	${lib.version}
16
		</echo>
17
		<maven
18
			arg="archetype:generate -B -DarchetypeGroupId=org.gvsig -DarchetypeArtifactId=org.gvsig.maven-archetype.library -DgroupId=${lib.groupId} -DartifactId=${lib.artifactId} -Dversion=${lib.version} -Dpackage=${lib.artifactId}" />
19

  
20
		<move todir="${workspace_loc}/${lib.artifactId}">
21
			<fileset dir="${lib.artifactId}" />
22
		</move>
23
				
24
		<artifact:mvn mavenHome="${build.folder}/maven" fork="true"
25
			failonerror="true" dir="${workspace_loc}/${lib.artifactId}">
26
			<arg line="eclipse:eclipse" />
27
		</artifact:mvn>
28
	</target>
29

  
30
	<target name="mvn-create-library.getparams">
31
		<property name="lib.groupId" value="${defaultGroupId}" />
32
		<property name="lib.artifactId" value="${defaultGroupId}.mylibrary" />
33
		<property name="lib.version" value="${defaultVersion}" />		
34
		<antform title="Create a new library project" image="gvSIG.png">
35
				
36
			<label>Create a new library project for gvSIG</label>
37
			<textProperty label="Maven groupId:" property="lib.groupId"
38
				Required="true" />
39
			<textProperty label="Maven artifactId:" property="lib.artifactId"
40
				focus="true" Required="true" />
41
			<textProperty label="Project version:" property="lib.version"
42
				Required="true" />
43
			<label>
44
Note:
45
  Once the process has finished, import the project into your
46
  eclipse workspace.
47
			</label>
48
			<controlbar>
49
				<button label="Cancel" target="cancel" type="cancel"/>
50
				<button label="Ok" type="ok"/>
51
			</controlbar>
52
		</antform>
53
	</target>
54

  
55
	<target name="mvn-create-extension" depends="mvn-create-extension.getparams"
56
		description="Generates a new extension project with the initial structure and configuration">
57
		
58
		<echo>
59
			groupId: 	${ext.groupId}
60
			artifactId:	${ext.artifactId}
61
			version: 	${ext.version}
62
		</echo>
63
		<maven
64
			arg="archetype:generate -B -DarchetypeGroupId=org.gvsig -DarchetypeArtifactId=org.gvsig.maven-archetype.extension -DgroupId=${ext.groupId} -DartifactId=${ext.artifactId} -Dversion=${ext.version} -Dpackage=${ext.artifactId}" />
65

  
66
		<move todir="${workspace_loc}/${ext.artifactId}">
67
			<fileset dir="${ext.artifactId}" />
68
		</move>
69

  
70
		<artifact:mvn mavenHome="${build.folder}/maven" fork="true"
71
			failonerror="true" dir="${workspace_loc}/${ext.artifactId}">
72
			<arg line="eclipse:eclipse" />
73
		</artifact:mvn>
74
	</target>
75

  
76
	<target name="mvn-create-extension.getparams">
77
		<property name="ext.groupId" value="${defaultGroupId}" />
78
		<property name="ext.artifactId" value="${defaultGroupId}.myextension" />
79
		<property name="ext.version" value="${defaultVersion}" />
80
		<antform title="Create a new gvSIG extension project" image="gvSIG.png">
81
 			<label>Create a new extension project for gvSIG</label>
82
			<textProperty label="Maven groupId:" property="ext.groupId"
83
				Required="true" />
84
			<textProperty label="Maven artifactId:" property="ext.artifactId"
85
				focus="true" Required="true" />
86
			<textProperty label="Project version:" property="ext.version"
87
				Required="true" />
88
			<label>
89
Note:
90
  Once the process has finished, import the project into your
91
  eclipse workspace.
92
			</label>
93
			<controlbar>
94
				<button label="Cancel" target="cancel" type="cancel"/>
95
				<button label="Ok" type="ok"/>
96
			</controlbar>
97
		</antform>
98
	</target>
99

  
100
</project>
tags/v2_0_0_Build_2028/build/ant-tasks/subversion-tasks.xml
1
<project name="gvSIG-subversion-tasks" default="svn.checkout.all"
2
	xmlns:artifact="antlib:org.apache.maven.artifact.ant">
3

  
4
	<dirname property="gvSIG-subversion-tasks.basedir" file="${ant.file.gvSIG-subversion-tasks}" />
5
	<import file="${gvSIG-subversion-tasks.basedir}/ant-tasks-config.xml" />
6

  
7
	<description>
8
		Ant tasks and macros to interact with subversion
9
	</description>
10

  
11
	<!-- Subversion targets -->
12
	<target name="svn.checkout.all" 
13
		depends="svn.checkout.allprojects,eclipse.projects"
14
		description="Checkouts all projects defined in a parent module pom.xml">
15
		<echo>
16
Note:
17
  Once the process has finished, import the projects into your
18
  eclipse workspace.</echo>
19
	</target>
20
		
21
	<target name="svn.checkout.allprojects" depends="svn.getparams">
22

  
23
		<artifact:pom id="pom" file="pom.xml" />
24
		<for list="${pom.modules}" param="svn.module" delimiter=",[]" trim="true">
25
			<sequential>
26
				<propertyregex property="svn.module" input="@{svn.module}"
27
					regexp="[./]*(.*)" replace="\1" casesensitive="false" 
28
					override="true" />
29
			    <!-- just to ignore submodules as they are already check out -->
30
                <var name="svn.issubmodule" unset="true" />
31
                <available file="${basedir}/${svn.module}" 
32
                    property="svn.issubmodule" />
33
				<antcall target="svn.checkout.module">
34
					<param name="svn.module" value="${svn.module}" />
35
				</antcall>
36
			</sequential>
37
		</for>
38
	</target>
39
	
40
	<target name="eclipse.projects" if="create.eclipse.projects">
41
		<!-- Create the eclipse project configuration for all downloaded projects -->
42
		<if>
43
			<equals arg1="${create.eclipse.projects}" arg2="true" />
44
			<then>
45
				<maven arg="-Dmaven.test.failure.ignore install" />
46
				<maven arg="-P eclipse-project" />
47
			</then>
48
		</if>
49
	</target>
50

  
51
	<target name="svn.update.all" depends="svn.getparams"
52
		description="Updates all projects defined in a parent module pom.xml">
53
		<artifact:pom id="pom" file="pom.xml" />
54
		<for list="${pom.modules}" param="svn.module" delimiter=",[]" trim="true">
55
			<sequential>
56
				<propertyregex property="svn.module" input="@{svn.module}"
57
					regexp="[./]*(.*)" replace="\1" casesensitive="false" 
58
					override="true" />
59
                <!-- just to ignore submodules as they are already check out -->
60
                <var name="svn.issubmodule" unset="true" />
61
                <available file="${basedir}/${svn.module}" 
62
                    property="svn.issubmodule" />
63
				<antcall target="svn.update.module">
64
					<param name="svn.module" value="${svn.module}" />
65
				</antcall>
66
			</sequential>
67
		</for>
68
	</target>
69
    
70
    <target name="svn.checkout.module" unless="svn.issubmodule">
71
        <var name="svn.isgroup" unset="true" />
72
        <available file="${build.folder}/projects/${svn.module}" 
73
            property="svn.isgroup" />
74
        <antcall target="svn.checkout.group">
75
            <param name="svn.module" value="${svn.module}" />
76
        </antcall>
77
        <antcall target="svn.checkout.project">
78
            <param name="svn.module" value="${svn.module}" />
79
        </antcall>
80
    </target>    
81

  
82
	<target name="svn.checkout.group" if="svn.isgroup">
83
		<echo>group: ${svn.module}</echo>
84
		<ant dir="${build.folder}/projects/${svn.module}" 
85
			target="svn.checkout.allprojects" />
86
	</target>
87

  
88
	<target name="svn.checkout.project" unless="svn.isgroup" 
89
		depends="svn.get.project.path">
90
		<echo>project: ${svn.module}</echo>
91
		<antcall target="svn.checkout">
92
			<param name="svn.project.path" value="${workspace_loc}" />
93
			<param name="svn.project.url" value="${svn.module.url}" />
94
		</antcall>
95
	</target>
96

  
97
    <target name="svn.update.module" unless="svn.issubmodule">
98
        <var name="svn.isgroup" unset="true" />
99
        <available file="${build.folder}/projects/${svn.module}" 
100
            property="svn.isgroup" />
101
        <antcall target="svn.update.group">
102
            <param name="svn.module" value="${svn.module}" />
103
        </antcall>
104
        <antcall target="svn.update.project">
105
            <param name="svn.module" value="${svn.module}" />
106
        </antcall>
107
    </target>
108

  
109
    <target name="svn.update.group" if="svn.isgroup">
110
        <echo>group: ${svn.module}</echo>
111
        <ant dir="${build.folder}/projects/${svn.module}" target="svn.update.all" />
112
    </target>
113

  
114
	<target name="svn.update.project" unless="svn.isgroup" 
115
		depends="svn.get.project.path">
116
		<echo>project: ${svn.module}</echo>
117
		<antcall target="svn.update">
118
			<param name="svn.project.path" value="${workspace_loc}" />
119
			<param name="svn.project.url" value="${svn.module.url}" />
120
		</antcall>
121
	</target>
122

  
123
	<target name="svn.checkout">
124
		<echo>url: ${svn.project.url}</echo>
125
		<echo>SVNKit version: ${svnkit.version}</echo>
126
		<java classname="org.tmatesoft.svn.cli.SVN" dir="${svn.project.path}"
127
			fork="true" failonerror="true">
128
			<arg value="--non-interactive"/>
129
			<arg value="co" />
130
			<arg value="--username" />
131
			<arg value="${svn.username}" />
132
			<arg value="--password" />
133
			<arg value="${svn.password}" />
134
			<arg value="${svn.project.url}" />
135
			<classpath>
136
				<pathelement location="${ant.libs.dir}/svnkit-${svnkit.version}.jar" />
137
				<pathelement location="${ant.libs.dir}/svnkit-cli-${svnkit.version}.jar" />
138
			</classpath>
139
		</java>
140
	</target>
141

  
142
	<target name="svn.update">
143
		<echo>url: ${svn.project.url}</echo>
144
		<echo>SVNKit version: ${svnkit.version}</echo>
145
		<java classname="org.tmatesoft.svn.cli.SVN" dir="${svn.project.path}"
146
			fork="true" failonerror="true">
147
			<arg value="--non-interactive"/>
148
			<arg value="update" />
149
			<arg value="${svn.module}" />
150
			<classpath>
151
				<pathelement location="${ant.libs.dir}/svnkit-${svnkit.version}.jar" />
152
				<pathelement location="${ant.libs.dir}/svnkit-cli-${svnkit.version}.jar" />
153
			</classpath>
154
		</java>
155
	</target>
156

  
157
	<!-- 
158
		Get subversion parameters using the AntForms utility:
159
		http://antforms.sourceforge.net/
160
	-->
161
	<target name="svn.getparams" unless="svn.repository.url">
162
		<!-- Default values -->
163
		<property name="create.eclipse.projects" value="true"/>
164
		<property name="svn.repository.url" value="https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep"/>
165
		<!--
166
			<property name="svn.username" value="guest"/> <property name="svn.password"
167
			value="guest"/>
168
		-->
169
		<antform title="SVN parameters" image="${gvsiglogo}" resetMessage="Cancel"
170
			previousTarget="cancel">
171
	
172
			<textProperty label="gvSIG 2.0 subversion repository: " property="svn.repository.url"
173
				password="false" editable="false" columns="38"/>
174

  
175
			<label>
176
Note:
177
  Select the SVNKit version which relates to the SVN version of the other SVN 
178
  clients you are using, like the SVN command line client or Eclipse. In the
179
  case of Eclipse, you have to install a version of the Subclipse plugin which 
180
  provides the same SVNKit version as the one selected, or to install the 
181
  Subversive plugin and configure it to use the selected SVNKit version in the
182
  plugin preferences.
183
				
184
  The relationship with the subversion version is :
185
  	SVNKit 1.1.7 -> Subversion 1.4 -> ¿? 
186
  	SVNKit 1.2.3 -> Subversion 1.5 -> Subclipse 1.4.*
187
  	SVNKit 1.3.0 -> Subversion 1.6 -> Subclipse 1.6.*
188
				
189
  In the case of Subversive, you can select the SVNKit version in the eclipse preferences:
190
	Team > SVN > SVN Connector
191
			</label>
192

  
193
			<selectionProperty label="SVNKit version to use: "
194
				property="svnkit.version"
195
				values="1.2.3;1.1.7;1.3.0"
196
				separator=";" />
197

  
198
			<label>
199
Note:
200
  Once the process has finished, import the projects into your eclipse workspace.
201
			</label>
202
		</antform>
203
	</target>
204

  
205
	<target name="svn.get.project.path">
206
		<description>
207
			Converts a project name to a project path in subversion.
208
			Ej: libTools -> libraries/libTools
209
		</description>
210
		<property file="${gvSIG-subversion-tasks.basedir}/projects-svn-repository.properties"/>
211
		<propertycopy property="svn.module.url" from="${svn.module}" 
212
					  override="true" silent="true"/>
213
	</target>
214
</project>
tags/v2_0_0_Build_2028/build/extension-pom/distribution/distribution.xml
1
<assembly>
2
	<id>distribution</id>
3
</assembly>
tags/v2_0_0_Build_2028/build/extension-pom/buildNumber.properties
1
# Ignore this file, don't modify or remove it.
2
# This is a fake build number so the configuration of this pom works with itself.
3
buildNumber=0
tags/v2_0_0_Build_2028/build/extension-pom/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2

  
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">
6

  
7
    <modelVersion>4.0.0</modelVersion>
8
    <groupId>org.gvsig</groupId>
9
    <artifactId>gvsig-base-extension-pom</artifactId>
10
    <packaging>pom</packaging>
11
    <version>2.0-SNAPSHOT</version>
12
    <name>extension-base-pom</name>
13
    <parent>
14
        <groupId>org.gvsig</groupId>
15
        <artifactId>org.gvsig.maven.base.extension.pom</artifactId>
16
        <version>1.0.8-SNAPSHOT</version>
17
    </parent>
18
    <scm>
19
        <connection>
20
			scm:svn:http://subversion.gvsig.org/gvSIG/branches/v2_0_0_prep/	    
21
	    </connection>
22
        <developerConnection>
23
			scm:svn:https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/
24
	    </developerConnection>
25
        <url>http://subversion.gvsig.org/viewvc/?root=gvSIG</url>
26
        <tag>v2_0_0_prep</tag>
27
    </scm>
28
    <dependencyManagement>
29
        <dependencies>
30
            <dependency>
31
                <groupId>org.gvsig</groupId>
32
                <artifactId>org.gvsig.core.maven.dependencies</artifactId>
33
                <version>2.0.1-SNAPSHOT</version>
34
                <type>pom</type>
35
                <scope>import</scope>
36
            </dependency>
37
        </dependencies>
38
    </dependencyManagement>
39
    <repositories>
40
        <repository>
41
            <id>gvsig-public-http-repository</id>
42
            <name>gvSIG maven public HTTP repository</name>
43
            <url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url>
44
            <releases>
45
                <enabled>true</enabled>
46
                <updatePolicy>daily</updatePolicy>
47
                <checksumPolicy>warn</checksumPolicy>
48
            </releases>
49
            <snapshots>
50
                <enabled>true</enabled>
51
                <updatePolicy>daily</updatePolicy>
52
                <checksumPolicy>warn</checksumPolicy>
53
            </snapshots>
54
        </repository>
55
    </repositories>
56
    <profiles>
57
        <profile>
58
            <id>gvsig-install</id>
59
            <activation>
60
                <activeByDefault>true</activeByDefault>
61
            </activation>
62
            <properties>
63
                <!-- gvSIG installation folder -->
64
                <gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir>
65
            </properties>
66
        </profile>
67
        <profile>
68
            <id>eclipse-project</id>
69
            <build>
70
                <plugins>
71
                    <plugin>
72
                        <artifactId>maven-antrun-plugin</artifactId>
73
                        <configuration>
74
                            <tasks>
75
                                <ant antfile="${build-dir}/ant-tasks/eclipse-tasks.xml"
76
                                    target="eclipse.eclipse" />
77
                            </tasks>
78
                        </configuration>
79
                    </plugin>
80
                </plugins>
81
            </build>
82
        </profile>
83
    </profiles>
84
</project>
0 85

  
tags/v2_0_0_Build_2028/build/libraries-pom/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2

  
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">
6

  
7
	<modelVersion>4.0.0</modelVersion>
8
	<groupId>org.gvsig</groupId>
9
	<artifactId>gvsig-base-library-pom</artifactId>
10
	<packaging>pom</packaging>
11
	<version>2.0-SNAPSHOT</version>
12
	<name>library-base-pom</name>
13
	<parent>
14
		<groupId>org.gvsig</groupId>
15
		<artifactId>org.gvsig.maven.base.pom</artifactId>
16
		<version>1.0.8-SNAPSHOT</version>
17
	</parent>
18
	<scm>
19
		<connection>
20
			scm:svn:http://subversion.gvsig.org/gvSIG/branches/v2_0_0_prep/	    
21
	    </connection>
22
		<developerConnection>
23
			scm:svn:https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/
24
	    </developerConnection>
25
		<url>http://subversion.gvsig.org/viewvc/?root=gvSIG</url>
26
		<tag>v2_0_0_prep</tag>
27
	</scm>
28
	<repositories>
29
		<repository>
30
			<id>gvsig-public-http-repository</id>
31
			<name>gvSIG maven public HTTP repository</name>
32
			<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url>
33
			<releases>
34
				<enabled>true</enabled>
35
				<updatePolicy>daily</updatePolicy>
36
				<checksumPolicy>warn</checksumPolicy>
37
			</releases>
38
			<snapshots>
39
				<enabled>true</enabled>
40
				<updatePolicy>daily</updatePolicy>
41
				<checksumPolicy>warn</checksumPolicy>
42
			</snapshots>
43
		</repository>
44
	</repositories>
45
	<dependencyManagement>
46
		<dependencies>
47
			<dependency>
48
				<groupId>org.gvsig</groupId>
49
				<artifactId>org.gvsig.core.maven.dependencies</artifactId>
50
				<version>2.0.1-SNAPSHOT</version>
51
				<type>pom</type>
52
				<scope>import</scope>
53
			</dependency>
54
		</dependencies>
55
	</dependencyManagement>
56
	<build>
57
		<plugins>
58
			<plugin>
59
				<artifactId>maven-clean-plugin</artifactId>
60
				<configuration>
61
					<filesets>
62
						<fileset>
63
							<directory>${user.home}/.depman/</directory>
64
							<includes>
65
								<include>**</include>
66
							</includes>
67
						</fileset>
68
					</filesets>
69
					<followSymLinks>true</followSymLinks>
70
				</configuration>
71
			</plugin>
72
		</plugins>
73
	</build>
74
	<profiles>
75
		<profile>
76
			<id>eclipse-project</id>
77
			<build>
78
				<plugins>
79
					<plugin>
80
						<artifactId>maven-antrun-plugin</artifactId>
81
						<configuration>
82
							<tasks>
83
								<ant antfile="${build-dir}/ant-tasks/eclipse-tasks.xml" target="eclipse.eclipse" />
84
							</tasks>
85
						</configuration>
86
						<dependencies>
87
							<dependency>
88
								<groupId>org.apache.ant</groupId>
89
								<artifactId>ant-trax</artifactId>
90
								<version>1.7.1</version>
91
							</dependency>
92
							<dependency>
93
								<groupId>xalan</groupId>
94
								<artifactId>xalan</artifactId>
95
								<version>2.6.0</version>
96
							</dependency>
97
						</dependencies>
98
					</plugin>
99
				</plugins>
100
			</build>
101
		</profile>
102
		<profile>
103
			<id>gvsig-install</id>
104
			<activation>
105
				<activeByDefault>true</activeByDefault>
106
			</activation>
107
			<properties>
108
				<!--  gvSIG installation folder -->
109
				<gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir>
110
			</properties>
111
		</profile>
112
	</profiles>
113
</project>
0 114

  
tags/v2_0_0_Build_2028/build/maven/bin/mvnDebug.bat
1
@REM ----------------------------------------------------------------------------
2
@REM Licensed to the Apache Software Foundation (ASF) under one
3
@REM or more contributor license agreements.  See the NOTICE file
4
@REM distributed with this work for additional information
5
@REM regarding copyright ownership.  The ASF licenses this file
6
@REM to you under the Apache License, Version 2.0 (the
7
@REM "License"); you may not use this file except in compliance
8
@REM with the License.  You may obtain a copy of the License at
9
@REM
10
@REM    http://www.apache.org/licenses/LICENSE-2.0
11
@REM
12
@REM Unless required by applicable law or agreed to in writing,
13
@REM software distributed under the License is distributed on an
14
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
@REM KIND, either express or implied.  See the License for the
16
@REM specific language governing permissions and limitations
17
@REM under the License.
18
@REM ----------------------------------------------------------------------------
19

  
20
@REM ----------------------------------------------------------------------------
21
@REM Maven2 Start Up Batch script
22
@REM
23
@REM Required ENV vars:
24
@REM JAVA_HOME - location of a JDK home dir
25
@REM
26
@REM Optional ENV vars
27
@REM M2_HOME - location of maven2's installed home dir
28
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
29
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
30
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
31
@REM     e.g. to debug Maven itself, use
32
@REM set MAVEN_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
33
@REM ----------------------------------------------------------------------------
34

  
35
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
36
@echo off
37
@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
38
@if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%
39

  
40
set MAVEN_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
41
@echo Preparing to Execute Maven in Debug Mode
42

  
43
@REM set %HOME% to equivalent of $HOME
44
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
45

  
46
@REM Execute a user defined script before this one
47
if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
48

  
49
set ERROR_CODE=0
50

  
51
@REM set local scope for the variables with windows NT shell
52
if "%OS%"=="Windows_NT" @setlocal
53
if "%OS%"=="WINNT" @setlocal
54

  
55
@REM ==== START VALIDATION ====
56
if not "%JAVA_HOME%" == "" goto OkJHome
57

  
58
echo.
59
echo ERROR: JAVA_HOME not found in your environment.
60
echo Please set the JAVA_HOME variable in your environment to match the
61
echo location of your Java installation
62
echo.
63
goto error
64

  
65
:OkJHome
66
if exist "%JAVA_HOME%\bin\java.exe" goto chkMHome
67

  
68
echo.
69
echo ERROR: JAVA_HOME is set to an invalid directory.
70
echo JAVA_HOME = "%JAVA_HOME%"
71
echo Please set the JAVA_HOME variable in your environment to match the
72
echo location of your Java installation
73
echo.
74
goto error
75

  
76
:chkMHome
77
if not "%M2_HOME%"=="" goto valMHome
78

  
79
if "%OS%"=="Windows_NT" SET "M2_HOME=%~dp0.."
80
if "%OS%"=="WINNT" SET "M2_HOME=%~dp0.."
81
if not "%M2_HOME%"=="" goto valMHome
82

  
83
echo.
84
echo ERROR: M2_HOME not found in your environment.
85
echo Please set the M2_HOME variable in your environment to match the
86
echo location of the Maven installation
87
echo.
88
goto error
89

  
90
:valMHome
91

  
92
:stripMHome
93
if not "_%M2_HOME:~-1%"=="_\" goto checkMBat
94
set "M2_HOME=%M2_HOME:~0,-1%"
95
goto stripMHome
96

  
97
:checkMBat
98
if exist "%M2_HOME%\bin\mvn.bat" goto init
99

  
100
echo.
101
echo ERROR: M2_HOME is set to an invalid directory.
102
echo M2_HOME = "%M2_HOME%"
103
echo Please set the M2_HOME variable in your environment to match the
104
echo location of the Maven installation
105
echo.
106
goto error
107
@REM ==== END VALIDATION ====
108

  
109
:init
110
@REM Decide how to startup depending on the version of windows
111

  
112
@REM -- Windows NT with Novell Login
113
if "%OS%"=="WINNT" goto WinNTNovell
114

  
115
@REM -- Win98ME
116
if NOT "%OS%"=="Windows_NT" goto Win9xArg
117

  
118
:WinNTNovell
119

  
120
@REM -- 4NT shell
121
if "%@eval[2+2]" == "4" goto 4NTArgs
122

  
123
@REM -- Regular WinNT shell
124
set MAVEN_CMD_LINE_ARGS=%*
125
goto endInit
126

  
127
@REM The 4NT Shell from jp software
128
:4NTArgs
129
set MAVEN_CMD_LINE_ARGS=%$
130
goto endInit
131

  
132
:Win9xArg
133
@REM Slurp the command line arguments.  This loop allows for an unlimited number
134
@REM of agruments (up to the command line limit, anyway).
135
set MAVEN_CMD_LINE_ARGS=
136
:Win9xApp
137
if %1a==a goto endInit
138
set MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% %1
139
shift
140
goto Win9xApp
141

  
142
@REM Reaching here means variables are defined and arguments have been captured
143
:endInit
144
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
145

  
146
@REM -- 4NT shell
147
if "%@eval[2+2]" == "4" goto 4NTCWJars
148

  
149
@REM -- Regular WinNT shell
150
for %%i in ("%M2_HOME%"\boot\classworlds-*) do set CLASSWORLDS_JAR="%%i"
151
goto runm2
152

  
153
@REM The 4NT Shell from jp software
154
:4NTCWJars
155
for %%i in ("%M2_HOME%\boot\classworlds-*") do set CLASSWORLDS_JAR="%%i"
156
goto runm2
157

  
158
@REM Start MAVEN2
159
:runm2
160
%MAVEN_JAVA_EXE% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %CLASSWORLDS_JAR% "-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" org.codehaus.classworlds.Launcher %MAVEN_CMD_LINE_ARGS%
161
if ERRORLEVEL 1 goto error
162
goto end
163

  
164
:error
165
if "%OS%"=="Windows_NT" @endlocal
166
if "%OS%"=="WINNT" @endlocal
167
set ERROR_CODE=1
168

  
169
:end
170
@REM set local scope for the variables with windows NT shell
171
if "%OS%"=="Windows_NT" goto endNT
172
if "%OS%"=="WINNT" goto endNT
173

  
174
@REM For old DOS remove the set variables from ENV - we assume they were not set
175
@REM before we started - at least we don't leave any baggage around
176
set MAVEN_JAVA_EXE=
177
set MAVEN_CMD_LINE_ARGS=
178
goto postExec
179

  
180
:endNT
181
@endlocal & set ERROR_CODE=%ERROR_CODE%
182

  
183
:postExec
184
if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
185
@REM pause the batch file if MAVEN_BATCH_PAUSE is set to 'on'
186
if "%MAVEN_BATCH_PAUSE%" == "on" pause
187

  
188
if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
189

  
190
exit /B %ERROR_CODE%
191

  
tags/v2_0_0_Build_2028/build/maven/bin/m2
1
#!/bin/sh
2
# ----------------------------------------------------------------------------
3
# Licensed to the Apache Software Foundation (ASF) under one
4
# or more contributor license agreements.  See the NOTICE file
5
# distributed with this work for additional information
6
# regarding copyright ownership.  The ASF licenses this file
7
# to you under the Apache License, Version 2.0 (the
8
# "License"); you may not use this file except in compliance
9
# with the License.  You may obtain a copy of the License at
10
#
11
#    http://www.apache.org/licenses/LICENSE-2.0
12
#
13
# Unless required by applicable law or agreed to in writing,
14
# software distributed under the License is distributed on an
15
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
# KIND, either express or implied.  See the License for the
17
# specific language governing permissions and limitations
18
# under the License.
19
# ----------------------------------------------------------------------------
20

  
21
echo ""
22
echo THE m2 COMMMAND IS DEPRECATED - PLEASE RUN mvn INSTEAD
23
echo ""
24

  
25
. `dirname "$0"`/mvn
26
exec "`dirname "$0"`/mvn" $QUOTED_ARGS
0 27

  
tags/v2_0_0_Build_2028/build/maven/bin/mvn
1
#!/bin/sh
2
# ----------------------------------------------------------------------------
3
# Licensed to the Apache Software Foundation (ASF) under one
4
# or more contributor license agreements.  See the NOTICE file
5
# distributed with this work for additional information
6
# regarding copyright ownership.  The ASF licenses this file
7
# to you under the Apache License, Version 2.0 (the
8
# "License"); you may not use this file except in compliance
9
# with the License.  You may obtain a copy of the License at
10
#
11
#    http://www.apache.org/licenses/LICENSE-2.0
12
#
13
# Unless required by applicable law or agreed to in writing,
14
# software distributed under the License is distributed on an
15
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
# KIND, either express or implied.  See the License for the
17
# specific language governing permissions and limitations
18
# under the License.
19
# ----------------------------------------------------------------------------
20

  
21
# ----------------------------------------------------------------------------
22
# Maven2 Start Up Batch script
23
#
24
# Required ENV vars:
25
# ------------------
26
#   JAVA_HOME - location of a JDK home dir
27
#
28
# Optional ENV vars
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff