Revision 807

View differences:

org.gvsig.tools/library/trunk/org.gvsig.tools/build.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 2
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
<project name="org.gvsig.tools" default="mvn-install">
27
	<dirname property="org.gvsig.tools.basedir" file="${ant.file.org.gvsig.tools}"/>	
28
	<import file="${org.gvsig.tools.basedir}/../org.gvsig.maven.base.build/maven-goals.xml"/>
29
</project>
org.gvsig.tools/library/trunk/org.gvsig.tools/prepare-workspace.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 2
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
<project name="org.gvsig.initial.build" default="prepare-workspace">
27

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

  
30
	<property name="workspace.basedir" value="${org.gvsig.initial.build.basedir}/.." />
31
	<property name="build.basedir" value="${workspace.basedir}/org.gvsig.maven.base.build" description="Eclipse workspace location" />
32
	<property name="build.jar.version" value="1.0.8-SNAPSHOT" />
33
	<property name="build.jar.file" value="org.gvsig.maven.base.build-${build.jar.version}.jar" />
34

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

  
37
	<target name="check-maven-base-build-available">
38
		<available file="${user.home}/.m2/repository/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}" property="maven-base-build-available" />
39
	</target>
40

  
41
	<target name="get-maven-base-build-local" depends="check-maven-base-build-available" if="maven-base-build-available">
42
		<!-- Unzip de build jar file from the maven repository into the workspace root folder -->
43
		<copy todir="${workspace.basedir}" preservelastmodified="false" filtering="false">
44
			<zipfileset src="${user.home}/.m2/repository/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}">
45
				<patternset>
46
					<exclude name="META-INF/**" />
47
				</patternset>
48
			</zipfileset>
49
		</copy>
50
	</target>
51

  
52
	<target name="get-maven-base-build-remote" depends="check-maven-base-build-available" unless="maven-base-build-available">
53
		<mkdir dir="target" />
54

  
55
		<!-- Download the build jar file -->
56
		<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" />
57

  
58
		<!-- Unzip de build jar file into the workspace root folder -->
59
		<copy todir="${workspace.basedir}" preservelastmodified="false" filtering="false">
60
			<zipfileset src="target/${build.jar.file}">
61
				<patternset>
62
					<exclude name="META-INF/**" />
63
				</patternset>
64
			</zipfileset>
65
		</copy>
66

  
67
	</target>
68
	
69
	<target name="find.depends.natives.file">
70
	    <condition property="depends.natives.file.exists">
71
            <available file="${org.gvsig.initial.build.basedir}/DEPENDS_ON_NATIVE_LIBRARIES"/>
72
	    </condition>	
73
	</target>
74
	
75
	<target name="find.gvsig.platform.properties.file" 
76
			depends="find.depends.natives.file"
77
			if="depends.natives.file.exists">
78
	    <condition property="gvsig.platform.exists">
79
            <available file="${user.home}/.gvsig.platform.properties"/>
80
	    </condition>	
81
	</target>
82
	
83
	<target name="check.gvsig.platform.properties" 
84
			depends="find.gvsig.platform.properties.file">
85
		<fail if="depends.natives.file.exists" unless="gvsig.platform.exists">
86
ERROR!!
87
	
88
You have to define your gvSIG platform properties, 
89
by creating the file: ${user.home}/.gvsig.platform.properties
90
with the following content:
91

  
92
native_platform=linux
93
native_distribution=all
94
native_compiler=gcc4
95
native_arch=i386
96
native_libraryType=dynamic
97
export native_classifier=${native_platform}-${native_distribution}-${native_compiler}-${native_arch}-${native_libraryType}
98

  
99
Replace the fifth initial variables values with the ones appropiate 
100
to your platform.
101
	
102
If you use maven in the command line, you can use the previous file also
103
to define the MAVEN_OPTS environment variable, by adding to your 
104
.bash_rc file something like this:
105

  
106
if [ -f "${HOME}/.gvsig.platform.properties" ]
107
then
108
    . ${HOME}/.gvsig.platform.properties
109
    export MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m -Dnative-classifier=${native_classifier}"
110
else
111
    export MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m"
112
fi
113

  
114
It will work if you use the bash shell. In any other case or platform, you'll
115
have to define your MAVEN_OPTS environment variable and set the 
116
"native-classifier" parameter directly.
117
		</fail>			
118
	
119
	</target>
120

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

  
123
		<mkdir dir="target" />
124

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

  
127
		<!-- Copy the maven launchers to the workspace metadata folder -->
128
		<copy todir="${workspace.basedir}/.metadata">
129
			<fileset dir="${build.basedir}/eclipse-launchers">
130
				<exclude name="**/org.eclipse.jdt.core.prefs" />
131
				<exclude name="**/org.eclipse.core.variables.prefs" />
132
			</fileset>
133
		</copy>
134

  
135
		<concat destfile="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs" append="true">
136
			<filelist dir="${build.basedir}/eclipse-launchers/.plugins/org.eclipse.core.runtime/.settings" files="org.eclipse.jdt.core.prefs" />
137
		</concat>
138
		<concat destfile="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.variables.prefs" append="true">
139
			<filelist dir="${build.basedir}/eclipse-launchers/.plugins/org.eclipse.core.runtime/.settings" files="org.eclipse.core.variables.prefs" />
140
		</concat>
141

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

  
145
		<!-- Configure the gvSIG profile -->
146
		<ant antfile="${build.basedir}/check-gvsig-profile.xml" />
147

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

  
150
		<taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask">
151
			<classpath>
152
				<pathelement location="${ant.libs.dir}/com.oopsconsultancy.xmltask-1.16.1.jar" />
153
			</classpath>
154
		</taskdef>
155

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

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

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

  
166
		<echo>INFORMATION!!!</echo>
167
		<echo>Restart eclipse and then proceed to import the subprojects contained into the main project</echo>
168

  
169
		<!-- TODO: copiar al proyecto de configuración general -->
170
	</target>
171

  
172
	<target name="clean">
173
		<delete dir="target" />
174
	</target>
175
	
176
</project>
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.main/pom.xml
6 6
    <parent>
7 7
        <groupId>org.gvsig</groupId>
8 8
        <artifactId>org.gvsig.tools</artifactId>
9
        <version>3.0.2-SNAPSHOT</version>
9
        <version>3.0.3-SNAPSHOT</version>
10 10
    </parent>
11 11
    <dependencies>
12 12
        <dependency>
13 13
            <groupId>org.gvsig</groupId>
14 14
            <artifactId>org.gvsig.tools.lib</artifactId>
15
            <version>3.0.2-SNAPSHOT</version>
16 15
        </dependency>
17 16
        <dependency>
18 17
            <groupId>org.gvsig</groupId>
19 18
            <artifactId>org.gvsig.tools.swing.api</artifactId>
20
            <version>3.0.2-SNAPSHOT</version>
21 19
        </dependency>
22 20
        <dependency>
23 21
            <groupId>org.gvsig</groupId>
24 22
            <artifactId>org.gvsig.tools.swing.spi</artifactId>
25
            <version>3.0.2-SNAPSHOT</version>
26 23
        </dependency>
27 24
        <dependency>
28 25
            <groupId>org.gvsig</groupId>
29 26
            <artifactId>org.gvsig.tools.swing.impl</artifactId>
30
            <version>3.0.2-SNAPSHOT</version>
31 27
            <scope>runtime</scope>
32 28
        </dependency>
33 29
        <dependency>
34 30
            <groupId>org.gvsig</groupId>
35 31
            <artifactId>org.gvsig.tools.swing.serv.field</artifactId>
36
            <version>3.0.2-SNAPSHOT</version>
37 32
            <scope>runtime</scope>
38 33
        </dependency>
39 34
        <dependency>
40 35
            <groupId>org.gvsig</groupId>
41 36
            <artifactId>org.gvsig.tools.swing.serv.jform</artifactId>
42
            <version>3.0.2-SNAPSHOT</version>
43 37
            <scope>runtime</scope>
44 38
        </dependency>
45 39
    </dependencies>
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/build.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 2
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
<project name="org.gvsig.tools.lib" default="mvn-install">
27
	<dirname property="org.gvsig.tools.lib.basedir" file="${ant.file.org.gvsig.tools.lib}"/>	
28
	<import file="${org.gvsig.tools.lib.basedir}/../../org.gvsig.maven.base.build/maven-goals.xml"/>
29
</project>
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/packageutils/Dependencies.java
30 30
	public org.gvsig.installer.lib.api.Dependencies parse(String dependenies);
31 31

  
32 32
	public boolean match(String type, String code, org.gvsig.installer.lib.api.Version version);
33
	public boolean match(String type, StringWithAlias code, org.gvsig.installer.lib.api.Version version);
33 34

  
34 35
	public org.gvsig.installer.lib.api.Dependency find(String type, String code, org.gvsig.installer.lib.api.Version version);
36
	public org.gvsig.installer.lib.api.Dependency find(String type, StringWithAlias code, org.gvsig.installer.lib.api.Version version);
35 37
    public List findAll(String type, String code, org.gvsig.installer.lib.api.Version version);
38
    public List findAll(String type, StringWithAlias code, org.gvsig.installer.lib.api.Version version);
36 39
	
37 40
}
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/packageutils/PackageInfo.java
45 45

  
46 46
	public void setCode(String code);
47 47

  
48
	public StringWithAlias getAllCodes();	
49
	    
50
    public boolean hasThisCode(String code);
51
	
48 52
	public String getID();
49 53

  
50 54
	/**
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/packageutils/StringWithAlias.java
1
package org.gvsig.tools.packageutils;
2

  
3
import java.util.List;
4

  
5
public interface StringWithAlias {
6

  
7
	public StringWithAlias add(String value);
8

  
9
	public List getAlias();
10
	
11
	public boolean equals(Object other);
12
	
13
	public boolean equalsIgnoreCase(Object other);
14

  
15
	public boolean matches(String regex);
16
	
17
	public boolean endsWith(Object suffix);
18

  
19
	public boolean startsWith(Object suffix);
20
	
21
	public boolean startsWith(Object suffix, int toffset);
22
	
23
	public int compareTo(Object other);
24
	
25
	public int compareToIgnoreCase(Object other);
26
	
27
	public String toString();
28
	
29
	public String concat(Object other);
30
	
31
}
32

  
0 33

  
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/packageutils/impl/PackageInfoFileReader.java
64 64
	public void read(PackageInfo packageInfo, Properties properties ) {
65 65

  
66 66
		packageInfo.setCode(properties.getProperty(PackageInfoTags.CODE));
67
		
68
		String codealias1 = properties.getProperty(PackageInfoTags.CODEALIAS);
69
		if( codealias1 != null ) {
70
			String[] s = codealias1.split(",");
71
			for( int i=0; i<s.length; i++) {
72
				s[i] = s[i].trim();
73
				if(! "".equals(s[i]) ) { // isEmpty
74
					packageInfo.getAllCodes().add(s[i]);
75
				}
76
			}
77
		}
78
		
67 79
		packageInfo.setName(properties.getProperty(PackageInfoTags.NAME));
68 80
		
69 81
		String pkgName = packageInfo.getName();
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/packageutils/impl/DefaultDependencies.java
29 29

  
30 30
import org.gvsig.tools.ToolsLocator;
31 31
import org.gvsig.tools.packageutils.Dependencies;
32
import org.gvsig.tools.packageutils.StringWithAlias;
32 33
import org.gvsig.installer.lib.api.Dependency;
33 34
import org.gvsig.tools.packageutils.PackageManager;
34 35
import org.gvsig.installer.lib.api.Version;
......
149 150
         return resp;
150 151
     }
151 152

  
153
	public boolean match(String type, StringWithAlias code, Version version) {
154
		Iterator it = this.iterator();
155
		while (it.hasNext()) {
156
			Dependency dependency = (Dependency) it.next();
157
			if (dependency.match(type, code, version)) {
158
				return true;
159
			}
160
		}
161
		return false;
162
	}
152 163

  
164
	public Dependency find(String type, StringWithAlias code, Version version) {
165
		Iterator it = this.iterator();
166
		while (it.hasNext()) {
167
			Dependency dependency = (Dependency) it.next();
168
			if (dependency.match(type, code, version)) {
169
				return dependency;
170
			}
171
		}
172
		return null;
173
	}
174
	
175
    public List findAll(String type, StringWithAlias code, Version version) {
176
        
177
        List resp = null;
178
         Iterator it = this.iterator();
179
         while (it.hasNext()) {
180
             Dependency dependency = (Dependency) it.next();
181
             if (dependency.match(type, code, version)) {
182
                 if (resp == null) {
183
                     resp = new ArrayList();
184
                 }
185
                 resp.add(dependency);
186
             }
187
         }
188
         return resp;
189
     }
190

  
191

  
153 192
}
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/packageutils/impl/DefaultPackageInfo.java
38 38
import java.util.List;
39 39
import java.util.Map;
40 40

  
41
import org.gvsig.installer.lib.api.Dependencies;
42
import org.gvsig.installer.lib.api.Version;
41 43
import org.gvsig.tools.ToolsLocator;
42 44
import org.gvsig.tools.exception.BaseException;
43
import org.gvsig.installer.lib.api.Dependencies;
44 45
import org.gvsig.tools.packageutils.PackageInfo;
45 46
import org.gvsig.tools.packageutils.PackageManager;
46 47
import org.gvsig.tools.packageutils.PackageManager.ARCH;
47 48
import org.gvsig.tools.packageutils.PackageManager.JVM;
48 49
import org.gvsig.tools.packageutils.PackageManager.OS;
49 50
import org.gvsig.tools.packageutils.PackageManager.STATE;
50
import org.gvsig.installer.lib.api.Version;
51
import org.gvsig.tools.packageutils.StringWithAlias;
51 52
import org.gvsig.tools.task.SimpleTaskStatus;
52 53
import org.slf4j.Logger;
53 54
import org.slf4j.LoggerFactory;
......
75 76
	private static final String DEFAULT_MODEL_VERSION = "1.0.1";
76 77
	private static final String DEFAULT_TYPE = "unknow";
77 78
	
78
    private String code = null;
79
    private StringWithAlias code = null;
79 80
    private String name = null;
80 81
    private String description = null;
81 82
    private Version version = null;
......
116 117
    }
117 118

  
118 119
    public String getCode() {
119
        return code;
120
    	if( code == null ) {
121
    		return null;
122
    	}
123
        return code.toString();
120 124
    }
121

  
125
    
126
    public StringWithAlias getAllCodes() {
127
    	return this.code;
128
    }
129
    
130
    public boolean hasThisCode(String code) {
131
    	if( this.code == null ) {
132
    		if( code == null ) {
133
    			return true;
134
    		}
135
    		return false;
136
    	}
137
    	return this.code.equalsIgnoreCase(code);
138
    }
139
    
140
    public boolean hasThisCode(StringWithAlias code) {
141
    	if( this.code == null ) {
142
    		if( code == null ) {
143
    			return true;
144
    		}
145
    		return false;
146
    	}
147
    	return this.code.equalsIgnoreCase(code);
148
    }
149
    
122 150
    public String getID() {
123 151
        String id =
124 152
            this.getCode() + "#" + this.getVersion() 
......
148 176
    }
149 177

  
150 178
    public void setCode(String code) {
151
        this.code = code;
179
    	if( code == null ) {
180
    		this.code = null;
181
    	} else {
182
    		this.code = new DefaultStringWithAlias(code);
183
    	}
152 184
    }
153 185

  
154 186
    public void setName(String name) {
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/packageutils/impl/DefaultStringWithAlias.java
1
package org.gvsig.tools.packageutils.impl;
2

  
3
import java.util.ArrayList;
4
import java.util.Collections;
5
import java.util.Iterator;
6
import java.util.List;
7

  
8
import org.gvsig.tools.packageutils.StringWithAlias;
9

  
10
public class DefaultStringWithAlias implements StringWithAlias {
11

  
12
	private String value;
13
	private List alias = new ArrayList();
14
	
15
	public DefaultStringWithAlias(String value) {
16
		this.value = value;
17
	}
18
	
19
	public StringWithAlias add(String value) {
20
		if( value != null ) {
21
			if( ! "".equals(value) ) { //isEpty
22
				if( ! this.equals(value) ) {
23
					this.alias.add(value);
24
				}
25
			}
26
		}
27
		return this;
28
	}
29

  
30
	public List getAlias() {
31
		return Collections.unmodifiableList(this.alias);
32
	}
33
	
34
	public boolean equals(Object other) {
35
		if( other == null ) {
36
			return false;
37
		}
38
		Object theOther = other;
39
		if( !(other instanceof StringWithAlias) ) {
40
			theOther = other.toString(); 
41
		} 
42
		if( theOther.equals(this.value) ) {
43
			return true;
44
		}
45
		Iterator it = alias.iterator();
46
		while( it.hasNext() ) {
47
			String value = (String) it.next();
48
			if( theOther.equals(value) ) {
49
				return true;
50
			}
51
		}
52
		return false;
53
	}
54
	
55
	public boolean equalsIgnoreCase(Object other) {
56
		if( other == null ) {
57
			return false;
58
		}
59
		if( other instanceof StringWithAlias ) {
60
			StringWithAlias theOther1 = (StringWithAlias) other;
61
			if( theOther1.equalsIgnoreCase(this.value) ) {
62
				return true;
63
			}
64
			Iterator it = alias.iterator();
65
			while( it.hasNext() ) {
66
				String value = (String) it.next();
67
				if( theOther1.equalsIgnoreCase(value) ) {
68
					return true;
69
				}
70
			}
71
		}  else {
72
			String theOther2 = other.toString();
73
			if( theOther2.equalsIgnoreCase(this.value) ) {
74
				return true;
75
			}
76
			Iterator it = alias.iterator();
77
			while( it.hasNext() ) {
78
				String value = (String) it.next();
79
				if( theOther2.equalsIgnoreCase(value) ) {
80
					return true;
81
				}
82
			}
83
		}
84
		return false;		
85
	}
86

  
87
	public boolean endsWith(Object suffix) {
88
		String suffixString = suffix.toString(); 
89
		if( this.value.endsWith(suffixString) ) {
90
			return true;
91
		}
92
		Iterator it = alias.iterator();
93
		while( it.hasNext() ) {
94
			String value = (String) it.next();
95
			if( value.endsWith(suffixString) ) {
96
				return true;
97
			}
98
		}
99
		return false;
100
	}
101

  
102
	public boolean startsWith(Object suffix) {
103
		return this.startsWith(suffix, 0);
104
	}
105
	
106
	public boolean startsWith(Object suffix, int toffset) {
107
		String suffixString = suffix.toString(); 
108
		if( this.value.startsWith(suffixString, toffset) ) {
109
			return true;
110
		}
111
		Iterator it = alias.iterator();
112
		while( it.hasNext() ) {
113
			String value = (String) it.next();
114
			if( value.startsWith(suffixString, toffset) ) {
115
				return true;
116
			}
117
		}
118
		return false;
119
	}
120

  
121
	public boolean matches(String regex) {
122
		if( this.value.matches(regex) ) {
123
			return true;
124
		}
125
		Iterator it = alias.iterator();
126
		while( it.hasNext() ) {
127
			String value = (String) it.next();
128
			if( value.matches(regex) ) {
129
				return true;
130
			}
131
		}
132
		return false;
133
	}
134

  
135
	public int compareTo(Object other) {
136
		if( this.equals(other) ) {
137
			return 0;
138
		}
139
		return this.value.compareTo(other.toString());
140
	}
141
	
142
	public int compareToIgnoreCase(Object other) {
143
		if( this.equalsIgnoreCase(other) ) {
144
			return 0;
145
		}
146
		return this.value.compareToIgnoreCase(other.toString());
147
	}
148
	
149
	public String toString() {
150
		return value;
151
	}
152
	
153
	public String concat(Object other) {
154
		return value.concat(other.toString());
155
	}
156
	
157
}
158

  
0 159

  
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/packageutils/impl/DefaultDependency.java
29 29
import org.gvsig.tools.exception.BaseRuntimeException;
30 30
import org.gvsig.tools.packageutils.Dependency;
31 31
import org.gvsig.tools.packageutils.PackageInfo;
32
import org.gvsig.tools.packageutils.StringWithAlias;
32 33
import org.gvsig.installer.lib.api.Version;
33 34

  
34 35
public class DefaultDependency implements Dependency {
......
147 148
		}
148 149
		return version.check(this.op, this.version);
149 150
	}
151
	
152
	public boolean match(String type, StringWithAlias code, Version version) {
153
		if (!this.type.equalsIgnoreCase(type)) {
154
			return false;
155
		}
156
		if (!code.equalsIgnoreCase(this.code)) {
157
			return false;
158
		}
159
		return version.check(this.op, this.version);
160
	}
150 161

  
151 162
	public String toString() {
152 163
		return MessageFormat.format("{0}: {1} {2} {3}",
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/packageutils/impl/PackageInfoFileWriter.java
27 27
import java.io.FileOutputStream;
28 28
import java.io.IOException;
29 29
import java.io.OutputStream;
30
import java.util.List;
30 31
import java.util.Properties;
31 32

  
32 33
import org.gvsig.tools.packageutils.PackageInfo;
......
50 51
		Properties props = new Properties();
51 52

  
52 53
		props.setProperty(PackageInfoTags.CODE, pkg.getCode());
54
		
55
		String codealias1 = null;
56
		List codealias2 = pkg.getAllCodes().getAlias();  
57
		for( int i=0; i<codealias2.size(); i++ ) {
58
			if( codealias1 == null ) {
59
				codealias1 = ((String) codealias2.get(i)).trim();
60
			} else {
61
				codealias1 = codealias1 +","+((String) codealias2.get(i)).trim();
62
			}
63
		}
64
		if( codealias1==null ) {
65
			codealias1 = "";
66
		}
67
		props.setProperty(PackageInfoTags.CODEALIAS, codealias1);
53 68
		props.setProperty(PackageInfoTags.NAME, pkg.getName());
54 69
		props.setProperty(PackageInfoTags.DESCRIPTION, pkg.getDescription());
55 70
		props.setProperty(PackageInfoTags.VERSION, pkg.getVersion().toString());
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/packageutils/impl/PackageInfoTags.java
34 34
public class PackageInfoTags {
35 35

  
36 36
	public static final String CODE = "code";
37
	public static final String CODEALIAS = "code-alias";
37 38
	public static final String NAME = "name";
38 39
	public static final String DESCRIPTION = "description";
39 40
	public static final String VERSION = "version";
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/installer/lib/api/Dependencies.java
26 26
import java.util.List;
27 27

  
28 28
import org.gvsig.tools.lang.Cloneable;
29
import org.gvsig.tools.packageutils.StringWithAlias;
29 30

  
30 31
/**
31 32
 * 
......
39 40
	public Dependencies parse(String dependenies);
40 41

  
41 42
	public boolean match(String type, String code, Version version);
43
	public boolean match(String type, StringWithAlias code, Version version);
42 44

  
43 45
    public Dependency find(String type, String code, Version version);
46
    public Dependency find(String type, StringWithAlias code, Version version);
44 47
    public List findAll(String type, String code, Version version);
48
    public List findAll(String type, StringWithAlias code, Version version);
45 49
}
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/installer/lib/api/PackageInfo.java
31 31
import org.gvsig.tools.exception.BaseException;
32 32
import org.gvsig.tools.lang.Cloneable;
33 33
import org.gvsig.tools.task.SimpleTaskStatus;
34

  
34
import org.gvsig.tools.packageutils.StringWithAlias;
35 35
import org.gvsig.tools.packageutils.PackageManager.ARCH;
36 36
import org.gvsig.tools.packageutils.PackageManager.JVM;
37 37
import org.gvsig.tools.packageutils.PackageManager.OS;
......
50 50

  
51 51
	public void setCode(String code);
52 52

  
53
	public StringWithAlias getAllCodes();	
54
    
55
    public boolean hasThisCode(String code);
56
    public boolean hasThisCode(StringWithAlias code);
57
	
58
	
53 59
	public String getID();
54 60

  
55 61
	/**
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/installer/lib/api/Dependency.java
24 24
package org.gvsig.installer.lib.api;
25 25

  
26 26
import org.gvsig.tools.lang.Cloneable;
27
import org.gvsig.tools.packageutils.StringWithAlias;
27 28

  
28 29

  
29 30
/**
......
50 51
	public Version getVersion();
51 52

  
52 53
	public boolean match(String type, String code, Version version);
54
	public boolean match(String type, StringWithAlias code, Version version);
53 55
}
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/pom.xml
11 11
    <parent>
12 12
        <groupId>org.gvsig</groupId>
13 13
        <artifactId>org.gvsig.tools</artifactId>
14
        <version>3.0.2-SNAPSHOT</version>
14
        <version>3.0.3-SNAPSHOT</version>
15 15
    </parent>
16 16
    <dependencies>
17 17
        <dependency>
18 18
            <groupId>easymock</groupId>
19 19
            <artifactId>easymock</artifactId>
20
            <version>1.2_Java1.3</version>
21 20
            <scope>test</scope>
22 21
        </dependency>
23 22
        <dependency>
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.spi/pom.xml
6 6
    <parent>
7 7
        <groupId>org.gvsig</groupId>
8 8
        <artifactId>org.gvsig.tools.swing</artifactId>
9
        <version>3.0.2-SNAPSHOT</version>
9
        <version>3.0.3-SNAPSHOT</version>
10 10
    </parent>
11 11
    <dependencies>
12 12
        <dependency>
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.serv/org.gvsig.tools.swing.serv.jform/pom.xml
6 6
    <parent>
7 7
        <groupId>org.gvsig</groupId>
8 8
        <artifactId>org.gvsig.tools.swing.serv</artifactId>
9
        <version>3.0.2-SNAPSHOT</version>
9
        <version>3.0.3-SNAPSHOT</version>
10 10
    </parent>
11 11
</project>
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.serv/org.gvsig.tools.swing.serv.field/pom.xml
6 6
    <parent>
7 7
        <groupId>org.gvsig</groupId>
8 8
        <artifactId>org.gvsig.tools.swing.serv</artifactId>
9
        <version>3.0.2-SNAPSHOT</version>
9
        <version>3.0.3-SNAPSHOT</version>
10 10
    </parent>
11 11
    <dependencies>
12 12
        <dependency>
13 13
            <groupId>net.sf</groupId>
14 14
            <artifactId>flib-jcalendar</artifactId>
15
            <version>unknown</version>
16 15
        </dependency>
17 16
    </dependencies>
18 17
</project>
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.serv/pom.xml
8 8
    <parent>
9 9
        <groupId>org.gvsig</groupId>
10 10
        <artifactId>org.gvsig.tools.swing</artifactId>
11
        <version>3.0.2-SNAPSHOT</version>
11
        <version>3.0.3-SNAPSHOT</version>
12 12
    </parent>
13 13
    <dependencies>
14 14
        <dependency>
15 15
            <groupId>org.gvsig</groupId>
16 16
            <artifactId>org.gvsig.tools.swing.api</artifactId>
17
            <version>3.0.2-SNAPSHOT</version>
18 17
        </dependency>
19 18
        <dependency>
20 19
            <groupId>org.gvsig</groupId>
21 20
            <artifactId>org.gvsig.tools.swing.spi</artifactId>
22
            <version>3.0.2-SNAPSHOT</version>
23 21
        </dependency>
24 22
    </dependencies>
25 23
    <modules>
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.serv/org.gvsig.tools.swing.serv.jlist/pom.xml
6 6
    <parent>
7 7
        <groupId>org.gvsig</groupId>
8 8
        <artifactId>org.gvsig.tools.swing.serv</artifactId>
9
        <version>3.0.2-SNAPSHOT</version>
9
        <version>3.0.3-SNAPSHOT</version>
10 10
    </parent>
11 11
</project>
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.impl/pom.xml
6 6
    <parent>
7 7
        <groupId>org.gvsig</groupId>
8 8
        <artifactId>org.gvsig.tools.swing</artifactId>
9
        <version>3.0.2-SNAPSHOT</version>
9
        <version>3.0.3-SNAPSHOT</version>
10 10
    </parent>
11 11
    <dependencies>
12 12
        <dependency>
13 13
            <groupId>org.gvsig</groupId>
14 14
            <artifactId>org.gvsig.tools.swing.api</artifactId>
15
            <version>3.0.2-SNAPSHOT</version>
16 15
            <scope>compile</scope>
17 16
        </dependency>
18 17
        <dependency>
19 18
            <groupId>org.gvsig</groupId>
20 19
            <artifactId>org.gvsig.tools.swing.spi</artifactId>
21
            <version>3.0.2-SNAPSHOT</version>
22 20
            <scope>compile</scope>
23 21
        </dependency>
24 22

  
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/pom.xml
8 8
    <parent>
9 9
        <groupId>org.gvsig</groupId>
10 10
        <artifactId>org.gvsig.tools</artifactId>
11
        <version>3.0.2-SNAPSHOT</version>
11
        <version>3.0.3-SNAPSHOT</version>
12 12
    </parent>
13 13
    <dependencies>
14 14
        <dependency>
15 15
            <groupId>org.gvsig</groupId>
16 16
            <artifactId>org.gvsig.tools.lib</artifactId>
17
            <version>3.0.2-SNAPSHOT</version>
17
            <version>3.0.3-SNAPSHOT</version>
18 18
        </dependency>
19 19
    </dependencies>
20 20
    <modules>
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.api/pom.xml
6 6
    <parent>
7 7
        <groupId>org.gvsig</groupId>
8 8
        <artifactId>org.gvsig.tools.swing</artifactId>
9
        <version>3.0.2-SNAPSHOT</version>
9
        <version>3.0.3-SNAPSHOT</version>
10 10
    </parent>
11 11
</project>
org.gvsig.tools/library/trunk/org.gvsig.tools/pom.xml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2 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">
3 3
    <modelVersion>4.0.0</modelVersion>
4
    <groupId>org.gvsig</groupId>    
4 5
    <artifactId>org.gvsig.tools</artifactId>
5 6
    <packaging>pom</packaging>
6
    <version>3.0.2-SNAPSHOT</version>
7
    <version>3.0.3-SNAPSHOT</version>
7 8
    <name>org.gvsig.tools</name>
8 9
    <description>Tools related to application framework architecture 
9 10
	and implementations of design patterns</description>
10
    <parent>
11
        <groupId>org.gvsig</groupId>
12
        <artifactId>org.gvsig.maven.base.pom</artifactId>
13
        <version>1.0.10-SNAPSHOT</version>
14
    </parent>
11

  
15 12
    <scm>
16 13
        <connection>scm:svn:https://devel.gvsig.org/svn/gvsig-tools/org.gvsig.tools/library/trunk/org.gvsig.tools</connection>
17 14
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-tools/org.gvsig.tools/library/trunk/org.gvsig.tools</developerConnection>
......
46 43
        </developer>
47 44
    </developers>
48 45

  
46
    <dependencyManagement>
47
      <dependencies>
48
        <dependency>
49
            <groupId>junit</groupId>
50
            <artifactId>junit</artifactId>
51
            <version>3.8.1</version>
52
        </dependency>
53
		<dependency>
54
            <groupId>org.slf4j</groupId>
55
            <artifactId>slf4j-api</artifactId>
56
            <version>1.5.5</version>
57
        </dependency>
58
        <dependency>
59
            <groupId>org.slf4j</groupId>
60
            <artifactId>slf4j-log4j12</artifactId>
61
            <version>1.5.5</version>
62
        </dependency>
63
        <dependency>
64
          <groupId>easymock</groupId>
65
          <artifactId>easymock</artifactId>
66
          <version>1.2_Java1.3</version>
67
          <scope>test</scope>
68
        </dependency>
69
        <dependency>
70
           <groupId>net.sf.kxml</groupId>
71
           <artifactId>kxml2</artifactId>
72
	       <version>2.2.2</version>
73
        </dependency>
74
        <dependency>
75
            <groupId>commons-io</groupId>
76
            <artifactId>commons-io</artifactId>
77
            <version>2.4</version>
78
        </dependency>
79
        <dependency>
80
            <groupId>net.sf</groupId>
81
            <artifactId>flib-jcalendar</artifactId>
82
            <version>unknown</version>
83
        </dependency>
84
                
85
        <dependency>
86
            <groupId>org.gvsig</groupId>
87
            <artifactId>org.gvsig.tools.lib</artifactId>
88
            <version>${gvsig.tools.children.version}</version>
89
        </dependency>
90
        <dependency>
91
            <groupId>org.gvsig</groupId>
92
            <artifactId>org.gvsig.tools.swing</artifactId>
93
            <version>${gvsig.tools.children.version}</version>
94
        </dependency>
95
        <dependency>
96
            <groupId>org.gvsig</groupId>
97
            <artifactId>org.gvsig.tools.swing.api</artifactId>
98
            <version>${gvsig.tools.children.version}</version>
99
        </dependency>
100
        <dependency>
101
            <groupId>org.gvsig</groupId>
102
            <artifactId>org.gvsig.tools.swing.impl</artifactId>
103
            <version>${gvsig.tools.children.version}</version>
104
        </dependency>
105
        <dependency>
106
            <groupId>org.gvsig</groupId>
107
            <artifactId>org.gvsig.tools.swing.spi</artifactId>
108
            <version>${gvsig.tools.children.version}</version>
109
        </dependency>
110
        <dependency>
111
            <groupId>org.gvsig</groupId>
112
            <artifactId>org.gvsig.tools.swing.serv</artifactId>
113
            <version>${gvsig.tools.children.version}</version>
114
        </dependency>
115
        <dependency>
116
            <groupId>org.gvsig</groupId>
117
            <artifactId>org.gvsig.tools.swing.serv.field</artifactId>
118
            <version>${gvsig.tools.children.version}</version>
119
        </dependency>
120
        <dependency>
121
            <groupId>org.gvsig</groupId>
122
            <artifactId>org.gvsig.tools.swing.serv.jform</artifactId>
123
            <version>${gvsig.tools.children.version}</version>
124
        </dependency>
125
        <dependency>
126
            <groupId>org.gvsig</groupId>
127
            <artifactId>org.gvsig.tools.swing.serv.jlist</artifactId>
128
            <version>${gvsig.tools.children.version}</version>
129
        </dependency>
130
        
131
      </dependencies>
132
    </dependencyManagement>
133

  
49 134
    <dependencies>
50 135
        <dependency>
51 136
            <groupId>org.slf4j</groupId>
......
57 142
            <artifactId>slf4j-log4j12</artifactId>
58 143
            <scope>runtime</scope>
59 144
        </dependency>
145
        <dependency>
146
            <groupId>junit</groupId>
147
            <artifactId>junit</artifactId>
148
            <scope>test</scope>
149
        </dependency>
60 150
    </dependencies>
61 151

  
62 152
    <build>
153
      <pluginManagement>
63 154
        <plugins>
155
        
156
          <plugin>
157
              <groupId>org.apache.maven.plugins</groupId>
158
              <artifactId>maven-surefire-plugin</artifactId>
159
              <version>2.7.1</version>
160
              <configuration>
161
                  <forkMode>once</forkMode>
162
              </configuration>
163
          </plugin>
164
          <plugin>
165
              <groupId>org.apache.maven.plugins</groupId>
166
              <artifactId>maven-compiler-plugin</artifactId>
167
              <version>2.3.2</version>
168
              <configuration>
169
                  <source>1.5</source>
170
                  <target>1.5</target>
171
                  <encoding>ISO-8859-1</encoding>
172
              </configuration>
173
          </plugin>
174

  
175
          <plugin>
176
              <groupId>org.apache.maven.plugins</groupId>
177
              <artifactId>maven-resources-plugin</artifactId>
178
              <version>2.4.3</version>
179
              <configuration>
180
                  <encoding>ISO-8859-1</encoding>
181
              </configuration>
182
          </plugin>
183
        
184
		   <plugin>
185
              <groupId>org.apache.maven.plugins</groupId>
186
              <artifactId>maven-javadoc-plugin</artifactId>
187
              <version>2.9</version>
188
              <configuration>
189
                  <docTitle>${project.name} ${project.version}</docTitle>
190
                  <encoding>ISO-8859-1</encoding>
191
                  <footer />
192
                  <header />
193
                  <keywords>true</keywords>
194
                  <detectLinks>true</detectLinks>
195
                  <javaApiLinks>
196
                      <property>
197
                          <name>api_1.4</name>
198
                          <value>http://download.oracle.com/javase/1.4.2/docs/api/</value>
199
                      </property>
200
                      <property>
201
                          <name>api_1.5</name>
202
                          <value>http://download.oracle.com/javase/1.5.0/docs/api/</value>
203
                      </property>
204
                      <property>
205
                          <name>api_1.6</name>
206
                          <value>http://download.oracle.com/javase/6/docs/api/</value>
207
                      </property>
208
                  </javaApiLinks>
209
              </configuration>
210
          </plugin>
211
        
212
          <plugin>
213
              <groupId>org.apache.maven.plugins</groupId>
214
              <artifactId>maven-site-plugin</artifactId>
215
              <configuration>
216
                  <chmod>true</chmod>
217
                  <chmodMode>a+rwX</chmodMode>
218
              </configuration>
219
          </plugin>
220
          
221
          <plugin>
222
              <groupId>org.apache.maven.plugins</groupId>
223
              <artifactId>maven-jar-plugin</artifactId>
224
              <version>2.3.1</version>
225
              <configuration>
226
                  <archive>
227
                      <manifestEntries>
228
                          <Built-By>gvSIG Team</Built-By>
229
                      </manifestEntries>
230
                  </archive>
231
              </configuration>
232
          </plugin>
233
          
234
          <plugin>
235
            <groupId>org.codehaus.mojo</groupId>
236
            <artifactId>properties-maven-plugin</artifactId>
237
            <version>1.0-alpha-2</version>
238
          </plugin>
239
  
240
          <plugin>
241
            <groupId>org.codehaus.gmaven</groupId>
242
            <artifactId>gmaven-plugin</artifactId>
243
            <version>1.4</version>
244
          </plugin>
245
  
246
          <plugin>
247
            <groupId>org.apache.maven.plugins</groupId>
248
            <artifactId>maven-antrun-plugin</artifactId>
249
            <version>1.7</version>
250
          </plugin>
251

  
252
          <plugin>
253
            <groupId>org.codehaus.mojo</groupId>
254
            <artifactId>animal-sniffer-maven-plugin</artifactId>
255
            <version>1.9</version>
256
          </plugin>
257

  
258
          <plugin>
259
              <groupId>org.apache.maven.plugins</groupId>
260
              <artifactId>maven-release-plugin</artifactId>
261
              <version>2.1</version>
262
          </plugin>
263

  
264
          <plugin>
265
            <groupId>org.apache.maven.plugins</groupId>
266
            <artifactId>maven-assembly-plugin</artifactId>
267
            <version>2.2-beta-5</version>
268
          </plugin>
269

  
270
          <plugin>
271
            <groupId>org.apache.maven.plugins</groupId>
272
            <artifactId>maven-clean-plugin</artifactId>
273
            <version>2.4.1</version>
274
          </plugin>
275
          
276
          <plugin>
277
              <groupId>org.codehaus.mojo</groupId>
278
              <artifactId>exec-maven-plugin</artifactId>
279
              <version>1.2</version>
280
          </plugin>    
281

  
282
          <plugin>
283
              <groupId>com.mycila.maven-license-plugin</groupId>
284
              <artifactId>maven-license-plugin</artifactId>
285
              <version>1.10.b1</version>
286
          </plugin>    
287

  
288
          <plugin>
289
              <groupId>org.apache.maven.plugins</groupId>
290
              <artifactId>maven-source-plugin</artifactId>
291
              <version>2.2.1</version>
292
          </plugin>
293

  
294
        </plugins>
295
      </pluginManagement>
296
      
297
        <plugins>
64 298
            <plugin>
65 299
                <groupId>org.apache.maven.plugins</groupId>
66 300
                <artifactId>maven-release-plugin</artifactId>
......
69 303
                    <goals>deploy</goals>
70 304
                </configuration>
71 305
            </plugin>
306
            <plugin>
307
		        <!-- to continue building  when test fail -->
308
		        <groupId>org.apache.maven.plugins</groupId>
309
		        <artifactId>maven-surefire-plugin</artifactId>
310
		        <configuration>
311
		          <testFailureIgnore>true</testFailureIgnore>
312
		        </configuration>
313
		      </plugin>
72 314
        </plugins>
73 315
    </build>
316
    
317
    <properties>
318
    	<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
319
    	<localRepository>${user.home}/.m2/repository</localRepository>
320
    	<site-repository>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</site-repository>
321

  
322
	    <gvsig.tools.children.version>3.0.3-SNAPSHOT</gvsig.tools.children.version>
323
  	</properties>
324
    
74 325
    <profiles>
75 326
        <profile>
76 327
            <id>cdc</id>
......
93 344
                        <checksumPolicy>warn</checksumPolicy>
94 345
                    </snapshots>
95 346
                </repository>
347
                <!-- 
96 348
                <repository>
97 349
                    <id>osgeo</id>
98 350
                    <name>Open Source Geospatial Foundation</name>
......
106 358
                        <enabled>false</enabled>
107 359
                    </snapshots>
108 360
                </repository>
361
                -->
109 362
            </repositories>
110 363
            <modules>
111 364
                <module>org.gvsig.tools.lib</module>

Also available in: Unified diff