Revision 22842

View differences:

trunk/build/projects/gvsig-plugin-base/build.xml
2 2

  
3 3
	<import file="../../build.xml" />
4 4

  
5
	<target name="work" description="prepares system to begin working with eclipse" depends="prepare-eclipse-workspace" />
5

  
6

  
7
	<target name="install-gvsig-base" depends="mvn-clean,mvn-install-extensions"/>
8

  
9
	<target name="eclipse-gvsig-base" depends="mvn-clean,mvn-install-extensions,mvn-eclipse-clean">
10
		<exec executable="${mvn.executable}">
11
			<arg value="eclipse:eclipse" />
12
		</exec>
13
	</target>
14

  
15
	<target name="mvn-install-extensions">
16
		<exec executable="${mvn.executable}">
17
			<arg value="install" />
18
			<arg value="-Dmaven.test.skip=true" />
19
			<arg value="-Dinstall-extension" />
20
		</exec>
21
	</target>
22

  
23
	<target name="mvn-install">
24
		<exec executable="${mvn.executable}">
25
			<arg value="install" />
26
		</exec>
27
	</target>
28

  
29
	<target name="mvn-eclipse-clean">
30
		<exec executable="${mvn.executable}">
31
			<arg value="eclipse:clean" />
32
		</exec>
33
	</target>
34

  
35
	<target name="work" description="prepares system to begin working with eclipse" depends="install-gvsig-base" />
6 36
	<!--
7 37
	TODO: This target should call mvn install phase in a temporary dir, and afterwards call izPack to do the distribution of this plugin.
8 38
	target name="distribution" description="creates the final distribution of the plugin" depends="mvn-install,build-installer" /
trunk/build/projects/gvsig-plugin-base/pom.xml
39 39
			<version>1.2.13</version>
40 40
		</dependency>
41 41
	</dependencies>
42
	
43
	<distributionManagement>
44
		<repository>
45
			<id>gvsig-ftp-repository</id>
46
			<name>gvSIG maven FTP repository</name>
47
			<url>ftp://downloads.gvsig.org:20001/user/maven
48
			</url>
49
		</repository>
50
		<snapshotRepository>
51
			<id>gvsig-ftp-repository</id>
52
			<name>gvSIG maven FTP repository</name>
53
			<url>ftp://downloads.gvsig.org:20001/user/maven
54
			</url>
55
		</snapshotRepository>
56
	</distributionManagement>
42 57

  
43 58
	<modules>
44 59
<!--		<module>../../</module>-->
......
58 73
		<module>../../../libFMap</module>
59 74
		<module>../../../appgvSIG</module>
60 75
		<module>../../../extRasterTools-SE</module>
61
		<module>../../../extIconThemeBase</module>

76
		<module>../../../extIconThemeBase</module>
62 77
	</modules>
63 78
</project>
64 79

  
trunk/build/pom.xml
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1
cd <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 2
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
3 3
http://maven.apache.org/maven-v4_0_0.xsd">
4 4
	<modelVersion>4.0.0</modelVersion>
trunk/build/build.xml
1
<project name="Complete build system" basedir=".">
1
<project name="Complete build system" basedir="." default="prepare-eclipse-workspace">
2 2
	<description>
3 3
		Builds and prepare folders to work with eclipse using maven.
4 4
		Also is able to generate a release of all system with binaries distribution
......
66 66
			<arg value="-Dmaven.test.skip=true" />
67 67
		</exec>
68 68
	</target>
69

  
70
	<target name="install-gvsig-base" depends="mvn-clean,mvn-install-extensions,mvn-eclipse-clean">
71
		<exec executable="${mvn.executable}">
72
			<arg value="eclipse:eclipse" />
73
		</exec>
74
	</target>
75

  
76
	<target name="mvn-install-extensions">
77
		<exec executable="${mvn.executable}">
78
			<arg value="install" />
79
			<arg value="-Dmaven.test.skip=true" />
80
			<arg value="-Dinstall-extension" />
81
		</exec>
82
	</target>
83

  
69 84
	<target name="mvn-install">
70 85
		<exec executable="${mvn.executable}">
71 86
			<arg value="install" />
72 87
		</exec>
73 88
	</target>
74 89

  
90
	<target name="mvn-eclipse-clean">
91
		<exec executable="${mvn.executable}">
92
			<arg value="eclipse:clean" />
93
		</exec>
94
	</target>
95

  
96
	<target name="mvn-eclipse-eclipse">
97
		<exec executable="${mvn.executable}">
98
			<arg value="eclipse:eclipse" />
99
		</exec>
100
	</target>
101

  
75 102
	<!-- TODO: Target for make complete building of gvSIG, calling all enabled projects by default -->
76 103

  
77 104
	<!-- target name="work" description="prepares system to begin working with eclipse" depends="prepare-eclipse-workspace" / -->
trunk/build/metadata/.plugins/org.eclipse.debug.core/.launches/maven add maven repo unix.launch
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
3
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
4
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
5
<mapEntry key="JAVA_HOME" value="/usr/lib/jvm/java-1.5.0-sun-1.5.0.13"/>
6
</mapAttribute>
7
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/build/maven/bin/mvn}"/>
8
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="eclipse:add-maven-repo -Declipse.workspace=&quot;${workspace_loc}&quot;"/>
9
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc}"/>
10
</launchConfiguration>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
3
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
4
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
5
<mapEntry key="JAVA_HOME" value="/usr/lib/jvm/java-1.5.0-sun"/>
6
</mapAttribute>
7
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/build/maven/bin/mvn}"/>
8
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="eclipse:add-maven-repo -Declipse.workspace=&quot;${workspace_loc}&quot;"/>
9
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc}"/>
10
</launchConfiguration>
trunk/build/metadata/.plugins/org.eclipse.debug.core/.launches/GvSIG maven new.launch
45 45
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry containerPath=&quot;gvsig-path/lib/looks-gvsig.jar&quot; path=&quot;3&quot; type=&quot;3&quot;/&gt;&#13;&#10;"/>
46 46
</listAttribute>
47 47
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
48
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre1.5.0_11"/>
48
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre"/>
49 49
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.iver.andami.Launcher"/>
50 50
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="gvSIG gvSIG/extensiones"/>
51 51
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="build"/>

Also available in: Unified diff