Revision 36100

View differences:

tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/buildNumber.properties
1
#maven.buildNumber.plugin properties file
2
#Fri Aug 12 10:08:47 CEST 2011
3
buildNumber=1
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>org.gvsig.newlayer.app</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
	</buildSpec>
9
	<natures>
10
	</natures>
11
</projectDescription>
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/org.gvsig.newlayer.app.extension/buildNumber.properties
1
#maven.buildNumber.plugin properties file
2
#Fri Aug 12 10:08:48 CEST 2011
3
buildNumber=1
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/org.gvsig.newlayer.app.extension/package.info
1
#
2
#Fri Aug 12 10:08:48 CEST 2011
3
state=devel
4
name=org.gvsig.newlayer.app.extension
5
buildNumber=1
6
official=true
7
owner=
8
code=org.gvsig.newlayer.app.extension
9
operating-system=all
10
architecture=all
11
java-version=j1_5
12
gvSIG-version=2.0.0
13
sources-url=
14
version=1.0.0-SNAPSHOT-1
15
dependencies=
16
type=plugin
17
description=Extension of the newlayer example project
18
model-version=1.0.1
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/org.gvsig.newlayer.app.extension/src/test/resources/README.txt
1
Put into this folder the resources needed by your test classes.
2

  
3
This folder is added to the Tests classpath, so you can load any resources 
4
through the ClassLoader.
5

  
6
By default, in this folder you can find an example of log4j configuration,
7
prepared to log messages through the console, so logging works when you
8
run your tests classes.
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/org.gvsig.newlayer.app.extension/src/test/resources/log4j.xml
1
<?xml version="1.0" encoding="ISO-8859-1" ?>
2
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
3

  
4
<!-- 
5
Log4J configuration file for unit tests execution.
6
 -->
7
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
8

  
9
	<!-- Appender configuration to show logging messages through the console -->
10
	<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
11
		<layout class="org.apache.log4j.PatternLayout">
12
			<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p [%c{2}.%M()]\n  %m%n" />
13
		</layout>
14
	</appender>
15

  
16
	<!-- 
17
	Activate logging messages of DEBUG level of higher only for the
18
	org.gvsig.tools packages.
19
	You can put full classes names or packages instead, to configure
20
	logging for all the classes and subpackages of the package.
21
	-->
22
	<category name="org.gvsig.tools">
23
		<priority value="DEBUG" />
24
	</category>
25
	<category name="org.gvsig.newlayer">
26
		<priority value="DEBUG" />
27
	</category>
28

  
29
	<!-- 
30
	By default, show only logging messages of INFO level or higher, 
31
	through the previously configured CONSOLE appender. 
32
	-->
33
	<root>
34
		<priority value="INFO" />
35
		<appender-ref ref="CONSOLE" />
36
	</root>
37
</log4j:configuration>
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/org.gvsig.newlayer.app.extension/src/main/java/org/gvsig/newlayer/app/extension/package.html
1
<?xml version="1.0" encoding="UTF-8" ?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml">
4
<head>
5
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
<title>org.gvsig.newlayer package documentation</title>
7
</head>
8
<body>
9

  
10
	<p>NewLayer gvSIG extension</p>
11
	
12
	<p>
13
	Shows NewLayer into gvSIG.
14
	</p>
15

  
16
</body>
17
</html>
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/org.gvsig.newlayer.app.extension/src/main/java/org/gvsig/newlayer/app/extension/NewLayerExtension.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.newlayer.app.extension;
23

  
24
import javax.swing.JOptionPane;
25

  
26
import org.gvsig.andami.plugins.Extension;
27
import org.gvsig.app.ApplicationLocator;
28
import org.gvsig.app.ApplicationManager;
29
import org.gvsig.app.project.documents.view.ViewDocument;
30
import org.gvsig.app.project.documents.view.ViewManager;
31
import org.gvsig.newlayer.NewLayerLocator;
32
import org.gvsig.newlayer.NewLayerManager;
33
import org.gvsig.newlayer.NewLayerService;
34
import org.gvsig.newlayer.NewLayerWizard;
35
import org.gvsig.tools.swing.api.ToolsSwingLocator;
36
import org.gvsig.tools.swing.api.windowmanager.WindowManager;
37

  
38
/**
39
 * @author gvSIG Team
40
 * @version $Id$
41
 * 
42
 */
43
public class NewLayerExtension extends Extension {
44

  
45
	public void initialize() {
46
		
47
	}
48

  
49
	@Override
50
	public void postInitialize() {
51
		super.postInitialize();
52
	}
53

  
54
	public void execute(String actionCommand) {
55
		
56
		int resp = JOptionPane.showConfirmDialog(null,
57
			    "Esta extensi?n no funciona todav?a. ?Desea continuar?", 
58
			    "En construcci?n", JOptionPane.YES_NO_OPTION);
59
		if (resp!=JOptionPane.YES_OPTION){
60
			return;
61
		}
62
		ApplicationManager application = ApplicationLocator.getManager();
63
		ViewDocument view = (ViewDocument) application.getActiveDocument(ViewManager.TYPENAME);
64
		
65
		if (view != null) {
66
			NewLayerManager manager = NewLayerLocator.getManager();
67
			NewLayerService service = manager.createNewLayerService();
68
			NewLayerWizard wizard = manager.createNewLayerWizard(service);
69
			
70
			WindowManager windowMgr = ToolsSwingLocator.getWindowManager();
71
			windowMgr.showWindow(wizard, "New layer wizard", WindowManager.MODE.DIALOG);
72
		}
73
	}
74

  
75
	public boolean isEnabled() {
76
		
77
		ApplicationManager application = ApplicationLocator.getManager();
78
		ViewDocument view = (ViewDocument) application.getActiveDocument(ViewManager.TYPENAME);
79
		return (view != null);
80
		
81
	}
82

  
83
	public boolean isVisible() {
84
		
85
		ApplicationManager application = ApplicationLocator.getManager();
86
		ViewDocument view = (ViewDocument) application.getActiveDocument(ViewManager.TYPENAME);
87
		return (view != null);
88
		
89
	}
90
}
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/org.gvsig.newlayer.app.extension/src/main/resources/org/gvsig/newlayer/app/extension/i18n/text.properties
1
add_table_to_project=Desea a?adir la tabla al proyecto?
2
add_table=A?adir tabla
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/org.gvsig.newlayer.app.extension/src/main/resources/org/gvsig/newlayer/app/extension/i18n/text_en.properties
1
add_table_to_project=Add the table to the project?
2
add_table=Add table
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/org.gvsig.newlayer.app.extension/src/main/resources/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<plugin-config>
3
	<depends plugin-name="org.gvsig.app" />
4
	<depends plugin-name="org.gvsig.editing" />
5
    <depends plugin-name="org.gvsig.geodb" />
6
	<resourceBundle name="text"/>
7
	<libraries library-dir="lib"/>
8
	<extensions>
9
		<extension class-name="org.gvsig.newlayer.app.extension.NewLayerExtension"
10
			description=""
11
			active="true"
12
			priority="1">
13
			<menu text="Vista/new_layer"
14
				position="30090"
15
				action-command="NewLayer"/>				
16
		</extension>		
17
		<!-- <extension class-name="org.gvsig.newlayer.app.extension.ExporttoTableExtension"
18
            description=""
19
            active="true"
20
            priority="1">
21
            <menu text="Tabla/new_layer"
22
                position="50"
23
                action-command="NewLayer"/>             
24
        </extension> -->        
25
	</extensions>
26
</plugin-config>
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/org.gvsig.newlayer.app.extension/src/main/resources/build.number
1
#Build Number for ANT. Do not edit!
2
#Tue Apr 28 16:00:47 CEST 2009
3
build.number=2005
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/org.gvsig.newlayer.app.extension/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"
4
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5
	<modelVersion>4.0.0</modelVersion>
6
	<artifactId>org.gvsig.newlayer.app.extension</artifactId>
7
	<packaging>jar</packaging>
8
	<name>org.gvsig.newlayer.app.extension</name>
9
	<parent>
10
		<groupId>org.gvsig</groupId>
11
		<artifactId>org.gvsig.newlayer.app</artifactId>
12
		<version>1.0.0-SNAPSHOT</version>
13
	</parent>
14

  
15
	<dependencies>
16
		<dependency>
17
			<groupId>org.gvsig</groupId>
18
			<artifactId>org.gvsig.andami</artifactId>
19
		</dependency>
20
		<dependency>
21
			<groupId>org.gvsig</groupId>
22
			<artifactId>org.gvsig.i18n</artifactId>
23
		</dependency>
24
		<dependency>
25
			<groupId>org.gvsig</groupId>
26
			<artifactId>org.gvsig.tools.lib</artifactId>
27
			<scope>compile</scope>
28
		</dependency>		
29
		<dependency>
30
			<groupId>org.gvsig</groupId>
31
			<artifactId>org.gvsig.tools.swing.api</artifactId>
32
			<scope>compile</scope>
33
		</dependency>		
34
		<dependency>
35
			<groupId>org.gvsig</groupId>
36
			<artifactId>org.gvsig.ui</artifactId>
37
			<scope>compile</scope>
38
		</dependency>		
39
		<dependency>
40
            <groupId>org.gvsig</groupId>
41
            <artifactId>org.gvsig.projection</artifactId>
42
            <scope>compile</scope>
43
        </dependency>
44
        <dependency>
45
            <groupId>org.gvsig</groupId>
46
            <artifactId>org.gvsig.fmap.mapcontext</artifactId>
47
            <scope>compile</scope>
48
        </dependency>
49
        <dependency>
50
            <groupId>org.gvsig</groupId>
51
            <artifactId>org.gvsig.fmap.dal</artifactId>
52
            <scope>compile</scope>
53
        </dependency>
54
		<dependency>
55
			<groupId>org.gvsig</groupId>
56
			<artifactId>org.gvsig.newlayer.lib.api</artifactId>
57
            <scope>compile</scope>
58
		</dependency>
59
		<dependency>
60
			<groupId>org.gvsig</groupId>
61
			<artifactId>org.gvsig.newlayer.lib.impl</artifactId>
62
            <scope>runtime</scope>
63
		</dependency>
64
	    <dependency>
65
            <groupId>org.gvsig</groupId>
66
            <artifactId>org.gvsig.newlayer.prov.generic</artifactId>
67
            <scope>runtime</scope>
68
        </dependency>
69
        <dependency>
70
            <groupId>org.gvsig</groupId>
71
            <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
72
            <scope>compile</scope>
73
        </dependency>   
74
        <dependency>
75
            <groupId>org.gvsig</groupId>
76
            <artifactId>org.gvsig.app</artifactId>
77
            <scope>compile</scope>
78
        </dependency>   
79
        
80
        
81
	</dependencies>
82
	<profiles>
83
		<profile>
84
			<id>gvsig-install</id>
85
			<activation>
86
				<activeByDefault>true</activeByDefault>
87
			</activation>
88
			<properties>
89
				<!--
90
					Default gvSIG installation folder relative to the current workspace
91
				-->
92
				<gvsig.install.dir>${basedir}/../../build/product</gvsig.install.dir>
93
			</properties>
94
		</profile>
95
	</profiles>
96
    <properties>
97
        <build-dir>${basedir}/../../build</build-dir>
98
    </properties>
99
	
100
</project>
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/org.gvsig.newlayer.app.extension/distribution/distribution.xml
1
<assembly>
2
	<id>distribution</id>
3
	<formats>
4
		<format>dir</format>
5
	</formats>
6
	<fileSets>
7
		<!-- Estructure for the extension -->
8
		<fileSet>
9
			<directory>src/main/resources</directory>
10
			<outputDirectory>${extension.install.dir.name}
11
			</outputDirectory>
12
		</fileSet>
13
	</fileSets>
14
    <files>
15
        <file>
16
            <source>package.info</source>
17
            <outputDirectory>${extension.install.dir.name}</outputDirectory>
18
        </file>
19
    </files>	
20
	<dependencySets>
21
		<dependencySet>
22
			<outputDirectory>${extension.install.dir.name}/${library-dir}
23
			</outputDirectory>
24
			<includes>
25
				<include>org.gvsig:org.gvsig.newlayer.app.extension</include>
26
				<include>org.gvsig:org.gvsig.newlayer.lib.api</include>
27
				<include>org.gvsig:org.gvsig.newlayer.lib.impl</include>
28
				<include>org.gvsig:org.gvsig.newlayer.prov.generic</include>
29
			</includes>
30
		</dependencySet>
31
	</dependencySets>
32
</assembly>
0 33

  
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/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.6-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://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository/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="prepare-workspace" depends="get-maven-base-build-local,get-maven-base-build-remote">
45

  
46
		<mkdir dir="target" />
47

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

  
50
		<!-- Copy the maven launchers to the workspace metadata folder -->
51
		<copy todir="${workspace.basedir}/.metadata">
52
			<fileset dir="${build.basedir}/eclipse-launchers">
53
				<exclude name="**/org.eclipse.jdt.core.prefs" />
54
				<exclude name="**/org.eclipse.core.variables.prefs" />
55
			</fileset>
56
		</copy>
57

  
58
		<concat destfile="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs" append="true">
59
			<filelist dir="${build.basedir}/eclipse-launchers/.plugins/org.eclipse.core.runtime/.settings" files="org.eclipse.jdt.core.prefs" />
60
		</concat>
61
		<concat destfile="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.variables.prefs" append="true">
62
			<filelist dir="${build.basedir}/eclipse-launchers/.plugins/org.eclipse.core.runtime/.settings" files="org.eclipse.core.variables.prefs" />
63
		</concat>
64

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

  
68
		<!-- Configure the gvSIG profile -->
69
		<ant antfile="${build.basedir}/check-gvsig-profile.xml" target="initialize" />
70

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

  
73
		<taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask">
74
			<classpath>
75
				<pathelement location="${ant.libs.dir}/com.oopsconsultancy.xmltask-1.16.1.jar" />
76
			</classpath>
77
		</taskdef>
78

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

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

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

  
89
		<echo>INFORMATION!!!</echo>
90
		<echo>Restart eclipse and then proceed to import the subprojects contained into the main project</echo>
91

  
92
		<!-- TODO: copiar al proyecto de configuraciĆ³n general -->
93
	</target>
94

  
95
	<target name="clean">
96
		<delete dir="target" />
97
	</target>
98

  
99
</project>
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/pom.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2

  
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
	<modelVersion>4.0.0</modelVersion>
6
	<groupId>org.gvsig</groupId>
7
	<artifactId>org.gvsig.newlayer.app</artifactId>
8
	<packaging>pom</packaging>
9
	<version>1.0.0-SNAPSHOT</version>
10
	<name>org.gvsig.newlayer.app</name>
11
	<description>Extension of the newlayer example project</description>
12
	<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.newlayer/${project.version}/basic/org.gvsig.newlayer.app</url>
13
	<parent>
14
		<groupId>org.gvsig</groupId>
15
		<artifactId>gvsig-base-extension-pom</artifactId>
16
		<version>2.0-SNAPSHOT</version>
17
	</parent>
18

  
19
	<scm>
20
		<connection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-newlayer/org.gvsig.newlayer/extension/trunk</connection>
21
		<developerConnection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-newlayer/org.gvsig.newlayer/extension/trunk</developerConnection>
22
		<url>https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.newlayer/extension/trunk/?root=gvsig-newlayer</url>
23
	</scm>
24

  
25
    <developers>
26
        <developer>
27
            <id>jpiera</id>
28
            <name>Jorge Piera</name>
29
            <email>jpiera@gvsig.org</email>
30
            <roles>
31
                <role>Architect</role>
32
                <role>Developer</role>
33
            </roles>
34
        </developer>
35
        <developer>
36
            <id>jjdelcerro</id>
37
            <name>Joaqu?n Jos? del Cerro</name>
38
            <email>jjdelcerro@gvsig.org</email>
39
            <roles>
40
                <role>Architect</role>          
41
            </roles>
42
        </developer>        
43
    </developers>
44

  
45
	<distributionManagement>
46
		<site>
47
			<id>gvsig-repository</id>
48
			<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.newlayer/${project.version}/basic/org.gvsig.newlayer.app</url>
49
		</site>
50
	</distributionManagement>
51
	<repositories>
52
		<repository>
53
			<id>gvsig-public-http-repository</id>
54
			<name>gvSIG maven public HTTP repository</name>
55
			<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url>
56
			<releases>
57
				<enabled>true</enabled>
58
				<updatePolicy>daily</updatePolicy>
59
				<checksumPolicy>warn</checksumPolicy>
60
			</releases>
61
			<snapshots>
62
				<enabled>true</enabled>
63
				<updatePolicy>daily</updatePolicy>
64
				<checksumPolicy>warn</checksumPolicy>
65
			</snapshots>
66
		</repository>
67
	</repositories>
68
	<build>
69
		<plugins>
70
			<plugin>
71
				<groupId>org.apache.maven.plugins</groupId>
72
				<artifactId>maven-release-plugin</artifactId>
73
				<configuration>
74
					<tagBase>https://svn.forge.osor.eu/svn/gvsig-newlayer/org.gvsig.newlayer/extension/tags</tagBase>
75
				</configuration>
76
			</plugin>
77
		</plugins>
78
	</build>
79
	<dependencyManagement>
80
		<dependencies>	
81
			<dependency>
82
                <groupId>org.gvsig</groupId>
83
                <artifactId>org.gvsig.andami</artifactId>
84
                <version>2.0-SNAPSHOT</version>
85
            </dependency>
86
			<dependency>
87
                <groupId>org.gvsig</groupId>
88
                <artifactId>org.gvsig.app</artifactId>
89
                <version>2.0-SNAPSHOT</version>
90
            </dependency>
91
            <dependency>
92
                <groupId>org.gvsig</groupId>
93
                <artifactId>org.gvsig.i18n</artifactId>
94
                <version>2.0-SNAPSHOT</version>
95
            </dependency>
96
            <dependency>
97
                <groupId>org.gvsig</groupId>
98
                <artifactId>org.gvsig.tools.lib</artifactId>
99
                <version>2.1.0-SNAPSHOT</version>
100
            </dependency>
101
			<dependency>
102
				<groupId>org.gvsig</groupId>
103
				<artifactId>org.gvsig.newlayer.lib.api</artifactId>
104
				<version>1.0.0-SNAPSHOT</version>
105
			</dependency>
106
			<dependency>
107
				<groupId>org.gvsig</groupId>
108
				<artifactId>org.gvsig.newlayer.lib.impl</artifactId>
109
				<version>1.0.0-SNAPSHOT</version>
110
				<scope>runtime</scope>
111
			</dependency>
112
			<dependency>
113
                <groupId>org.gvsig</groupId>
114
                <artifactId>org.gvsig.newlayer.prov.generic</artifactId>
115
                <version>1.0.0-SNAPSHOT</version>
116
                <scope>runtime</scope>
117
            </dependency> 
118
		</dependencies>
119
	</dependencyManagement>
120

  
121
	<modules>
122
		<module>org.gvsig.newlayer.app.extension</module>
123
	</modules>
124

  
125
    <properties>
126
        <build-dir>${basedir}/../build</build-dir>
127
    </properties>
128

  
129
</project>
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/README.txt
1
The first time you checkout the current project to a new workspace, 
2
you have to prepare it to be able to work easily with maven from
3
eclipse itself.
4

  
5
Perform the following steps:
6

  
7
1.- Launch the *prepare-workspace.xml* ant build file. 
8
    You can do it by loading the file into the ant view, 
9
    and running the default task, or right-clicking the 
10
    file from the package explorer or the navigator and
11
    select the option: *Run as > Ant build*. 
12
    
13
2.- Restart eclipse.
14

  
15
3.- Import the subprojects of the project you have just checked out.
16

  
17
Those steps are only needed once per workspace.     
18

  
tags/v2_0_0_Build_2031/extensions/org.gvsig.newlayer.app/distribution/distribution.xml
1
<assembly>
2
</assembly>
0 3

  

Also available in: Unified diff