Revision 2985

View differences:

org.gvsig.vectorediting/tags/org.gvsig.vectorediting-1.0.175/org.gvsig.vectorediting.app/maven-howto.rst
1

  
2
==================================
3
Usefull maven "howtos" and FAQs
4
==================================
5

  
6
.. contents::
7

  
8
How to reduce the process of "install" to run as fast as possible.
9
-------------------------------------------------------------------
10

  
11
Can reduce install execution skiping test execution and compilation,
12
javadoc generation, test signature checking, license checking, and 
13
attach sources in jar.
14

  
15
  mvn  -Danimal.sniffer.skip=true -Dmaven.test.skip=true -Dsource.skip=true -DskipTests -Dmaven.javadoc.skip=true install
16

  
17
How to increment the build number of gvSIG plugins
18
----------------------------------------------------
19

  
20
To increase the build number of gvSIG plugins, yo can do:
21

  
22
  mvn -Dincrease-build-number process-sources
23
  
24
How to deploy a package of a gvSIG plugin
25
--------------------------------------------
26

  
27
Yo can deploy the package of a gvSIG plugin with:
28

  
29
  mvn -Ddeploy-package -Duser=USER -Dpassword=PASSWORD install
30

  
31
Notes:
32
- Require that the gvsig.package.info.poolURL property that this set to the correct value.
33
- The process uses WEBDAV to upload the packages, gvspkg and gvspki, and require 
34
  access to write in the location specified by gvsig.package.info.poolURL
35
- If "user" or "password" is not present, the process ask its each time it need.
36
- If folder specified in  gvsig.package.info.poolURL does not exist, the process try to create it.
37
- The process create a file "addon-request.txt" in the target with the information to 
38
  add to the ticket to request the update of the package in the main repository of
39
  packages of gvSIG.
40

  
41
How to skip attach sources in jar from command line
42
------------------------------------------------------
43

  
44
If in the project is enabled by default the generation of jar whith 
45
the sources of the project, you can disable this setting the property
46
"source.skip" to true in the command line::
47

  
48
    mvn -Dsource.skip=true  install
49

  
50
How to skip test compile from command line
51
--------------------------------------------
52

  
53
You can skip the compilation of test setting the propety "maven.test.skip" 
54
to true in the command line::
55

  
56
    mvn -Dmaven.test.skip=true  install
57

  
58

  
59
How to skip test execution from command line
60
----------------------------------------------
61

  
62
You can skip the tests execution setting the propety "skipTests" to true
63
in the command line::
64

  
65
    mvn -DskipTests install
66

  
67
How to skip javadoc generation from command line
68
--------------------------------------------------
69

  
70
You can skip the javadoc generation setting the property
71
"maven.javadoc.skip" to true in the command line::
72

  
73
    mvn -Dmaven.javadoc.skip=true  install
74

  
75
How to skip test signature cheks from command line
76
---------------------------------------------------
77

  
78
You can skip the signature check setting the property
79
"animal.sniffer.skip" to true in the command line::
80

  
81
    mvn -Danimal.sniffer.skip=true install
82

  
83
How to install a project without install submodules
84
----------------------------------------------------------
85

  
86
To install a project with submodules and only install the
87
parent project without submodules use the option "--non-recursive" ::
88

  
89
    mvn --non-recursive install
90

  
91
  
92
How to skip test compilation
93
--------------------------------
94

  
95
To configure a project to don't run the compilation
96
of test you can add to this pom the next configuration of
97
the plugin "maven-compiler-plugin"::
98

  
99
  <build>
100
    <plugins>
101
      ...
102
      <plugin>
103
        <!-- Skip compilation tests -->
104
        <groupId>org.apache.maven.plugins</groupId>
105
        <artifactId>maven-compiler-plugin</artifactId>
106
        <executions>
107
          <execution>
108
            <id>default-testCompile</id>
109
            <phase>process-test-sources</phase>
110
            <goals>
111
              <goal>testCompile</goal>
112
            </goals>
113
            <configuration>
114
              <skip>true</skip>
115
            </configuration>
116
          </execution>
117
        </executions>
118
      </plugin>
119
      ...
120
    </plugins>
121
  </build>
122

  
123
Skip test execution
124
----------------------
125

  
126
To configure a project to don't run the execution
127
of test you can add to this pom the next configuration of
128
the plugin "maven-surefire-plugin"::
129

  
130

  
131
  <build>
132
    <plugins>
133
      ...
134
      <plugin>
135
        <!-- Skip test execution -->
136
        <groupId>org.apache.maven.plugins</groupId>
137
        <artifactId>maven-surefire-plugin</artifactId>
138
        <configuration>
139
          <skipTests>true</skipTests>
140
        </configuration>
141
      </plugin>
142
      ...
143
    </plugins>
144
  </build>
145

  
146
Continue on test failure
147
-----------------------------
148

  
149
You can configure a project to continue on test execution 
150
failure. To do this add to the pom of the project the next 
151
configuration of plugin "maven-surefire-plugin" ::
152

  
153
  <build>
154
    <plugins>
155
      ...
156
      <plugin>
157
        <!-- Continue on test failure -->
158
        <groupId>org.apache.maven.plugins</groupId>
159
        <artifactId>maven-surefire-plugin</artifactId>
160
        <configuration>
161
          <testFailureIgnore>true</testFailureIgnore>
162
        </configuration>
163
      </plugin>
164
      ...
165
    </plugins>
166
  </build>
167

  
168

  
169
Set java compatibility
170
--------------------------
171

  
172
To set the compatibility with a java version  add to the 
173
pom of the project the next configuration of plugin 
174
"maven-compiler-plugin" ::
175

  
176
  <build>
177
    <plugins>
178
      ...
179
      <plugin>
180
          <!-- Set java compatibility -->
181
          <groupId>org.apache.maven.plugins</groupId>
182
          <artifactId>maven-compiler-plugin</artifactId>
183
          <configuration>
184
              <source>1.5</source>
185
              <target>1.5</target>
186
              <encoding>ISO-8859-1</encoding>
187
          </configuration>
188
      </plugin>
189
      ...
190
    </plugins>
191
  </build>
192

  
193
Packaging tests in jar
194
------------------------
195

  
196
Test classes do not packaging in jar by default.
197
To packing add to pom::
198

  
199
  <build>
200
    <plugins>
201
      ...
202
      <plugin>
203
        <!-- Packaging tests in jar -->
204
        <groupId>org.apache.maven.plugins</groupId>
205
        <artifactId>maven-jar-plugin</artifactId>
206
        <executions>
207
          <!-- Generates a jar file only with the test classes -->
208
          <execution>
209
            <goals>
210
              <goal>test-jar</goal>
211
            </goals>
212
            <configuration>
213
              <includes>
214
                <include>**/**</include>
215
              </includes>
216
            </configuration>
217
          </execution>
218
        </executions>
219
      </plugin> 
220
      ...
221
    </plugins>
222
  </build>
223

  
224
How to set a dependency with tests jar
225
-----------------------------------------
226

  
227
You can set a dependency with a test jar adding to
228
the declaration of the dependency the scope of
229
test and the type of "test-jar"::
230

  
231
  <dependency>
232
      <groupId>...</groupId>
233
      <artifactId>...</artifactId>
234
      <type>test-jar</type>
235
      <scope>test</scope>
236
  </dependency>
237

  
238
How use ant in maven
239
-------------------------
240

  
241
You can use ant embed in the pom of you project.
242
To do this use::
243

  
244
  <plugin>
245
    <artifactId>maven-antrun-plugin</artifactId>
246
    <version>1.7</version>
247
    <executions>
248
      <execution>
249
        <phase>generate-sources</phase>
250
        <configuration>
251
          <target>
252
            <echo>Hello world!</echo>
253
          </target>
254
        </configuration>
255
        <goals>
256
          <goal>run</goal>
257
        </goals>
258
      </execution>
259
    </executions>
260
  </plugin>
261

  
262
Fail when execute "mvn deploy" with "No connector available"
263
-------------------------------------------------------------
264

  
265
When execute a "mvn deploy" fail with the error::
266

  
267
  [INFO] ------------------------------------------------------------------------
268
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy 
269
    (default-deploy) on project org.gvsig.desktop: Failed to deploy artifacts/metadata: 
270
    No connector available to access repository gvsig-repository (dav:https://devel.gvsig.org/m2repo/j2se) 
271
    of type default using the available factories WagonRepositoryConnectorFactory -> [Help 1]
272
  [ERROR] 
273
  
274
This happens to be configured the webdav wagon as an extension in the section "build"::
275

  
276
  ...
277
  <build>
278
    <extensions>
279
        <extension>
280
            <groupId>org.apache.maven.wagon</groupId>
281
            <artifactId>wagon-webdav-jackrabbit</artifactId>
282
            <version>1.0-beta-7</version>
283
        </extension>
284
    </extensions>
285
  ...
286

  
287
Fail when execute "mvn release: prepare" with "svn command failed... Could not authenticate"
288
------------------------------------------------------------------------------------------------
289

  
290
When running "mvn release: prepare" updates poms, compiles, and then
291
fails with the following error ::
292

  
293
  [INFO] ------------------------------------------------------------------------
294
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.1:prepare 
295
    (default-cli) on project org.gvsig.desktop: Unable to commit files
296
  [ERROR] Provider message:
297
  [ERROR] The svn command failed.
298
  [ERROR] Command output:
299
  [ERROR] svn: Commit failed (details follow):
300
  [ERROR] svn: MKACTIVITY of '/svn/gvsig-desktop/!svn/act/931a27bc-57e8-45d9-adcd-5a2cf54a7045': 
301
    authorization failed: Could not authenticate to server: rejected Basic challenge (https://devel.gvsig.org)
302
  [ERROR] -> [Help 1]
303
  [ERROR] 
304
  [ERROR]
305

  
306
Apparently maven in linux system use the svn of system and if you're not
307
authenticated when trying to access to the repository, svn fails.
308

  
309
This is solved by executing a commit from the command line on
310
some file of the project (only if you have not enabled the option 
311
"store-passwords = no" in $ HOME / .subversion / config). For example, you 
312
can add or remove at the end of "pom.xml" a blank line and then run 
313
from the command line ::
314

  
315
  svn ci -m "" pom.xml
316
  
317
Another option that works on Windows in declaring the user and password in the command:
318

  
319
mvn release:prepare -Dusername=[username] -Dpassword=[password]
320

  
321

  
org.gvsig.vectorediting/tags/org.gvsig.vectorediting-1.0.175/org.gvsig.vectorediting.app/org.gvsig.vectorediting.app.mainplugin/pom.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
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/maven-v4_0_0.xsd">
3
    <modelVersion>4.0.0</modelVersion>
4
    <artifactId>org.gvsig.vectorediting.app.mainplugin</artifactId>
5
    <packaging>jar</packaging>
6
    <name>org.gvsig.vectorediting.app.mainplugin</name>
7
    <description>This plugin add to gvSIG a tool that show Vectorediting messages</description>
8
    <parent>
9
        <groupId>org.gvsig</groupId>
10
        <artifactId>org.gvsig.vectorediting.app</artifactId>
11
        <version>1.0.175</version>
12
    </parent>
13

  
14
    <properties>
15
        <!-- Package info property values -->
16
        <gvsig.package.info.state>testing</gvsig.package.info.state>
17
        <gvsig.package.info.dependencies>required: org.gvsig.app.mainplugin
18
            -ge 2.1.0-A,conflict: org.gvsig.editing.app.mainplugin -ge 1</gvsig.package.info.dependencies>
19
        <gvsig.package.info.official>true</gvsig.package.info.official>
20
        <gvsig.package.info.name>Tools: Vector editing</gvsig.package.info.name>
21
        <gvsig.package.info.description>Vector editing: provides tools to edit
22
            vectorial layers.</gvsig.package.info.description>
23
        <gvsig.package.info.categories>Vector</gvsig.package.info.categories>
24
        <gvsig.package.info.javaVM>j1_6</gvsig.package.info.javaVM>
25
        <gvsig.package.info.poolURL>https://devel.gvsig.org/download/projects/gvsig-vectorediting/pool</gvsig.package.info.poolURL>
26
    </properties>
27

  
28
    <dependencies>
29
        <dependency>
30
            <groupId>org.gvsig</groupId>
31
            <artifactId>org.gvsig.vectorediting.lib.api</artifactId>
32
            <scope>compile</scope>
33
        </dependency>
34
        <dependency>
35
            <groupId>org.gvsig</groupId>
36
            <artifactId>org.gvsig.vectorediting.lib.impl</artifactId>
37
            <scope>runtime</scope>
38
        </dependency>
39
        <dependency>
40
            <groupId>org.gvsig</groupId>
41
            <artifactId>org.gvsig.fmap.control</artifactId>
42
            <scope>compile</scope>
43
        </dependency>
44
        <dependency>
45
            <groupId>org.gvsig</groupId>
46
            <artifactId>org.gvsig.vectorediting.lib.prov.point</artifactId>
47
            <scope>compile</scope>
48
        </dependency>
49
        <dependency>
50
            <groupId>org.gvsig</groupId>
51
            <artifactId>org.gvsig.vectorediting.lib.spi</artifactId>
52
            <scope>compile</scope>
53
        </dependency>
54
        <dependency>
55
            <groupId>org.gvsig</groupId>
56
            <artifactId>org.gvsig.app.mainplugin</artifactId>
57
            <scope>compile</scope>
58
        </dependency>
59
        <dependency>
60
            <groupId>org.gvsig</groupId>
61
            <artifactId>org.gvsig.vectorediting.swing.api</artifactId>
62
            <scope>compile</scope>
63
        </dependency>
64
        <dependency>
65
            <groupId>org.gvsig</groupId>
66
            <artifactId>org.gvsig.vectorediting.swing.impl</artifactId>
67
            <scope>runtime</scope>
68
        </dependency>
69
        <dependency>
70
            <groupId>org.gvsig</groupId>
71
            <artifactId>org.gvsig.vectorediting.lib.prov.circlecr</artifactId>
72
            <scope>compile</scope>
73
        </dependency>
74
        <dependency>
75
            <groupId>org.gvsig</groupId>
76
            <artifactId>org.gvsig.vectorediting.lib.prov.polyline</artifactId>
77
            <scope>compile</scope>
78
        </dependency>
79
        <dependency>
80
            <groupId>org.gvsig</groupId>
81
            <artifactId>org.gvsig.vectorediting.lib.prov.internalpolygon</artifactId>
82
            <scope>compile</scope>
83
        </dependency>
84
        <dependency>
85
            <groupId>org.gvsig</groupId>
86
            <artifactId>org.gvsig.vectorediting.lib.prov.line</artifactId>
87
            <scope>compile</scope>
88
        </dependency>
89
        <dependency>
90
            <groupId>org.gvsig</groupId>
91
            <artifactId>org.gvsig.vectorediting.lib.prov.arc</artifactId>
92
            <scope>compile</scope>
93
        </dependency>
94
        <dependency>
95
            <groupId>org.gvsig</groupId>
96
            <artifactId>org.gvsig.vectorediting.lib.prov.ellipse</artifactId>
97
            <scope>compile</scope>
98
        </dependency>
99
        <dependency>
100
            <groupId>org.gvsig</groupId>
101
            <artifactId>org.gvsig.vectorediting.lib.prov.regularpolygon</artifactId>
102
            <scope>compile</scope>
103
        </dependency>
104
        <dependency>
105
            <groupId>org.gvsig</groupId>
106
            <artifactId>org.gvsig.vectorediting.lib.prov.rectangle</artifactId>
107
            <scope>compile</scope>
108
        </dependency>
109
        <dependency>
110
            <groupId>org.gvsig</groupId>
111
            <artifactId>org.gvsig.vectorediting.lib.prov.spline</artifactId>
112
            <scope>compile</scope>
113
        </dependency>
114
        <dependency>
115
            <groupId>org.gvsig</groupId>
116
            <artifactId>org.gvsig.vectorediting.lib.prov.circle3p</artifactId>
117
            <scope>compile</scope>
118
        </dependency>
119
        <dependency>
120
            <groupId>org.gvsig</groupId>
121
            <artifactId>org.gvsig.vectorediting.lib.prov.explode</artifactId>
122
            <scope>compile</scope>
123
        </dependency>
124
        <dependency>
125
            <groupId>org.gvsig</groupId>
126
            <artifactId>org.gvsig.vectorediting.lib.prov.move</artifactId>
127
            <scope>compile</scope>
128
        </dependency>
129
        <dependency>
130
            <groupId>org.gvsig</groupId>
131
            <artifactId>org.gvsig.vectorediting.lib.prov.rotate</artifactId>
132
            <scope>compile</scope>
133
        </dependency>
134
        <dependency>
135
            <groupId>org.gvsig</groupId>
136
            <artifactId>org.gvsig.vectorediting.lib.prov.duplicate</artifactId>
137
            <scope>compile</scope>
138
        </dependency>
139
        <dependency>
140
            <groupId>org.gvsig</groupId>
141
            <artifactId>org.gvsig.vectorediting.lib.prov.scale</artifactId>
142
            <scope>compile</scope>
143
        </dependency>
144
        <dependency>
145
            <groupId>org.gvsig</groupId>
146
            <artifactId>org.gvsig.vectorediting.lib.prov.splitline</artifactId>
147
            <scope>compile</scope>
148
        </dependency>
149
        <dependency>
150
            <groupId>org.gvsig</groupId>
151
            <artifactId>org.gvsig.vectorediting.lib.prov.simplify</artifactId>
152
            <scope>compile</scope>
153
        </dependency>
154
        <dependency>
155
            <groupId>org.gvsig</groupId>
156
            <artifactId>org.gvsig.vectorediting.lib.prov.multipoint</artifactId>
157
            <scope>compile</scope>
158
        </dependency>
159
        <dependency>
160
            <groupId>org.gvsig</groupId>
161
            <artifactId>org.gvsig.vectorediting.lib.prov.autopolygon</artifactId>
162
            <scope>compile</scope>
163
        </dependency>
164
        <dependency>
165
            <groupId>org.gvsig</groupId>
166
            <artifactId>org.gvsig.vectorediting.lib.prov.join</artifactId>
167
            <scope>compile</scope>
168
        </dependency>
169
        <dependency>
170
            <groupId>org.gvsig</groupId>
171
            <artifactId>org.gvsig.vectorediting.lib.prov.stretch</artifactId>
172
            <scope>compile</scope>
173
        </dependency>
174
        <dependency>
175
            <groupId>org.gvsig</groupId>
176
            <artifactId>org.gvsig.vectorediting.lib.prov.extendline</artifactId>
177
            <scope>compile</scope>
178
        </dependency>
179
        <dependency>
180
            <groupId>org.gvsig</groupId>
181
            <artifactId>org.gvsig.vectorediting.lib.prov.split</artifactId>
182
            <scope>compile</scope>
183
        </dependency>
184
        <dependency>
185
            <groupId>org.gvsig</groupId>
186
            <artifactId>org.gvsig.vectorediting.lib.prov.smoothline</artifactId>
187
            <scope>compile</scope>
188
        </dependency>
189
        <dependency>
190
            <groupId>org.gvsig</groupId>
191
            <artifactId>org.gvsig.vectorediting.lib.prov.trimline</artifactId>
192
            <scope>compile</scope>
193
        </dependency>
194
        <dependency>
195
            <groupId>org.gvsig</groupId>
196
            <artifactId>org.gvsig.vectorediting.lib.prov.rectangularmatrix</artifactId>
197
            <scope>compile</scope>
198
        </dependency>
199
        <dependency>
200
            <groupId>org.gvsig</groupId>
201
            <artifactId>org.gvsig.vectorediting.lib.prov.polarmatrix</artifactId>
202
            <scope>compile</scope>
203
        </dependency>
204
        <dependency>
205
            <groupId>org.gvsig</groupId>
206
            <artifactId>org.gvsig.vectorediting.lib.prov.editvertex</artifactId>
207
            <scope>compile</scope>
208
        </dependency>
209
        <dependency>
210
            <groupId>org.gvsig</groupId>
211
            <artifactId>org.gvsig.vectorediting.lib.prov.remove</artifactId>
212
            <scope>compile</scope>
213
        </dependency>
214
        <dependency>
215
            <groupId>org.gvsig</groupId>
216
            <artifactId>org.gvsig.vectorediting.lib.prov.converttopolyline</artifactId>
217
            <scope>compile</scope>
218
        </dependency>
219
        <dependency>
220
            <groupId>org.gvsig</groupId>
221
            <artifactId>org.gvsig.vectorediting.lib.prov.reversedirection</artifactId>
222
            <scope>compile</scope>
223
        </dependency>
224
        <dependency>
225
            <groupId>org.gvsig</groupId>
226
            <artifactId>org.gvsig.vectorediting.lib.prov.align</artifactId>
227
            <scope>compile</scope>
228
        </dependency>
229
        <dependency>
230
            <groupId>org.gvsig</groupId>
231
            <artifactId>org.gvsig.exportto.swing.api</artifactId>
232
            <scope>compile</scope>
233
        </dependency>
234
        <dependency>
235
            <groupId>org.gvsig</groupId>
236
            <artifactId>org.gvsig.exportto.lib.api</artifactId>
237
            <scope>compile</scope>
238
        </dependency>
239
    </dependencies>
240
</project>
org.gvsig.vectorediting/tags/org.gvsig.vectorediting-1.0.175/org.gvsig.vectorediting.app/org.gvsig.vectorediting.app.mainplugin/buildNumber.properties
1
#Wed Dec 22 02:29:46 CET 2021
2
buildNumber=184
org.gvsig.vectorediting/tags/org.gvsig.vectorediting-1.0.175/org.gvsig.vectorediting.app/org.gvsig.vectorediting.app.mainplugin/src/test/resources/log4j.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
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
28

  
29
<!-- 
30
Log4J configuration file for unit tests execution.
31
 -->
32
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
33

  
34
	<!-- Appender configuration to show logging messages through the console -->
35
	<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
36
		<layout class="org.apache.log4j.PatternLayout">
37
			<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p [%c{2}.%M()]\n  %m%n" />
38
		</layout>
39
	</appender>
40

  
41
	<!-- 
42
	Activate logging messages of DEBUG level of higher only for the
43
	org.gvsig.tools packages.
44
	You can put full classes names or packages instead, to configure
45
	logging for all the classes and subpackages of the package.
46
	-->
47
	<category name="org.gvsig.tools">
48
		<priority value="DEBUG" />
49
	</category>
50
	<category name="org.gvsig.vectorediting">
51
		<priority value="DEBUG" />
52
	</category>
53

  
54
	<!-- 
55
	By default, show only logging messages of INFO level or higher, 
56
	through the previously configured CONSOLE appender. 
57
	-->
58
	<root>
59
		<priority value="INFO" />
60
		<appender-ref ref="CONSOLE" />
61
	</root>
62
</log4j:configuration>
org.gvsig.vectorediting/tags/org.gvsig.vectorediting-1.0.175/org.gvsig.vectorediting.app/org.gvsig.vectorediting.app.mainplugin/src/test/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

  
27
Put into this folder the resources needed by your test classes.
28

  
29
This folder is added to the Tests classpath, so you can load any resources 
30
through the ClassLoader.
31

  
32
By default, in this folder you can find an example of log4j configuration,
33
prepared to log messages through the console, so logging works when you
34
run your tests classes.
org.gvsig.vectorediting/tags/org.gvsig.vectorediting-1.0.175/org.gvsig.vectorediting.app/org.gvsig.vectorediting.app.mainplugin/src/main/resources-plugin/i18n/text_en.properties
1
key_natural_cubic_splinesstart_editing = Start editing
2
end_editing = End editing
3
insert_point = Insert point
4
insert_multipoint = Insert MultiPoint
5
insert_line = Insert line
6
insert_arc = Insert arc
7
insert_arc_by_center = Insert arc by center
8
insert_arc_three_points = Insert arc by three points
9
insert_circle_cr=Insert circle (center & radius)
10
insert_circumference_cr=Insert circumference (center & radius)
11
insert_circle_cd=Insert circle (center & diameter)
12
insert_circumference_cd=Insert circumference (center & diameter)
13
insert_circle_2p = Insert circle (two point)key_natural_cubic_splines
14
insert_circle_3p = Insert circle (three point)
15
insert_circle_tantanradius = Insert circle (tan, tan, radius)
16
insert_circumference_2p = Insert circumference (two points)
17
insert_circumference_3p = Insert circumference (three points)
18
insert_circumference_tantanradius = Insert circumference (tan, tan, radius)
19
insert_ellipse = Insert ellipse
20
insert_filled_ellipse = Insert filled ellipse
21
insert_ellipse_center_axes = Insert ellipse (center & axes)
22
insert_filled_ellipse_center_axes = Insert filled ellipse (center & axes)
23
insert_polyline = Insert polyline
24
insert_polygon = Insert polygon
25
insert_regular_polygon = Insert regular polygon
26
insert_filled_regular_polygon = Insert filled regular polygon
27
insert_rectangle = Insert rectangle
28
insert_filled_rectangle = Insert filled rectangle
29
insert_spline= Insert spline curve
30
insert_filled_spline = Insert filled spline
31
insert_rectangular_matrix = Rectangular matrix of geometries
32
insert_polar_matrix = Polar matrix of geometries
33
modify_internal_polygon = Internal polygon
34
modify_explode_geometry = Explode geometry
35
modify_move = Move geometry
36
modify_rotate = Rotate geometry
37
modify_duplicate = Duplicate geometry
38
modify_divide = Divide
39
modify_measure = Measure
40
modify_split_line = Split line open by a point
41
modify_split = Split geometry
42
modify_scale = Scale geometry
43
modify_simplify = Simplify geometry
44
insert_autopolygon = Insert autopolygon
45
modify_join = Join geometries
46
modify_stretch = Stretch geometry
47
modify_extend_line = Extend line to object
48
modify_trim_lines_by_cutting_edges = Trim lines by cutting edges
49
modify_trim_polygons = Trim polygons by object
50
modify_edit_vertex = Edit vertex
51
modify_convert_to_polyline= Convert to polyline
52
modify_reverse_direction=Reverse direction
53
modify_align_edges=Align edges
54
modify_chamfer=Chamfer
55
uniqueselection = Select only one geometry
56
selectvertex = Select a vertex
57
new_position = New position
58
new_position_or_z_value = New position or Z value
59
insert_vertex = Insertr vertex
60
remove_vertex = Remove vertex
61
selection=Selection
62
invalid_option=Invalid option
63
center=Center
64
radius=Radius
65
diameter=Diameter
66
save_changes_performed=Save changed performed
67
discard= Discard
68
discard_and_loose_changes= Discard changes and loose changes
69
continue= Continue
70
do_not_save_yet_stay_in_editing_mode= Don't save changes and continue editing
71
indicate_new_point= Indicate new point
72
arc_mode = Arc mode
73
line_mode = Line mode
74
select_new_tool= Select a new tool
75
draw_geometry_to_interal_polygon= Select tool to draw a internal polygon
76
draw_geometry_to_autopolygon = Select tool to draw an autopolygon
77
draw_geometry_to_split = Select tool to split selected geometries
78
draw_geometry_to_select_vertex = Select a polygonal tool to select vertex
79
save = Save
80
discard = Discard
81
continue = Continue
82
export = Export
83
ask_save_layer = Would you really like to save the layer
84
can_not_write_layer =  There are not writer for this layer format or you don't have write permissions.\nWhat do you want to do?
85
save_changes_performed = Save changed performed
86
discard_and_loose_changes = Discard and loose changes
87
export_to_another_format = Export to another format
88
do_not_save_yet_stay_in_editing_mode = Do not save changes and continue editing
89
first_point= First point
90
second_point= Second point
91
start_point= Start point
92
middle_point= Middle point
93
third_point= Third point
94
end_point= End point
95
first_point_A_axis = First point of A axis
96
second_point_A_axis = Second point of A axis
97
length_of_B_axis= Length of B axis
98
length_of_B_semiaxis= Length of B semiaxis
99
point_A_axis = Punto del eje A
100
inscribed = Inscribed
101
circumscribed = Circumscribed
102
sides_of_regular_polygon = Indicate sides of regular polygon
103
center_of_regular_polygon = Center of regular polygon
104
point_of_circle = Point of circle of  polygon
105
first_point_of_the_first_line = First point of the first line
106
second_point_of_the_first_line = Second point of the first line
107
first_point_of_the_second_line = First point of the second line
108
second_point_of_the_second_line = Second point of the second line
109
point_near_center = Point near center
110
point_near_tangent_in_first_geometry = Point near tangent in first geometry
111
point_near_tangent_in_second_geometry = Point near tangent in second geometry
112
radius = Radius
113
sides = Sides
114
key_arc_mode = A
115
key_line_mode = L
116
key_close = C
117
key_finish = F
118
key_inscribed = I
119
key_circumscribed = C
120
key_remove_last_point = R
121
remove_last_point = Remove last point
122
close_polyline = Close polyline
123
close_spline = Close spline curve
124
new_point = New point
125
new_value = New value
126
finished = finished
127
center_of_rotation=Center of rotation
128
angle_of_rotation=Angle of rotation (degree)
129
origin_point = Origin
130
scale_factor_or_reference_point = Scale factor or reference point
131
second_scale_point = Second scale point
132
tolerance = Tolerance
133
line_to_extend = Select line to extend
134
line_to_trim = Select line to trim
135
modify_smooth_line = Smooth line
136
intermediate_steps_1_9 = Intermediate steps [1,9]
137
algorithm = algorithm
138
natural_cubic_splines = Natural cubic splines
139
bezier_curves = Bezier curves
140
b_splines = B-splines
141
key_natural_cubic_splines = NCS
142
key_bezier_curves = BC
143
key_b_splines = BS
144
columns_number = Number of columns
145
rows_number = Number of rows
146
distance_between_columns = Distance between columns
147
distance_between_rows = Distance between rows
148
key_yes= Y
149
key_no = N
150
yes = Yes
151
no = No
152
number_of_total_elements = Number of total elements
153
rotate_elements = Rotate elements?
154
angle_between_elements = Angle between elements
155
modify = modify
156
insert = insert
157
Modify = Modify
158
Insert = Insert
159
_The_layer_is_reproyected_on_the_fly_Not_all_editing_tools_work_properly_When_you_finish_editing_will_only_export_the_changes_to_another_layer=The layer is reproyected on the fly.\nNot all editing tools work properly.\nWhen you finish editing will only export the changes to another layer will be allowed.
160
_Do_you_want_to_finish_editing_If_not_exported_the_data_the_changes_will_be_lost=Do you want to finish editing?\nIf not exported the data and finish editing, the changes will be lost.
161
_Cant_finish_editing_See_the_error_log_for_more_information=Unable to finish editing.\nSee the error log for more information
162
_The_layer_can_not_be_written_When_you_finish_editing_will_only_export_the_changes_to_another_layer=The layer can not be written.\nWhen you finish editing will only export the changes to another layer will be allowed.
163
remove_selected_geometries=Remove selected geometries
164
_Use_a_point_previously_captured=Use a point previously captured.
165
_Enter_the_coordinates_manually=Enter the coordinates manually.
166
start_angle = Start angle
167
sweep_angle = Sweep angle
168
center_point = Center point
169
_graphic_distance = Graphic distance
170
geometry_to_extend_to=Geometry to extend to
171
geometry_to_trim_with=Geometry to trim with
172
shearing_point=Shearing point
173
_dismiss=Dismiss
174
_List_of_layers_to_finish_editing=List of layers to finish editing
175
_The_following_layers_dismiss_the_changes=The following layers dismiss the changes: \n
176
_Dismiss_information=Dismiss information
177
_finish_edition=Finish edition
178
_align_edges=Align edges
179
_geometry_base=Geometry base
180
_geometry_to_align=Geometry to align
181
_align_mode=Align mode
182
_up=Up
183
_down=Down
184
_left=Left
185
_right=Right
186
_horizontal_centering=Horizontal
187
_vertical_centering=Vertical
188
_both_centering=Both centers
189
_short_up=U
190
_short_down=D
191
_short_left=L
192
_short_right=R
193
_short_horizontal_centering=H
194
_short_vertical_centering=V
195
_short_both_centering=C
196
_do_copy_question=Do copy?
197
_delete_original_geometries=Delete original geometries
198
_do_copy=Do copy
199
_yes=Yes
200
_no=No
201
_short_yes=Y
202
_short_no=N
203
_Modify_paste_from_clipboard=Paste from clipboard
204
_Location=Location
205
_Clipboard=Clipboard
206
_Copy_alphanumeric_attributes=Copy alphanumeric attributes
207
copyAlphanumericAttributes=Copy alphanumeric attributes
208
_Dont_copy_alphanumeric_attributes=Don't copy alphanumeric attributes
209
_Editing_tool_options=Editing tool options
210
_Vector_editing_tool_options=Vector editing tool options
211
_Activate_an_editing_tool_to_see_your_options_here=Activate an editing tool to see your options here.
212
_Options=Options
213
_Apply=Apply
214
_Default_values=Default values
215
_Table=Table
216
_Tool=Tool
217
_insertion_point=Insertion point
218
_measure=measure
219
_align=align
220
_dont_align=don't align
221
_rotate_field=rotate field
222
segments_number=segments number
223
_point_options=Point options
224
_Direction=Direction
225
equidistant_copies=Equidistant copies
226
_save=Save
227
_export=Export
org.gvsig.vectorediting/tags/org.gvsig.vectorediting-1.0.175/org.gvsig.vectorediting.app/org.gvsig.vectorediting.app.mainplugin/src/main/resources-plugin/i18n/text.properties
1
start_editing = Comenzar edici\u00f3n
2
end_editing = Terminar edici\u00f3n
3
insert_point = Insertar punto
4
insert_multipoint = Insertar MultiPunto
5
insert_line = Insertar l\u00ednea
6
insert_arc = Insertar arco
7
insert_arc_by_center = Insertar arco seg\u00fan centro
8
insert_arc_three_points = Insertar arco seg\u00fan tres puntos
9
insert_circle_cr = Insertar c\u00edrculo (centro y radio)
10
insert_circumference_cr = Insertar circunferencia (centro y radio)
11
insert_circle_cd = Insertar c\u00edrculo (centro y di\u00e1metro)
12
insert_circumference_cd = Insertar circunferencia (centro y di\u00e1metro)
13
insert_circle_3p = Insertar c\u00edrculo (tres puntos)
14
insert_circle_2p = Insertar c\u00edrculo (dos puntos)
15
insert_circle_tantanradius = Insertar c\u00edrculo (tan, tan, radio)
16
insert_circumference_3p = Insertar circunferencia (tres puntos)
17
insert_circumference_2p = Insertar circunferencia (dos puntos)
18
insert_circumference_tantanradius = Insertar circunferencia (tan, tan, radio)
19
insert_circle_2tg1p = Insertar c\u00edrculo (2 tangentes y 1 punto)
20
insert_circumference_2tg1p = Insertar circunferencia (2 tangentes y 1 punto)
21
insert_ellipse = Insertar elipse
22
insert_filled_ellipse = Insertar elipse rellena
23
insert_ellipse_center_axes = Insertar elipse (centro y ejes)
24
insert_filled_ellipse_center_axes = Insertar elipse rellena (centro y ejes)
25
insert_polyline = Insertar polil\u00ednea
26
insert_polygon = Insertar pol\u00edgono
27
insert_regular_polygon = Insertar pol\u00edgono regular
28
insert_filled_regular_polygon = Insertar pol\u00edgono regular relleno
29
insert_rectangle = Insertar rect\u00e1ngulo
30
insert_filled_rectangle =  Insertar rect\u00e1ngulo relleno
31
insert_spline= Insertar curva spline
32
insert_filled_spline = Insertar curva spline rellena
33
insert_rectangular_matrix = Matriz rectangular de geometr\u00edas
34
insert_polar_matrix = Matriz polar de geometr\u00edas
35
modify_internal_polygon = Pol\u00edgono interno
36
modify_explode_geometry = Descomponer geometr\u00eda
37
modify_move = Mover geometr\u00eda
38
modify_rotate = Rotar geometr\u00eda
39
modify_duplicate = Duplicar geometr\u00eda
40
modify_divide = Divide
41
modify_measure = Grad\u00faa
42
modify_split_line = Partir linea por un punto
43
modify_split = Partir geometr\u00eda
44
modify_scale = Escalar geometr\u00eda
45
modify_simplify = Simplificar geometr\u00eda
46
modify_join = Unir geometr\u00edas
47
insert_autopolygon = Insertar autopol\u00edgono
48
modify_stretch = Estirar geometr\u00eda
49
modify_extend_line = Alargar l\u00ednea hasta objeto
50
modify_trim_lines_by_cutting_edges = Recortar l\u00edneas eliminando los bordes
51
modify_trim_polygons = Recortar pol\u00edgonos por un objeto
52
modify_edit_vertex = Editar v\u00e9rtice
53
modify_convert_to_polyline= Convertir a polil\u00ednea
54
modify_reverse_direction=Invertir direcci\u00f3n
55
modify_align_edges=Alinear bordes
56
modify_chamfer=Chafl\u00e1n
57
uniqueselection = Seleccione una \u00fanica geometr\u00eda
58
selectvertex = Seleccione un v\u00e9rtice
59
new_position = Nueva posici\u00f3n
60
new_position_or_z_value = Nueva posici\u00f3n o valor Z
61
insert_vertex = Insertar v\u00e9rtice
62
remove_vertex = Eliminar v\u00e9rtice
63
selection=Selecci\u00f3n
64
invalid_option=Opci\u00f3n no v\u00e1lida
65
center=Centro
66
radius=Radio
67
diameter=Di\u00e1metro
68
save_changes_performed=Guardar cambios realizados
69
discard= Descartar
70
discard_and_loose_changes= Descartar cambios y perder los cambios
71
continue= Continuar
72
do_not_save_yet_stay_in_editing_mode= No guardar los cambios y seguir en modo edici\u00f3n
73
indicate_new_point= Indique un nuevo punto
74
arc_mode = Modo arco
75
line_mode = Modo l\u00ednea
76
select_new_tool= Seleccione una nueva herramienta
77
draw_geometry_to_internal_polygon= Seleccione una herramienta para dibujar un pol\u00edgono interno
78
draw_geometry_to_autopolygon = Seleccione una herramienta para dibujar un autopol\u00edgono
79
draw_geometry_to_split = Seleccione una herramienta para partir las geometr\u00edas
80
draw_geometry_to_select_vertex = Seleccione una herramienta poligonal para seleccionar v\u00e9rtices
81
save = Guardar
82
discard = Descartar
83
continue = Continuar
84
export = Exportar
85
ask_save_layer = \u00bfDesea guardar la capa
86
can_not_write_layer =  No existe writer para este formato de capa o no tiene permisos de escritura.\n\u00bfQu\u00e9 desea hacer?
87
save_changes_performed = Guardar cambios realizados
88
discard_and_loose_changes = Descartar y perder los cambios
89
export_to_another_format = Exportar a otro formato
90
do_not_save_yet_stay_in_editing_mode = No guardar los cambios y seguir editando
91
first_point= Primer punto
92
second_point= Segundo punto
93
third_point= Tercer punto
94
start_point= Punto de inicio
95
middle_point= Punto medio
96
end_point= Punto final
97
first_point_A_axis = Primer punto del eje A
98
second_point_A_axis = Segundo punto del eje A
99
length_of_B_axis= Longitud del eje B
100
length_of_B_semiaxis= Longitud del semieje B
101
point_A_axis = Punto del eje A
102
inscribed = Inscrito
103
circumscribed = Circunscrito
104
sides_of_regular_polygon = Indique los lados del poligono regular
105
center_of_regular_polygon = Centro del pol\u00edguno regular
106
point_of_circle = Punto del c\u00edrculo del pol\u00edgono
107
first_point_of_the_first_line = Primer punto de la primera l\u00ednea
108
second_point_of_the_first_line = Segundo punto de la primera l\u00ednea
109
first_point_of_the_second_line = Primer punto de la segunda l\u00ednea
110
second_point_of_the_second_line = Segundo punto de la segunda l\u00ednea
111
point_near_center = Punto cercano al centro
112
point_near_tangent_in_first_geometry = Punto cercano a la tangente en la primera geometr\u00eda
113
point_near_tangent_in_second_geometry = Punto cercano a la tangente en la segunda geometr\u00eda
114
radius = Radio
115
sides = Lados
116
key_arc_mode = A
117
key_line_mode = L
118
key_close = C
119
key_finish = F
120
key_inscribed = I
121
key_circumscribed = C
122
key_remove_last_point = Q
123
remove_last_point = Quitar \u00faltimo punto
124
close_polyline = Cerrar polil\u00ednea
125
close_spline = Cerrar curva spline
126
new_point = Nuevo punto
127
new_value = Nuevo valor
128
finished = finalizada
129
center_of_rotation = Centro de rotaci\u00f3n
130
angle_of_rotation = \u00c1ngulo de rotaci\u00f3n (grados)
131
origin_point = Origen
132
scale_factor_or_reference_point = Factor de escala o punto de referencia
133
second_scale_point = Segundo punto para la escala
134
tolerance = Tolerancia
135
line_to_extend = Seleccione l\u00ednea para alargar
136
line_to_trim = Seleccione l\u00ednea para partir
137
modify_smooth_line = Suavizar l\u00ednea
138
intermediate_steps_1_9 = Pasos intermedios [1,9]
139
algorithm = algoritmo
140
natural_cubic_splines = Splines c\u00fabicos naturales
141
bezier_curves = Curvas B\u00e9zier
142
b_splines = B-splines
143
key_natural_cubic_splines = SCN
144
key_bezier_curves = CB
145
key_b_splines = BS
146
columns_number = N\u00famero de columnas
147
rows_number = N\u00famero de filas
148
distance_between_columns = Distancia entre columnas
149
distance_between_rows = Distancia entre filas
150
key_yes= S
151
key_no = N
152
yes = Si
153
no = No
154
number_of_total_elements = N\u00famero de elementos totales
155
rotate_elements = Rotar elementos?
156
angle_between_elements = Angulo entre elementos
157
modify = modificar
158
insert = insertar
159
Modify = Modificar
160
Insert = Insertar
161
_The_layer_is_reproyected_on_the_fly_Not_all_editing_tools_work_properly_When_you_finish_editing_will_only_export_the_changes_to_another_layer=La capa esta reproyectada el vuelo.\nNo todas las herramientas de edici\u00f3n funcionar\u00e1n correctamente.\nCuando termine edici\u00f3n solo podra exportar los cambios a otra capa.
162
_Do_you_want_to_finish_editing_If_not_exported_the_data_the_changes_will_be_lost=\u00bf Desea terminar la edici\u00f3n ?\nSi no ha exportado los datos y termina edici\u00f3n, los cambios realizados se perder\u00e1n.
163
_Cant_finish_editing_See_the_error_log_for_more_information=No se puede terminar la edici\u00f3n.\nConsulte el registro de errores para mas informaci\u00f3n.
164
_The_layer_can_not_be_written_When_you_finish_editing_will_only_export_the_changes_to_another_layer=No puede escribirse en la capa.\nCuando termine edici\u00f3n solo podra exportar los cambios a otra capa.
165
remove_selected_geometries=Eliminar geometr\u00edas seleccionadas
166
_Use_a_point_previously_captured=Usar un punto capturado previamente.
167
_Enter_the_coordinates_manually=Introducir las coordenadas manualmente.
168
start_angle = \u00c1ngulo inicial
169
sweep_angle = \u00c1ngulo de barrido
170
center_point = Centro
171
_graphic_distance = Distancia gr\u00e1fica
172
geometry_to_extend_to=Geometr\u00eda hasta la que extender
173
geometry_to_trim_with=Geometr\u00eda con la que recortar
174
shearing_point=Punto de recorte
175
_dismiss=Descartar
176
_List_of_layers_to_finish_editing=Lista de capas a terminar edici\u00f3n
177
_The_following_layers_dismiss_the_changes=Las siguientes capas descartar\u00e1n los cambios: \n
178
_Dismiss_information=Informaci\u00f3n a descartar
179
_finish_edition=Finalizar edici\u00f3n
180
_align_edges=Alinear bordes
181
_geometry_base=Geometr\u00eda base
182
_geometry_to_align=Geometr\u00eda a alinear
183
_align_mode=Alineaci\u00f3n
184
_up=Arriba
185
_down=Abajo
186
_left=Izquierda
187
_right=Derecha
188
_horizontal_centering=Horizontal
189
_vertical_centering=Vertical
190
_both_centering=Ambos centros
191
_short_up=A
192
_short_down=Ab
193
_short_left=I
194
_short_right=D
195
_short_horizontal_centering=H
196
_short_vertical_centering=V
197
_short_both_centering=C
198
_do_copy_question=\u00bfHacer copia?
199
_delete_original_geometries=Eliminar la geometr\u00edas originales
200
_do_copy=Hacer copia
201
_yes=S\u00ed
202
_no=No
203
_short_yes=S
204
_short_no=N
205
_Modify_paste_from_clipboard=Pegar desde el portapapeles
206
_Location=Posici\u00f3n
207
_Clipboard=Portapapeles
208
_Copy_alphanumeric_attributes=Copiar atributos alfanum\u00e9ricos
209
copyAlphanumericAttributes=Copiar atributos alfanum\u00e9ricos
210
_Dont_copy_alphanumeric_attributes=No copiar atributos alfanum\u00e9ricos
211
_Editing_tool_options=Opciones de las herramientas de edici\u00f3n
212
_Vector_editing_tool_options=Opciones de las herramientas de edici\u00f3n
213
_Activate_an_editing_tool_to_see_your_options_here=Active una herramienta de edicion para ver aqui sus opciones.
214
_Options=Opciones
215
_Apply=Aplicar
216
_Default_values=Valores por defecto
217
_Table=Tabla
218
_Tool=Herramienta
219
_insertion_point=punto de inserci\u00f3n
220
_measure=medida
221
_align=alinear
222
_dont_align=no alinear
223
_rotate_field=campo de rotaci\u00f3n
224
_segments_number=n\u00ba de segmentos
225
_point_options=Opciones del punto
226
_Direction=Direcci\u00f3n
227
equidistant_copies=Copias equidistantes
228
_save=Guardar
229
_export=Exportar
org.gvsig.vectorediting/tags/org.gvsig.vectorediting-1.0.175/org.gvsig.vectorediting.app/org.gvsig.vectorediting.app.mainplugin/src/main/resources-plugin/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<!-- gvSIG. Desktop Geographic Information System. Copyright (C) 2007-2013 gvSIG
3
  Association. This program is free software; you can redistribute it and/or modify
4
  it under the terms of the GNU General Public License as published by the Free Software
5
  Foundation; either version 3 of the License, or (at your option) any later version.
6
  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
7
  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8
  PURPOSE. See the GNU General Public License for more details. You should have received
9
  a copy of the GNU General Public License along with this program; if not, write to
10
  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
11
  USA. For any additional information, do not hesitate to contact us at info AT gvsig.com,
12
  or visit our website www.gvsig.com. -->
13
<plugin-config>
14
  <depends plugin-name="org.gvsig.app.mainplugin" />
15
  <depends plugin-name="org.gvsig.exportto.app.mainplugin" />
16
  <resourceBundle name="text" />
17
  <libraries library-dir="lib" />
18
  <extensions>
19
    <extension class-name="org.gvsig.vectorediting.app.mainplugin.EditingExtension"
20
      description="" active="true" priority="1">
21

  
22
      <action name="start-editing" label="start_editing" tooltip="start_editing"
23
        position="600800000" action-command="start-editing" icon="vector-editing"
24
        accelerator="" />
25
      
26
      <action name="end-editing" label="end_editing" tooltip="end_editing"
27
        position="600800000" action-command="end-editing" icon="vector-editing"
28
        accelerator="" />
29
      
30
      <action 
31
          name="vector-editing-tooloptions" 
32
          label="_Show_editing_tool_options" 
33
          tooltip="_Show_editing_tool_options"
34
          position="608900000" 
35
          action-command="vector-editing-tooloptions" 
36
          icon="vector-editing-tooloptions"
37
          accelerator="" 
38
      />
39
           
40
      <menu text="Layer/start_editing" name="start-editing" />
41
      <menu text="Layer/end_editing" name="end-editing" />
42
      <menu text="Layer/_Editing_tool_options" name="vector-editing-tooloptions" />
43

  
44
      <tool-bar name="vector_editing" position="4000">
45
        <action-tool name="start-editing" />
46
        <action-tool name="end-editing" />
47
        <action-tool name="vector-editing-tooloptions" />
48
      </tool-bar>
49

  
50
    </extension>
51

  
52
    <extension class-name="org.gvsig.vectorediting.app.mainplugin.ServiceExtension"
53
      description="" active="true" priority="1">
54

  
55
      <action name="remove" label="remove_selected_geometries" tooltip="remove_selected_geometries"
56
        action-command="remove" icon="remove" position="601002000"
57
        accelerator="delete" />
58
        <!-- accelerator="" /> -->
59

  
60
      <action name="insert-point" label="insert_point" tooltip="insert_point"
61
        action-command="insert-point" icon="insert-point" position="601002010"
62
        accelerator="" />
63

  
64
      <action name="insert-multipoint" label="insert_multipoint" tooltip="insert_multipoint"
65
        action-command="insert-multipoint" icon="insert-multipoint" position="601002025"
66
        accelerator="" />
67

  
68
      <action name="insert-line" label="insert_line" tooltip="insert_line"
69
        position="601002050" action-command="insert-line" icon="insert-line"
70
        accelerator="" />
71

  
72
      <action name="insert-arc" label="insert_arc" tooltip="insert_arc"
73
        position="601002060" action-command="insert-arc" icon="insert-arc"
74
        accelerator="" />
75

  
76
      <action name="insert-arc-by-center" label="insert_arc_by_center" tooltip="insert_arc_by_center"
77
        position="601002070" action-command="insert-arc-by-center" icon="insert-arc-by-center"
78
        accelerator="" />
79

  
80
      <action name="insert-arc-three-points" label="insert_arc_three_points" tooltip="insert_arc_three_points"
81
        position="601002080" action-command="insert-arc-three-points" icon="insert-arc-three-points"
82
        accelerator="" />
83

  
84
      <action name="insert-circle-cr" label="insert_circle_cr" tooltip="insert_circle_cr"
85
        position="601002100" action-command="insert-circle-cr" icon="insert-circle-cr"
86
        accelerator="" />
87

  
88
      <action name="insert-circle-cd" label="insert_circle_cd" tooltip="insert_circle_cd"
89
        position="601002110" action-command="insert-circle-cd" icon="insert-circle-cd"
90
        accelerator="" />
91

  
92
      <action name="insert-circle-2tg1p" label="insert_circle_2tg1p" tooltip="insert_circle_2tg1p"
93
        position="601002120" action-command="insert-circle-2tg1p" icon="insert-circle-2tg1p"
94
        accelerator="" />
95

  
96
      <action name="insert-circle-tantanradius" label="insert_circle_tantanradius" tooltip="insert_circle_tantanradius"
97
        position="601002130" action-command="insert-circle-tantanradius" icon="insert-circle-tantanradius"
98
        accelerator="" />
99

  
100
      <action name="insert-circumference-cr" label="insert_circumference_cr" tooltip="insert_circumference_cr" 
101
        position="601002101" action-command="insert-circumference-cr"
102
        icon="insert-circumference-cr" accelerator="" />
103

  
104
      <action name="insert-circumference-cd" label="insert_circumference_cd" tooltip="insert_circumference_cd" 
105
        position="601002111" action-command="insert-circumference-cd"
106
        icon="insert-circumference-cd" accelerator="" />
107

  
108
      <action name="insert-circumference-2tg1p" label="insert_circumference_2tg1p" tooltip="insert_circumference_2tg1p"
109
        position="601002121" action-command="insert-circumference-2tg1p" icon="insert-circumference-2tg1p"
110
        accelerator="" />
111

  
112
      <action name="insert-circumference-tantanradius" label="insert_circumference_tantanradius" tooltip="insert_circumference_tantanradius"
113
        position="601002131" action-command="insert-circumference-tantanradius" icon="insert-circumference-tantanradius"
114
        accelerator="" />
115

  
116
      <action name="insert-circle-3p" label="insert_circle_3p" tooltip="insert_circle_3p"
117
        position="601002135" action-command="insert-circle-3p" icon="insert-circle-3p"
118
        accelerator="" />
119

  
120
      <action name="insert-circumference-3p" label="insert_circumference_3p" tooltip="insert_circumference_3p" 
121
        position="601002136" action-command="insert-circumference-3p"
122
        icon="insert-circumference-3p" accelerator="" />
123

  
124
      <action name="insert-circle-2p" label="insert_circle_2p" tooltip="insert_circle_2p"
125
        position="601002137" action-command="insert-circle-2p" icon="insert-circle-2p"
126
        accelerator="" />
127

  
128
      <action name="insert-circumference-2p" label="insert_circumference_2p" tooltip="insert_circumference_2p" 
129
        position="601002138" action-command="insert-circumference-2p"
130
        icon="insert-circumference-2p" accelerator="" />
131

  
132
      <action name="insert-ellipse" label="insert_ellipse" tooltip="insert_ellipse"
133
        position="601002150" action-command="insert-ellipse" icon="insert-ellipse"
134
        accelerator="" />
135

  
136
        <action name="insert-ellipse-center-axes" label="insert_ellipse_center_axes" tooltip="insert_ellipse_center_axes"
137
        position="601002160" action-command="insert-ellipse-center-axes" icon="insert-ellipse-center-axes"
138
        accelerator="" />
139

  
140
      <action name="insert-filled-ellipse" label="insert_filled_ellipse"
141
        tooltip="insert_filled_ellipse" position="601002160" action-command="insert-filled-ellipse"
142
        icon="insert-filled-ellipse" accelerator="" />
143

  
144
      <action name="insert-filled-ellipse-center-axes" label="insert_filled_ellipse_center_axes"
145
        tooltip="insert_filled_ellipse_center_axes" position="601002170" action-command="insert-filled-ellipse-center-axes"
146
        icon="insert-filled-ellipse-center-axes" accelerator="" />
147

  
148
      <action name="insert-polygon" label="insert_polygon" tooltip="insert_polygon"
149
        position="601002200" action-command="insert-polygon" icon="insert-polygon"
150
        accelerator="" />
151

  
152
      <action name="insert-polyline" label="insert_polyline" tooltip="insert_polyline"
153
        position="601002201" action-command="insert-polyline" icon="insert-polyline"
154
        accelerator="" />
155

  
156
      <action name="insert-filled-regular-polygon" label="insert_filled_regular_polygon"
157
        tooltip="insert_filled_regular_polygon" position="601002300"
158
        action-command="insert-filled-regular-polygon" icon="insert-filled-regular-polygon"
159
        accelerator="" />
160

  
161
      <action name="insert-regular-polygon" label="insert_regular_polygon"
162
        tooltip="insert_regular_polygon" position="601002301" action-command="insert-regular-polygon"
163
        icon="insert-regular-polygon" accelerator="" />
164

  
165
      <action name="insert-filled-rectangle" label="insert_filled_rectangle"
166
        tooltip="insert_filled_rectangle" position="601002350" action-command="insert-filled-rectangle"
167
        icon="insert-filled-rectangle" accelerator="" />
168

  
169
      <action name="insert-rectangle" label="insert_rectangle" tooltip="insert_rectangle"
170
        position="601002351" action-command="insert-rectangle" icon="insert-rectangle"
171
        accelerator="" />
172

  
173
      <action name="insert-filled-spline" label="insert_filled_spline"
174
        tooltip="insert_filled_spline" position="601002370" action-command="insert-filled-spline"
175
        icon="insert-filled-spline" accelerator="" />
176

  
177
      <action name="insert-spline" label="insert_spline" tooltip="insert_spline"
178
        position="601002371" action-command="insert-spline" icon="insert-spline"
179
        accelerator="" />
180

  
181
      <action name="modify-internal-polygon" label="modify_internal_polygon"
182
        tooltip="modify_internal_polygon" position="601002500" action-command="modify-internal-polygon"
183
        icon="modify-internal-polygon" accelerator="" />
184

  
185
      <action name="modify-explode-geometry" label="modify_explode_geometry"
186
        tooltip="modify_explode_geometry" position="601002600" action-command="modify-explode-geometry"
187
        icon="modify-explode-geometry" accelerator="" />
188

  
189
      <action name="modify-move" label="modify_move" tooltip="modify_move"
190
        position="601002700" action-command="modify-move" icon="modify-move"
191
        accelerator="" />
192

  
193
      <action name="modify-rotate" label="modify_rotate" tooltip="modify_rotate"
194
        position="601002800" action-command="modify-rotate" icon="modify-rotate"
195
        accelerator="" />
196

  
197
      <action name="modify-duplicate" label="modify_duplicate" tooltip="modify_duplicate"
198
        position="601002900" action-command="modify-duplicate" icon="modify-duplicate"
199
        accelerator="" />
200

  
201
      <action name="modify-measure" label="modify_measure" tooltip="modify_measure"
202
        position="601002910" action-command="modify-measure" icon="modify-measure"
203
        accelerator="" />
204

  
205
      <action name="modify-divide" label="modify_divide" tooltip="modify_divide"
206
        position="601002920" action-command="modify-divide" icon="modify-divide"
207
        accelerator="" />
208

  
209
      <action name="modify-paste-from-clipboard" label="_Modify_paste_from_clipboard" tooltip="_Modify_paste_from_clipboard"
210
        position="601105100" action-command="modify-paste-from-clipboard" icon="modify-paste-from-clipboard"
211
        accelerator="" />
212

  
213
      <action name="modify-split" label="modify_split" tooltip="modify_split"
214
        position="601003000" action-command="modify-split" icon="modify-split"
215
        accelerator="" />
216

  
217
      <action name="modify-split-line" label="modify_split_line" tooltip="modify_split_line"
218
        position="601003050" action-command="modify-split-line" icon="modify-split-line"
219
        accelerator="" />
220

  
221
      <action name="modify-scale" label="modify_scale" tooltip="modify_scale"
222
        position="601003100" action-command="modify-scale" icon="modify-scale"
223
        accelerator="" />
224

  
225
      <action name="modify-simplify" label="modify_simplify" tooltip="modify_simplify"
226
        position="601003200" action-command="modify-simplify" icon="modify-simplify"
227
        accelerator="" />
228

  
229
      <action name="modify-join" label="modify_join" tooltip="modify_join"
230
        position="601003300" action-command="modify-join" icon="modify-join"
231
        accelerator="" />
232

  
233
      <action name="insert-autopolygon" label="insert_autopolygon"
234
        tooltip="insert_autopolygon" position="601003400" action-command="insert-autopolygon"
235
        icon="insert-autopolygon" accelerator="" />
236

  
237
      <action name="modify-stretch" label="modify_stretch" tooltip="modify_stretch"
238
        position="601003500" action-command="modify-stretch" icon="modify-stretch"
239
        accelerator="" />
240

  
241
      <action name="modify-extend-line" label="modify_extend_line"
242
        tooltip="modify_extend_line" position="601003600" action-command="modify-extend-line"
243
        icon="modify-extend-line" accelerator="" />
244

  
245
      <action name="modify-trim-line" label="modify_trim_lines_by_cutting_edges" tooltip="modify_trim_lines_by_cutting_edges"
246
        position="601003700" action-command="modify-trim-line" icon="modify-trim-line"
247
        accelerator="" />
248

  
249
      <action name="modify-trim-polygon" label="modify_trim_polygons" tooltip="modify_trim_polygons"
250
        position="601003800" action-command="modify-trim-polygon" icon="modify-trim-polygon"
251
        accelerator="" />
252

  
253
      <action name="modify-smooth-line" label="modify_smooth_line"
254
        tooltip="modify_smooth_line" position="601003800" action-command="modify-smooth-line"
255
        icon="modify-smooth-line" accelerator="" />
256

  
257
      <action name="modify-edit-vertex" label="modify_edit_vertex"
258
        tooltip="modify_edit_vertex" position="601003900" action-command="modify-edit-vertex"
259
        icon="modify-edit-vertex" accelerator="" />
260

  
261
      <action name="insert-rectangular-matrix" label="insert_rectangular_matrix"
262
        tooltip="insert_rectangular_matrix" position="601004000" action-command="insert-rectangular-matrix"
263
        icon="insert-rectangular-matrix" accelerator="" />
264

  
265
      <action name="insert-polar-matrix" label="insert_polar_matrix"
266
        tooltip="insert_polar_matrix" position="601004100" action-command="insert-polar-matrix"
267
        icon="insert-polar-matrix" accelerator="" />
268

  
269
      <action name="modify-convert-to-polyline" label="modify_convert_to_polyline"
270
        tooltip="modify_convert_to_polyline" position="601004200" action-command="modify-convert-to-polyline"
271
        icon="modify-convert-to-polyline" accelerator="" />
272

  
273
      <action name="modify-reverse-direction" label="modify_reverse_direction"
274
        tooltip="modify_reverse_direction" position="601004300" action-command="modify-reverse-direction"
275
        icon="modify-reverse-direction" accelerator="" />
276

  
277
      <action name="modify-align-edges" label="modify_align_edges"
278
        tooltip="modify_align_edges" position="601004400" action-command="modify-align-edges"
279
        icon="modify-align-edges" accelerator="" />
280

  
281
      <menu text="Layer/Remove/remove_selected_geometries" name="remove" />
282
      <menu text="Layer/Insert/insert_point" name="insert-point" />
283
      <menu text="Layer/Insert/insert_multipoint" name="insert-multipoint" />
284
      <menu text="Layer/Insert/insert_line" name="insert-line" />
285
      <menu text="Layer/Insert/insert_arc" name="insert-arc" />
286
      <menu text="Layer/Insert/insert_arc_by_center" name="insert-arc-by-center" />
287
      <menu text="Layer/Insert/insert_arc_three_points" name="insert-arc-three-points" />
288
      <menu text="Layer/Insert/insert_circle_cr" name="insert-circle-cr" />
289
      <menu text="Layer/Insert/insert_circumference_cr" name="insert-circumference-cr" />
290
      <menu text="Layer/Insert/insert_circle_cd" name="insert-circle-cd" />
291
      <menu text="Layer/Insert/insert_circumference_cd" name="insert-circumference-cd" />
292
      <menu text="Layer/Insert/insert_circle_3p" name="insert-circle-3p" />
293
      <menu text="Layer/Insert/insert_circumference_3p" name="insert-circumference-3p" />
294
      <menu text="Layer/Insert/insert_circle_2p" name="insert-circle-2p" />
295
      <menu text="Layer/Insert/insert_circumference_2p" name="insert-circumference-2p" />
296
      <menu text="Layer/Insert/insert_circle_2tg1p" name="insert-circle-2tg1p" />
297
      <menu text="Layer/Insert/insert_circumference_2tg1p" name="insert-circumference-2tg1p" />
298
      <menu text="Layer/Insert/insert_circle_tantanradius" name="insert-circle-tantanradius" />
299
      <menu text="Layer/Insert/insert_circumference_tantanradius" name="insert-circumference-tantanradius" />
300
      <menu text="Layer/Insert/insert_ellipse" name="insert-ellipse" />
301
      <menu text="Layer/Insert/insert_filled_ellipse" name="insert-filled-ellipse" />
302
      <menu text="Layer/Insert/insert_ellipse_center_axes" name="insert-ellipse-center-axes" />
303
      <menu text="Layer/Insert/insert_filled_ellipse_center_axes" name="insert-filled-ellipse-center-axes" />
304
      <menu text="Layer/Insert/insert_polyline" name="insert-polyline" />
305
      <menu text="Layer/Insert/insert_polygon" name="insert-polygon" />
306
      <menu text="Layer/Insert/insert_regular_polygon" name="insert-regular-polygon" />
307
      <menu text="Layer/Insert/insert_filled_regular_polygon" name="insert-filled-regular-polygon" />
308
      <menu text="Layer/Insert/insert_rectangle" name="insert-rectangle" />
309
      <menu text="Layer/Insert/insert_filled_rectangle" name="insert-filled-rectangle" />
310
      <menu text="Layer/Insert/insert_spline" name="insert-spline" />
311
      <menu text="Layer/Insert/insert_filled_spline" name="insert-filled-spline" />
312
      <menu text="Layer/Insert/insert_rectangular_matrix" name="insert-rectangular-matrix" />
313
      <menu text="Layer/Insert/insert_polar_matrix" name="insert-polar-matrix" />
314
      <menu text="Layer/Insert/insert_autopolygon" name="insert-autopolygon" />
315
      <menu text="Layer/Modify/modify_internal_polygon" name="modify-internal-polygon" />
316
      <menu text="Layer/Modify/modify_explode_geometry" name="modify-explode-geometry" />
317
      <menu text="Layer/Modify/modify_move" name="modify-move" />
318
      <menu text="Layer/Modify/modify_rotate" name="modify-rotate" />
319
      <menu text="Layer/Modify/modify_duplicate" name="modify-duplicate" />
320
      <menu text="Layer/Modify/modify_measure" name="modify-measure" />
321
      <menu text="Layer/Modify/modify_divide" name="modify-divide" />
322
      <menu text="Layer/Modify/_Modify_paste_from_clipboard" name="modify-paste-from-clipboard" />
323
      <menu text="Layer/Modify/modify_split_line" name="modify-split-line" />
324
      <menu text="Layer/Modify/modify_split" name="modify-split" />
325
      <menu text="Layer/Modify/modify_scale" name="modify-scale" />
326
      <menu text="Layer/Modify/modify_simplify" name="modify-simplify" />
327
      <menu text="Layer/Modify/modify_join" name="modify-join" />
328
      <menu text="Layer/Modify/modify_stretch" name="modify-stretch" />
329
      <menu text="Layer/Modify/modify_extend_line" name="modify-extend-line" />
330
      <menu text="Layer/Modify/modify_trim_lines_by_cutting_edges" name="modify-trim-line" />
331
      <menu text="Layer/Modify/modify_trim_polygons" name="modify-trim-polygon" />
332
      <menu text="Layer/Modify/modify_smooth_line" name="modify-smooth-line" />
333
      <menu text="Layer/Modify/modify_edit_vertex" name="modify-edit-vertex" />
334
      <menu text="Layer/Modify/modify_convert_to_polyline" name="modify-convert-to-polyline" />
335
      <menu text="Layer/Modify/modify_reverse_direction" name="modify-reverse-direction" />
336
      <menu text="Layer/Modify/modify_align_edges" name="modify-align-edges" />
337

  
338
      <tool-bar name="vector_editing" position="4000">
339
        <selectable-tool name="remove" />
340
        <selectable-tool name="insert-point" />
341
        <selectable-tool name="insert-multipoint" />
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff