Revision 210
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/buildNumber.properties | ||
---|---|---|
1 |
#maven.buildNumber.plugin properties file |
|
2 |
#Thu May 05 17:08:17 CEST 2011 |
|
3 |
buildNumber=1 |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/prepare-workspace.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2012 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="stringutil" classname="ise.antelope.tasks.StringUtilTask" classpath="${workspace.basedir}/org.gvsig.maven.base.build/antelopetasks-3.2.10.jar" /> |
|
151 |
|
|
152 |
<taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask"> |
|
153 |
<classpath> |
|
154 |
<pathelement location="${ant.libs.dir}/com.oopsconsultancy.xmltask-1.16.1.jar" /> |
|
155 |
</classpath> |
|
156 |
</taskdef> |
|
157 |
|
|
158 |
<xmltask source="${user-settings-file-location}" dest="${user-settings-file-location}"> |
|
159 |
<copy path="//:settings/:profiles/:profile[:id/text() = 'gvsig-install']/:properties/:gvsig.install.dir/text()" property="current-gvsig-location" /> |
|
160 |
</xmltask> |
|
161 |
<echo>current-gvsig-location = ${current-gvsig-location}</echo> |
|
162 |
|
|
163 |
|
|
164 |
<stringutil string="${current-gvsig-location}" property="current-gvsig-location"> |
|
165 |
|
|
166 |
<replace regex="\\" replacement="/" /> |
|
167 |
</stringutil> |
|
168 |
<stringutil string="${workspace.basedir}" property="workspace.basedir"> |
|
169 |
|
|
170 |
<replace regex="\\" replacement="/" /> |
|
171 |
</stringutil> |
|
172 |
|
|
173 |
<replace file="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs" token="@GVSIG_HOME@" value="${current-gvsig-location}" /> |
|
174 |
<replace file="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.variables.prefs" token="@GVSIG_HOME@" value="${current-gvsig-location}" /> |
|
175 |
|
|
176 |
<!-- Compile, install and generate eclipse projects --> |
|
177 |
<ant antfile="${build.basedir}/maven-goals.xml" target="mvn-install-and-eclipse-eclipse" /> |
|
178 |
|
|
179 |
<echo>INFORMATION!!!</echo> |
|
180 |
<echo>Restart eclipse and then proceed to import the subprojects contained into the main project</echo> |
|
181 |
|
|
182 |
<!-- TODO: copiar al proyecto de configuraciĆ³n general --> |
|
183 |
</target> |
|
184 |
|
|
185 |
<target name="clean"> |
|
186 |
<delete dir="target" /> |
|
187 |
</target> |
|
188 |
|
|
189 |
</project> |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/README.txt | ||
---|---|---|
1 |
==== |
|
2 |
gvSIG. Desktop Geographic Information System. |
|
3 |
|
|
4 |
Copyright (C) 2007-2012 gvSIG Association. |
|
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 |
For any additional information, do not hesitate to contact us |
|
22 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
==== |
|
24 |
|
|
25 |
The first time you checkout the current project to a new workspace, |
|
26 |
you have to prepare it to be able to work easily with maven from |
|
27 |
eclipse itself. |
|
28 |
|
|
29 |
Perform the following steps: |
|
30 |
|
|
31 |
1.- Launch the *prepare-workspace.xml* ant build file. |
|
32 |
You can do it by loading the file into the ant view, |
|
33 |
and running the default task, or right-clicking the |
|
34 |
file from the package explorer or the navigator and |
|
35 |
select the option: *Run as > Ant build*. |
|
36 |
|
|
37 |
2.- Restart eclipse. |
|
38 |
|
|
39 |
3.- Import the subprojects of the project you have just checked out. |
|
40 |
|
|
41 |
Those steps are only needed once per workspace. |
|
42 |
|
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/org.gvsig.fortunecookies.app.mainplugin/src/main/resources-plugin/config.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<!-- |
|
3 |
|
|
4 |
gvSIG. Desktop Geographic Information System. |
|
5 |
|
|
6 |
Copyright (C) 2007-2013 gvSIG Association. |
|
7 |
|
|
8 |
This program is free software; you can redistribute it and/or |
|
9 |
modify it under the terms of the GNU General Public License |
|
10 |
as published by the Free Software Foundation; either version 3 |
|
11 |
of the License, or (at your option) any later version. |
|
12 |
|
|
13 |
This program is distributed in the hope that it will be useful, |
|
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
GNU General Public License for more details. |
|
17 |
|
|
18 |
You should have received a copy of the GNU General Public License |
|
19 |
along with this program; if not, write to the Free Software |
|
20 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
21 |
MA 02110-1301, USA. |
|
22 |
|
|
23 |
For any additional information, do not hesitate to contact us |
|
24 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
25 |
--> |
|
26 |
<plugin-config> |
|
27 |
<depends plugin-name="org.gvsig.app.mainplugin" /> |
|
28 |
<resourceBundle name="text"/> |
|
29 |
<libraries library-dir="lib"/> |
|
30 |
<extensions> |
|
31 |
<extension class-name="org.gvsig.fortunecookies.app.mainplugin.FortuneCookieExtension" |
|
32 |
description="" |
|
33 |
active="true" |
|
34 |
priority="1"> |
|
35 |
|
|
36 |
<action |
|
37 |
name= "tools-show-fortune-cookie" |
|
38 |
label="_Show_a_fortune_cookie" |
|
39 |
tooltip="_Show_a_fortune_cookie" |
|
40 |
action-command="tools-show-fortune-cookie" |
|
41 |
icon="tools-show-fortune-cookie" |
|
42 |
position="100100000" |
|
43 |
accelerator="" |
|
44 |
/> |
|
45 |
|
|
46 |
<menu |
|
47 |
text="tools/_Show_fortune_cookie" |
|
48 |
name="tools-show-fortune-cookie" |
|
49 |
/> |
|
50 |
|
|
51 |
<tool-bar name="fortune-cookies" position="1"> |
|
52 |
<action-tool name="tools-show-fortune-cookie"/> |
|
53 |
</tool-bar> |
|
54 |
|
|
55 |
</extension> |
|
56 |
|
|
57 |
</extensions> |
|
58 |
|
|
59 |
</plugin-config> |
|
0 | 60 |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/org.gvsig.fortunecookies.app.mainplugin/src/main/resources/config.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<!-- |
|
3 |
|
|
4 |
gvSIG. Desktop Geographic Information System. |
|
5 |
|
|
6 |
Copyright (C) 2007-2012 gvSIG Association. |
|
7 |
|
|
8 |
This program is free software; you can redistribute it and/or |
|
9 |
modify it under the terms of the GNU General Public License |
|
10 |
as published by the Free Software Foundation; either version 2 |
|
11 |
of the License, or (at your option) any later version. |
|
12 |
|
|
13 |
This program is distributed in the hope that it will be useful, |
|
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
GNU General Public License for more details. |
|
17 |
|
|
18 |
You should have received a copy of the GNU General Public License |
|
19 |
along with this program; if not, write to the Free Software |
|
20 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
21 |
MA 02110-1301, USA. |
|
22 |
|
|
23 |
For any additional information, do not hesitate to contact us |
|
24 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
25 |
|
|
26 |
--> |
|
27 |
<plugin-config> |
|
28 |
<depends plugin-name="org.gvsig.app" /> |
|
29 |
<resourceBundle name="text"/> |
|
30 |
<libraries library-dir="lib"/> |
|
31 |
<extensions> |
|
32 |
<extension class-name="org.gvsig.fortunecookies.app.mainplugin.FortuneCookieExtension" |
|
33 |
description="" |
|
34 |
active="true" |
|
35 |
priority="1"> |
|
36 |
<menu text="tools/Get fortune cookie" |
|
37 |
position="11" |
|
38 |
action-command="FortuneCookie"/> |
|
39 |
</extension> |
|
40 |
</extensions> |
|
41 |
</plugin-config> |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/org.gvsig.fortunecookies.app.mainplugin/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 |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/org.gvsig.fortunecookies.app.mainplugin/src/main/resources/README.txt | ||
---|---|---|
1 |
==== |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 3 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
==== |
|
25 |
|
|
26 |
Put into this folder the resources to be included in the plugin jar. |
|
27 |
|
|
0 | 28 |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/org.gvsig.fortunecookies.app.mainplugin/src/main/assembly/gvsig-plugin-package.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 3 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
26 |
<assembly> |
|
27 |
<id>gvsig-plugin-package</id> |
|
28 |
<formats> |
|
29 |
<format>zip</format> |
|
30 |
</formats> |
|
31 |
<baseDirectory>${project.artifactId}</baseDirectory> |
|
32 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
33 |
<files> |
|
34 |
<file> |
|
35 |
<source>target/${project.artifactId}-${project.version}.jar</source> |
|
36 |
<outputDirectory>lib</outputDirectory> |
|
37 |
</file> |
|
38 |
<file> |
|
39 |
<source>target/package.info</source> |
|
40 |
</file> |
|
41 |
</files> |
|
42 |
|
|
43 |
<fileSets> |
|
44 |
<fileSet> |
|
45 |
<directory>src/main/resources-plugin</directory> |
|
46 |
<outputDirectory>.</outputDirectory> |
|
47 |
</fileSet> |
|
48 |
</fileSets> |
|
49 |
|
|
50 |
|
|
51 |
<dependencySets> |
|
52 |
<dependencySet> |
|
53 |
<useProjectArtifact>false</useProjectArtifact> |
|
54 |
<useTransitiveDependencies>false</useTransitiveDependencies> |
|
55 |
<outputDirectory>lib</outputDirectory> |
|
56 |
<includes> |
|
57 |
<include>org.gvsig:org.gvsig.fortunecookies.lib.api</include> |
|
58 |
<include>org.gvsig:org.gvsig.fortunecookies.swing.api</include> |
|
59 |
<include>org.gvsig:org.gvsig.fortunecookies.lib.impl</include> |
|
60 |
<include>org.gvsig:org.gvsig.fortunecookies.swing.impl</include> |
|
61 |
</includes> |
|
62 |
</dependencySet> |
|
63 |
</dependencySets> |
|
64 |
|
|
65 |
</assembly> |
|
66 |
|
|
0 | 67 |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/org.gvsig.fortunecookies.app.mainplugin/src/test/resources/README.txt | ||
---|---|---|
1 | 1 |
==== |
2 |
|
|
2 | 3 |
gvSIG. Desktop Geographic Information System. |
3 | 4 |
|
4 |
Copyright (C) 2007-2012 gvSIG Association.
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association.
|
|
5 | 6 |
|
6 | 7 |
This program is free software; you can redistribute it and/or |
7 | 8 |
modify it under the terms of the GNU General Public License |
8 |
as published by the Free Software Foundation; either version 2
|
|
9 |
as published by the Free Software Foundation; either version 3
|
|
9 | 10 |
of the License, or (at your option) any later version. |
10 | 11 |
|
11 | 12 |
This program is distributed in the hope that it will be useful, |
... | ... | |
20 | 21 |
|
21 | 22 |
For any additional information, do not hesitate to contact us |
22 | 23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
24 |
|
|
23 | 25 |
==== |
24 | 26 |
|
25 | 27 |
Put into this folder the resources needed by your test classes. |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/org.gvsig.fortunecookies.app.mainplugin/pom.xml | ||
---|---|---|
4 | 4 |
<modelVersion>4.0.0</modelVersion> |
5 | 5 |
<artifactId>org.gvsig.fortunecookies.app.mainplugin</artifactId> |
6 | 6 |
<packaging>jar</packaging> |
7 |
<name>Example: basic fortune cookies for gvSIG</name>
|
|
8 |
<description>Basic fortune cookies example plugin, used as a template for gvSIG projects</description>
|
|
7 |
<name>Fortune cookies messages</name>
|
|
8 |
<description>This plugin add to gvSIG a tool that show fortune cookies messages</description>
|
|
9 | 9 |
<parent> |
10 | 10 |
<groupId>org.gvsig</groupId> |
11 | 11 |
<artifactId>org.gvsig.fortunecookies.app</artifactId> |
... | ... | |
53 | 53 |
<scope>runtime</scope> |
54 | 54 |
</dependency> |
55 | 55 |
</dependencies> |
56 |
|
|
56 | 57 |
<properties> |
57 |
<package.info.state>devel</package.info.state> |
|
58 |
<package.info.official>false</package.info.official> |
|
59 |
<package.info.dependencies>required: org.gvsig.app -ge 2.0.0</package.info.dependencies> |
|
60 |
<package.info.categories>Fortune cookies</package.info.categories> |
|
61 |
<!-- DEFAULT VALUES <package.info.owner>gvSIG Association</package.info.owner> |
|
62 |
<package.info.webURL>http://www.gvsig.com</package.info.webURL> <package.info.operatingSystem>all</package.info.operatingSystem> |
|
63 |
<package.info.architecture>all</package.info.architecture> <package.info.javaVM>j1_5</package.info.javaVM> |
|
64 |
<package.info.gvSIGVersion>2.0.0</package.info.gvSIGVersion> <package.info.baseDownloadURL>../../pool/${pom.artifactId}</package.info.baseDownloadURL> |
|
65 |
<package.info.sourcesURL>${project.scm.url}</package.info.sourcesURL> --> |
|
66 |
</properties> |
|
58 |
<!-- Package info property values --> |
|
59 |
<!-- Default values in org.gvsig.desktop --> |
|
60 |
<gvsig.package.info.state>devel</gvsig.package.info.state> |
|
61 |
<gvsig.package.info.dependencies>required: org.gvsig.app.mainplugin -ge 2.1.0-A</gvsig.package.info.dependencies> |
|
62 |
<gvsig.package.info.categories></gvsig.package.info.categories> |
|
63 |
<gvsig.package.info.poolURL>http://devel.gvsig.org/download/projects/gvsig-templates/pool/</gvsig.package.info.poolURL> |
|
64 |
</properties> |
|
65 |
|
|
67 | 66 |
</project> |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app/pom.xml | ||
---|---|---|
7 | 7 |
<artifactId>org.gvsig.fortunecookies.app</artifactId> |
8 | 8 |
<packaging>pom</packaging> |
9 | 9 |
<version>1.0.0-SNAPSHOT</version> |
10 |
<name>Example: basic fortune cookies plugins</name>
|
|
11 |
<description>Example: basic fortune cookies plugins</description>
|
|
10 |
<name>${project.artifactId}</name>
|
|
11 |
<description>This plugin add to gvSIG a tool to show fortune cookies messages</description>
|
|
12 | 12 |
<parent> |
13 | 13 |
<groupId>org.gvsig</groupId> |
14 |
<artifactId>org.gvsig.maven.base.extension.pom</artifactId>
|
|
15 |
<version>1.0.8-SNAPSHOT</version>
|
|
14 |
<artifactId>org.gvsig.fortunecookies</artifactId>
|
|
15 |
<version>1.0.0-SNAPSHOT</version>
|
|
16 | 16 |
</parent> |
17 |
<url>http://devel.gvsig.org/sites/org.gvsig.fortunecookies.app/${project.version}</url> |
|
18 |
<scm> |
|
19 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-plugintemplates/org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app</connection> |
|
20 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-plugintemplates/org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app</developerConnection> |
|
21 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-plugintemplates/repository/show/org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies.app</url> |
|
22 |
</scm> |
|
23 |
<developers> |
|
24 |
<developer> |
|
25 |
<id>jjdelcerro</id> |
|
26 |
<name>Joaqu?n Jos? del Cerro</name> |
|
27 |
<email>jjdelcerro@gvsig.org</email> |
|
28 |
<roles> |
|
29 |
<role>Architect</role> |
|
30 |
<role>Developer</role> |
|
31 |
</roles> |
|
32 |
</developer> |
|
33 |
<developer> |
|
34 |
<id>jbadia</id> |
|
35 |
<name>Jos? Bad?a</name> |
|
36 |
<email>badia_jos@gva.es</email> |
|
37 |
<roles> |
|
38 |
<role>Developer</role> |
|
39 |
</roles> |
|
40 |
</developer> |
|
41 |
<developer> |
|
42 |
<id>cordinyana</id> |
|
43 |
<name>C?sar Ordi?ana</name> |
|
44 |
<email>cordinyana@gvsig.com</email> |
|
45 |
<roles> |
|
46 |
<role>Architect</role> |
|
47 |
<role>Developer</role> |
|
48 |
</roles> |
|
49 |
</developer> |
|
50 |
</developers> |
|
51 |
<distributionManagement> |
|
52 |
<site> |
|
53 |
<id>gvsig-repository</id> |
|
54 |
<url>dav:https://devel.gvsig.org/sites/org.gvsig.fortunecookies.app/${project.version}</url> |
|
55 |
</site> |
|
56 |
</distributionManagement> |
|
57 |
<repositories> |
|
58 |
<repository> |
|
59 |
<id>gvsig-public-http-repository</id> |
|
60 |
<name>gvSIG maven public HTTP repository</name> |
|
61 |
<url>http://devel.gvsig.org/m2repo/j2se</url> |
|
62 |
<releases> |
|
63 |
<enabled>true</enabled> |
|
64 |
<updatePolicy>daily</updatePolicy> |
|
65 |
<checksumPolicy>warn</checksumPolicy> |
|
66 |
</releases> |
|
67 |
<snapshots> |
|
68 |
<enabled>true</enabled> |
|
69 |
<updatePolicy>daily</updatePolicy> |
|
70 |
<checksumPolicy>warn</checksumPolicy> |
|
71 |
</snapshots> |
|
72 |
</repository> |
|
73 |
</repositories> |
|
74 |
<build> |
|
75 |
<plugins> |
|
76 |
<plugin> |
|
77 |
<groupId>org.apache.maven.plugins</groupId> |
|
78 |
<artifactId>maven-release-plugin</artifactId> |
|
79 |
<configuration> |
|
80 |
<tagBase>https://devel.gvsig.org/svn/gvsig-plugintemplates/org.gvsig.fortunecookies.app/tags</tagBase> |
|
81 |
</configuration> |
|
82 |
</plugin> |
|
83 |
</plugins> |
|
84 |
</build> |
|
85 | 17 |
<dependencyManagement> |
86 | 18 |
<dependencies> |
87 |
<dependency> |
|
88 |
<groupId>org.gvsig</groupId> |
|
89 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
|
90 |
<version>2.0.1-SNAPSHOT</version> |
|
91 |
<type>pom</type> |
|
92 |
<scope>import</scope> |
|
93 |
</dependency> |
|
94 |
<dependency> |
|
95 |
<groupId>org.gvsig</groupId> |
|
96 |
<artifactId>org.gvsig.app</artifactId> |
|
97 |
<version>2.0-SNAPSHOT</version> |
|
98 |
<scope>compile</scope> |
|
99 |
</dependency> |
|
100 |
<dependency> |
|
101 |
<groupId>org.gvsig</groupId> |
|
102 |
<artifactId>org.gvsig.fortunecookies.lib.api</artifactId> |
|
103 |
<version>1.0.0-SNAPSHOT</version> |
|
104 |
<scope>runtime</scope> |
|
105 |
</dependency> |
|
106 |
<dependency> |
|
107 |
<groupId>org.gvsig</groupId> |
|
108 |
<artifactId>org.gvsig.fortunecookies.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.fortunecookies.swing.api</artifactId> |
|
115 |
<version>1.0.0-SNAPSHOT</version> |
|
116 |
</dependency> |
|
117 |
<dependency> |
|
118 |
<groupId>org.gvsig</groupId> |
|
119 |
<artifactId>org.gvsig.fortunecookies.swing.impl</artifactId> |
|
120 |
<version>1.0.0-SNAPSHOT</version> |
|
121 |
<scope>runtime</scope> |
|
122 |
</dependency> |
|
19 |
|
|
123 | 20 |
</dependencies> |
124 | 21 |
</dependencyManagement> |
125 | 22 |
|
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies/prepare-workspace.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2012 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="stringutil" classname="ise.antelope.tasks.StringUtilTask" classpath="${workspace.basedir}/org.gvsig.maven.base.build/antelopetasks-3.2.10.jar" /> |
|
151 |
|
|
152 |
<taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask"> |
|
153 |
<classpath> |
|
154 |
<pathelement location="${ant.libs.dir}/com.oopsconsultancy.xmltask-1.16.1.jar" /> |
|
155 |
</classpath> |
|
156 |
</taskdef> |
|
157 |
|
|
158 |
<xmltask source="${user-settings-file-location}" dest="${user-settings-file-location}"> |
|
159 |
<copy path="//:settings/:profiles/:profile[:id/text() = 'gvsig-install']/:properties/:gvsig.install.dir/text()" property="current-gvsig-location" /> |
|
160 |
</xmltask> |
|
161 |
<echo>current-gvsig-location = ${current-gvsig-location}</echo> |
|
162 |
|
|
163 |
|
|
164 |
<stringutil string="${current-gvsig-location}" property="current-gvsig-location"> |
|
165 |
|
|
166 |
<replace regex="\\" replacement="/" /> |
|
167 |
</stringutil> |
|
168 |
<stringutil string="${workspace.basedir}" property="workspace.basedir"> |
|
169 |
|
|
170 |
<replace regex="\\" replacement="/" /> |
|
171 |
</stringutil> |
|
172 |
|
|
173 |
<replace file="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs" token="@GVSIG_HOME@" value="${current-gvsig-location}" /> |
|
174 |
<replace file="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.variables.prefs" token="@GVSIG_HOME@" value="${current-gvsig-location}" /> |
|
175 |
|
|
176 |
<!-- Compile, install and generate eclipse projects --> |
|
177 |
<ant antfile="${build.basedir}/maven-goals.xml" target="mvn-install-and-eclipse-eclipse" /> |
|
178 |
|
|
179 |
<echo>INFORMATION!!!</echo> |
|
180 |
<echo>Restart eclipse and then proceed to import the subprojects contained into the main project</echo> |
|
181 |
|
|
182 |
<!-- TODO: copiar al proyecto de configuraciĆ³n general --> |
|
183 |
</target> |
|
184 |
|
|
185 |
<target name="clean"> |
|
186 |
<delete dir="target" /> |
|
187 |
</target> |
|
188 |
|
|
189 |
</project> |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies/README.txt | ||
---|---|---|
1 |
==== |
|
2 |
gvSIG. Desktop Geographic Information System. |
|
3 |
|
|
4 |
Copyright (C) 2007-2012 gvSIG Association. |
|
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 |
For any additional information, do not hesitate to contact us |
|
22 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
==== |
|
24 |
|
|
25 |
The first time you checkout the current project to a new workspace, |
|
26 |
you have to prepare it to be able to work easily with maven from |
|
27 |
eclipse itself. |
|
28 |
|
|
29 |
Perform the following steps: |
|
30 |
|
|
31 |
1.- Launch the *prepare-workspace.xml* ant build file. |
|
32 |
You can do it by loading the file into the ant view, |
|
33 |
and running the default task, or right-clicking the |
|
34 |
file from the package explorer or the navigator and |
|
35 |
select the option: *Run as > Ant build*. |
|
36 |
|
|
37 |
2.- Restart eclipse. |
|
38 |
|
|
39 |
3.- Import the subprojects of the project you have just checked out. |
|
40 |
|
|
41 |
Those steps are only needed once per workspace. |
|
42 |
|
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies/org.gvsig.fortunecookies.main/pom.xml | ||
---|---|---|
13 | 13 |
<dependencies> |
14 | 14 |
<dependency> |
15 | 15 |
<groupId>org.gvsig</groupId> |
16 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
|
17 |
<version>2.0.1-SNAPSHOT</version> |
|
18 |
<type>pom</type> |
|
19 |
<scope>test</scope> |
|
20 |
</dependency> |
|
21 |
<dependency> |
|
22 |
<groupId>org.gvsig</groupId> |
|
23 | 16 |
<artifactId>org.gvsig.tools.lib</artifactId> |
24 | 17 |
<scope>compile</scope> |
25 | 18 |
</dependency> |
... | ... | |
41 | 34 |
</dependency> |
42 | 35 |
<dependency> |
43 | 36 |
<groupId>org.gvsig</groupId> |
44 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
|
37 |
<artifactId>org.gvsig.fmap.geometry.api</artifactId>
|
|
45 | 38 |
<scope>compile</scope> |
46 | 39 |
</dependency> |
47 | 40 |
<dependency> |
48 | 41 |
<groupId>org.gvsig</groupId> |
49 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
|
42 |
<artifactId>org.gvsig.fmap.dal.api</artifactId>
|
|
50 | 43 |
<scope>compile</scope> |
51 | 44 |
</dependency> |
52 | 45 |
<dependency> |
... | ... | |
57 | 50 |
<dependency> |
58 | 51 |
<groupId>org.gvsig</groupId> |
59 | 52 |
<artifactId>org.gvsig.fortunecookies.lib.api</artifactId> |
60 |
<version>1.0.0-SNAPSHOT</version>
|
|
53 |
<scope>compile</scope>
|
|
61 | 54 |
</dependency> |
62 | 55 |
<dependency> |
63 | 56 |
<groupId>org.gvsig</groupId> |
64 | 57 |
<artifactId>org.gvsig.fortunecookies.lib.impl</artifactId> |
65 |
<version>1.0.0-SNAPSHOT</version> |
|
66 | 58 |
<scope>runtime</scope> |
67 | 59 |
</dependency> |
68 | 60 |
<dependency> |
69 | 61 |
<groupId>org.gvsig</groupId> |
70 | 62 |
<artifactId>org.gvsig.fortunecookies.swing.api</artifactId> |
71 |
<version>1.0.0-SNAPSHOT</version>
|
|
63 |
<scope>compile</scope>
|
|
72 | 64 |
</dependency> |
73 | 65 |
<dependency> |
74 | 66 |
<groupId>org.gvsig</groupId> |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies/org.gvsig.fortunecookies.lib/org.gvsig.fortunecookies.lib.impl/pom.xml | ||
---|---|---|
11 | 11 |
<version>1.0.0-SNAPSHOT</version> |
12 | 12 |
</parent> |
13 | 13 |
<dependencies> |
14 |
|
|
14 | 15 |
<dependency> |
15 | 16 |
<groupId>org.gvsig</groupId> |
16 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
|
17 |
<version>2.0.1-SNAPSHOT</version> |
|
18 |
<type>pom</type> |
|
19 |
<scope>test</scope> |
|
20 |
</dependency> |
|
21 |
<dependency> |
|
22 |
<groupId>org.gvsig</groupId> |
|
23 | 17 |
<artifactId>org.gvsig.tools.lib</artifactId> |
24 | 18 |
<scope>compile</scope> |
25 | 19 |
</dependency> |
... | ... | |
31 | 25 |
</dependency> |
32 | 26 |
<dependency> |
33 | 27 |
<groupId>org.gvsig</groupId> |
34 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
|
28 |
<artifactId>org.gvsig.fmap.geometry.api</artifactId>
|
|
35 | 29 |
<scope>compile</scope> |
36 | 30 |
</dependency> |
37 | 31 |
<dependency> |
38 | 32 |
<groupId>org.gvsig</groupId> |
39 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
|
33 |
<artifactId>org.gvsig.fmap.dal.api</artifactId>
|
|
40 | 34 |
<scope>compile</scope> |
41 | 35 |
</dependency> |
42 | 36 |
<dependency> |
43 | 37 |
<groupId>org.gvsig</groupId> |
44 | 38 |
<artifactId>org.gvsig.fortunecookies.lib.api</artifactId> |
45 |
<version>1.0.0-SNAPSHOT</version> |
|
46 | 39 |
<scope>compile</scope> |
47 | 40 |
</dependency> |
48 | 41 |
<dependency> |
49 | 42 |
<groupId>org.gvsig</groupId> |
50 | 43 |
<artifactId>org.gvsig.fortunecookies.lib.api</artifactId> |
51 |
<version>1.0.0-SNAPSHOT</version> |
|
52 | 44 |
<type>test-jar</type> |
53 | 45 |
<scope>test</scope> |
54 | 46 |
</dependency> |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies/org.gvsig.fortunecookies.lib/pom.xml | ||
---|---|---|
12 | 12 |
<artifactId>org.gvsig.fortunecookies</artifactId> |
13 | 13 |
<version>1.0.0-SNAPSHOT</version> |
14 | 14 |
</parent> |
15 |
|
|
16 | 15 |
<modules> |
17 | 16 |
<module>org.gvsig.fortunecookies.lib.api</module> |
18 | 17 |
<module>org.gvsig.fortunecookies.lib.impl</module> |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies/org.gvsig.fortunecookies.lib/org.gvsig.fortunecookies.lib.api/pom.xml | ||
---|---|---|
42 | 42 |
</dependency> |
43 | 43 |
<dependency> |
44 | 44 |
<groupId>org.gvsig</groupId> |
45 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
|
45 |
<artifactId>org.gvsig.fmap.geometry.api</artifactId>
|
|
46 | 46 |
<scope>compile</scope> |
47 | 47 |
</dependency> |
48 | 48 |
<dependency> |
49 | 49 |
<groupId>org.gvsig</groupId> |
50 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
|
50 |
<artifactId>org.gvsig.fmap.dal.api</artifactId>
|
|
51 | 51 |
<scope>compile</scope> |
52 | 52 |
</dependency> |
53 | 53 |
</dependencies> |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies/org.gvsig.fortunecookies.swing/org.gvsig.fortunecookies.swing.api/pom.xml | ||
---|---|---|
48 | 48 |
<dependency> |
49 | 49 |
<groupId>org.gvsig</groupId> |
50 | 50 |
<artifactId>org.gvsig.fortunecookies.lib.api</artifactId> |
51 |
<version>1.0.0-SNAPSHOT</version> |
|
52 | 51 |
<scope>compile</scope> |
53 | 52 |
</dependency> |
54 | 53 |
</dependencies> |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies/org.gvsig.fortunecookies.swing/org.gvsig.fortunecookies.swing.impl/pom.xml | ||
---|---|---|
13 | 13 |
<dependencies> |
14 | 14 |
<dependency> |
15 | 15 |
<groupId>org.gvsig</groupId> |
16 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
|
17 |
<version>2.0.1-SNAPSHOT</version> |
|
18 |
<type>pom</type> |
|
19 |
<scope>test</scope> |
|
20 |
</dependency> |
|
21 |
<dependency> |
|
22 |
<groupId>org.gvsig</groupId> |
|
23 | 16 |
<artifactId>org.gvsig.tools.lib</artifactId> |
24 | 17 |
<scope>compile</scope> |
25 | 18 |
</dependency> |
... | ... | |
37 | 30 |
<dependency> |
38 | 31 |
<groupId>org.gvsig</groupId> |
39 | 32 |
<artifactId>org.gvsig.fortunecookies.lib.api</artifactId> |
40 |
<version>1.0.0-SNAPSHOT</version> |
|
41 | 33 |
<scope>compile</scope> |
42 | 34 |
</dependency> |
43 | 35 |
<dependency> |
44 | 36 |
<groupId>org.gvsig</groupId> |
45 | 37 |
<artifactId>org.gvsig.fortunecookies.lib.impl</artifactId> |
46 |
<version>1.0.0-SNAPSHOT</version> |
|
47 | 38 |
<scope>test</scope> |
48 | 39 |
</dependency> |
49 | 40 |
<dependency> |
50 | 41 |
<groupId>org.gvsig</groupId> |
51 | 42 |
<artifactId>org.gvsig.fortunecookies.swing.api</artifactId> |
52 |
<version>1.0.0-SNAPSHOT</version> |
|
53 | 43 |
<scope>compile</scope> |
54 | 44 |
</dependency> |
55 | 45 |
<dependency> |
56 | 46 |
<groupId>org.gvsig</groupId> |
57 | 47 |
<artifactId>org.gvsig.fortunecookies.swing.api</artifactId> |
58 |
<version>1.0.0-SNAPSHOT</version> |
|
59 | 48 |
<type>test-jar</type> |
60 | 49 |
<scope>test</scope> |
61 | 50 |
</dependency> |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies/org.gvsig.fortunecookies.swing/pom.xml | ||
---|---|---|
12 | 12 |
<artifactId>org.gvsig.fortunecookies</artifactId> |
13 | 13 |
<version>1.0.0-SNAPSHOT</version> |
14 | 14 |
</parent> |
15 |
<dependencies> |
|
16 |
<dependency> |
|
17 |
<groupId>org.gvsig</groupId> |
|
18 |
<artifactId>org.gvsig.fortunecookies.lib.api</artifactId> |
|
19 |
<version>1.0.0-SNAPSHOT</version> |
|
20 |
</dependency> |
|
21 |
</dependencies> |
|
22 | 15 |
|
16 |
|
|
23 | 17 |
<modules> |
24 | 18 |
<module>org.gvsig.fortunecookies.swing.api</module> |
25 | 19 |
<module>org.gvsig.fortunecookies.swing.impl</module> |
org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies/pom.xml | ||
---|---|---|
6 | 6 |
<artifactId>org.gvsig.fortunecookies</artifactId> |
7 | 7 |
<packaging>pom</packaging> |
8 | 8 |
<version>1.0.0-SNAPSHOT</version> |
9 |
<name>org.gvsig.fortunecookies</name>
|
|
9 |
<name>${project.artifactId}</name>
|
|
10 | 10 |
<description>fortunecookies example project</description> |
11 | 11 |
<parent> |
12 | 12 |
<groupId>org.gvsig</groupId> |
13 |
<artifactId>org.gvsig.maven.base.pom</artifactId>
|
|
14 |
<version>1.0.8-SNAPSHOT</version>
|
|
13 |
<artifactId>org.gvsig.desktop</artifactId>
|
|
14 |
<version>2.0.22</version>
|
|
15 | 15 |
</parent> |
16 | 16 |
<url>http://devel.gvsig.org/sites/org.gvsig.fortunecookies/${project.version}</url> |
17 | 17 |
<scm> |
18 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-plugintemplates/org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies</connection>
|
|
19 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-plugintemplates/org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies</developerConnection>
|
|
20 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-plugintemplates/repository/show/org.gvsig.fortunecookies/trunk/basic-with-user-interface/org.gvsig.fortunecookies</url>
|
|
18 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-plugintemplates/org.gvsig.fortunecookies/trunk/basic-with-user-interface/${project.artifactId}</connection>
|
|
19 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-plugintemplates/org.gvsig.fortunecookies/trunk/basic-with-user-interface/${project.artifactId}</developerConnection>
|
|
20 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-plugintemplates/repository/show/org.gvsig.fortunecookies/trunk/basic-with-user-interface/${project.artifactId}</url>
|
|
21 | 21 |
</scm> |
22 | 22 |
<developers> |
23 | 23 |
<developer> |
... | ... | |
41 | 41 |
<distributionManagement> |
42 | 42 |
<site> |
43 | 43 |
<id>gvsig-repository</id> |
44 |
<url>dav:https://devel.gvsig.org/sites/org.gvsig.fortunecookies/${project.version}</url>
|
|
44 |
<url>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</url>
|
|
45 | 45 |
</site> |
46 | 46 |
</distributionManagement> |
47 |
<repositories> |
|
48 |
<repository> |
|
49 |
<id>gvsig-public-http-repository</id> |
|
50 |
<name>gvSIG maven public HTTP repository</name> |
|
51 |
<url>http://devel.gvsig.org/m2repo/j2se</url> |
|
52 |
<releases> |
|
53 |
<enabled>true</enabled> |
|
54 |
<updatePolicy>daily</updatePolicy> |
|
55 |
<checksumPolicy>warn</checksumPolicy> |
|
56 |
</releases> |
|
57 |
<snapshots> |
|
58 |
<enabled>true</enabled> |
|
59 |
<updatePolicy>daily</updatePolicy> |
|
60 |
<checksumPolicy>warn</checksumPolicy> |
|
61 |
</snapshots> |
|
62 |
</repository> |
|
63 |
</repositories> |
|
64 | 47 |
<build> |
65 | 48 |
<plugins> |
66 | 49 |
<plugin> |
67 | 50 |
<groupId>org.apache.maven.plugins</groupId> |
68 | 51 |
<artifactId>maven-release-plugin</artifactId> |
69 | 52 |
<configuration> |
70 |
<tagBase>https://devel.gvsig.org/svn/gvsig-plugintemplates/org.gvsig.fortunecookies/library/tags</tagBase>
|
|
53 |
<tagBase>https://devel.gvsig.org/svn/gvsig-plugintemplates/${project.artifactId}/tags</tagBase>
|
|
71 | 54 |
</configuration> |
72 | 55 |
</plugin> |
73 | 56 |
</plugins> |
... | ... | |
76 | 59 |
<dependencies> |
77 | 60 |
<dependency> |
78 | 61 |
<groupId>org.gvsig</groupId> |
79 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
|
80 |
<version>2.0.1-SNAPSHOT</version> |
|
81 |
<type>pom</type> |
|
82 |
<scope>import</scope> |
|
62 |
<artifactId>org.gvsig.fortunecookies.lib.api</artifactId> |
|
63 |
<version>1.0.0-SNAPSHOT</version> |
|
83 | 64 |
</dependency> |
65 |
<dependency> |
|
66 |
<groupId>org.gvsig</groupId> |
|
67 |
<artifactId>org.gvsig.fortunecookies.lib.api</artifactId> |
|
68 |
<version>1.0.0-SNAPSHOT</version> |
|
69 |
<type>test-jar</type> |
|
70 |
<scope>test</scope> |
|
71 |
</dependency> |
|
72 |
<dependency> |
|
73 |
<groupId>org.gvsig</groupId> |
|
74 |
<artifactId>org.gvsig.fortunecookies.lib.impl</artifactId> |
|
75 |
<version>1.0.0-SNAPSHOT</version> |
|
76 |
</dependency> |
|
77 |
<dependency> |
|
78 |
<groupId>org.gvsig</groupId> |
|
79 |
<artifactId>org.gvsig.fortunecookies.swing.api</artifactId> |
|
80 |
<version>1.0.0-SNAPSHOT</version> |
|
81 |
</dependency> |
|
82 |
<dependency> |
|
83 |
<groupId>org.gvsig</groupId> |
|
84 |
<artifactId>org.gvsig.fortunecookies.swing.api</artifactId> |
|
85 |
<version>1.0.0-SNAPSHOT</version> |
|
86 |
<type>test-jar</type> |
|
87 |
<scope>test</scope> |
|
88 |
</dependency> |
|
89 |
<dependency> |
|
90 |
<groupId>org.gvsig</groupId> |
|
91 |
<artifactId>org.gvsig.fortunecookies.swing.impl</artifactId> |
|
92 |
<version>1.0.0-SNAPSHOT</version> |
|
93 |
</dependency> |
|
84 | 94 |
</dependencies> |
85 | 95 |
</dependencyManagement> |
86 | 96 |
<modules> |
Also available in: Unified diff