Revision 1422
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/org.gvsig.raster.wmts.swing.impl/target/org.gvsig.maven.base.tools/gvsig.header | ||
---|---|---|
1 |
gvSIG. Geographic Information System of the Valencian Government |
|
2 |
|
|
3 |
Copyright (C) 2007-2008 Infrastructures and Transports Department |
|
4 |
of the Valencian Government (CIT) |
|
5 |
|
|
6 |
This program is free software; you can redistribute it and/or |
|
7 |
modify it under the terms of the GNU General Public License |
|
8 |
as published by the Free Software Foundation; either version 2 |
|
9 |
of the License, or (at your option) any later version. |
|
10 |
|
|
11 |
This program is distributed in the hope that it will be useful, |
|
12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
GNU General Public License for more details. |
|
15 |
|
|
16 |
You should have received a copy of the GNU General Public License |
|
17 |
along with this program; if not, write to the Free Software |
|
18 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
MA 02110-1301, USA. |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/org.gvsig.raster.wmts.swing.impl/target/org.gvsig.maven.base.tools/META-INF/maven/org.gvsig/org.gvsig.maven.base.tools/pom.properties | ||
---|---|---|
1 |
#Generated by Maven |
|
2 |
#Thu Dec 15 17:47:45 CET 2011 |
|
3 |
version=1.0.8-SNAPSHOT |
|
4 |
groupId=org.gvsig |
|
5 |
artifactId=org.gvsig.maven.base.tools |
|
0 | 6 |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/org.gvsig.raster.wmts.swing.impl/target/org.gvsig.maven.base.tools/META-INF/maven/org.gvsig/org.gvsig.maven.base.tools/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
|
|
3 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
4 |
|
|
5 |
<modelVersion>4.0.0</modelVersion> |
|
6 |
<artifactId>org.gvsig.maven.base.tools</artifactId> |
|
7 |
<packaging>jar</packaging> |
|
8 |
<name>org.gvsig.maven.base.tools</name> |
|
9 |
<description>Maven build utilities for gvSIG</description> |
|
10 |
<parent> |
|
11 |
<groupId>org.gvsig</groupId> |
|
12 |
<artifactId>org.gvsig.maven.base</artifactId> |
|
13 |
<version>1.0.8-SNAPSHOT</version> |
|
14 |
</parent> |
|
15 |
</project> |
|
0 | 16 |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/org.gvsig.raster.wmts.swing.impl/target/maven-archiver/pom.properties | ||
---|---|---|
1 |
#Generated by Maven |
|
2 |
#Mon Jan 23 13:01:12 CET 2012 |
|
3 |
version=2.0.0-SNAPSHOT |
|
4 |
groupId=org.gvsig |
|
5 |
artifactId=org.gvsig.raster.wmts.swing.impl |
|
0 | 6 |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/org.gvsig.raster.wmts.swing.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library | ||
---|---|---|
1 |
org.gvsig.raster.wmts.swing.impl.WMTSSwingImplLibrary |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/target/org.gvsig.maven.base.tools/bash/unpack-dependencies.sh | ||
---|---|---|
1 |
#!/bin/bash |
|
2 |
|
|
3 |
#set -x |
|
4 |
|
|
5 |
dep_dir=$1; |
|
6 |
dest_dir=$2; |
|
7 |
|
|
8 |
if [ ! -d $dest_dir ]; then mkdir $dest_dir; fi; |
|
9 |
if [ ! -d $dep_dir ]; then exit 0; fi |
|
10 |
|
|
11 |
if [ ! -d $dest_dir/unpacked ]; then |
|
12 |
mkdir $dest_dir/unpacked; |
|
13 |
fi |
|
14 |
|
|
15 |
# Get all natives sdk bundle files |
|
16 |
files=$(find $dep_dir -type f -name *.tar.gz) |
|
17 |
|
|
18 |
for i in $files; do |
|
19 |
filename=`basename $i` |
|
20 |
filedest="$dest_dir/unpacked/$filename" |
|
21 |
|
|
22 |
#echo FileName: "$filename" |
|
23 |
#echo FileDest: "$filedest" |
|
24 |
|
|
25 |
# Overwrite only if the file is newer than the one stored as unpacked |
|
26 |
if [ ! -f "$filedest" ] || [ "$i" -nt "$filedest" ]; then |
|
27 |
echo "Expanding $i in $dest_dir" |
|
28 |
cp "$i" "$dest_dir/unpacked" |
|
29 |
tar xzf "$i" -C "$dest_dir" |
|
30 |
else |
|
31 |
echo "$i not newer than the one available in $dest_dir/unpacked, not expanding it" |
|
32 |
fi |
|
33 |
done |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/target/org.gvsig.maven.base.tools/checkstyle/gvsig.header | ||
---|---|---|
1 |
?/\* gvSIG\. Geographic Information System of the Valencian Government *$ |
|
2 |
?\* *$ |
|
3 |
?\* Copyright \(C\) 20\d\d-20\d\d Infrastructures and Transports Department *$ |
|
4 |
?\* of the Valencian Government \(CIT\) *$ |
|
5 |
?\* *$ |
|
6 |
?\* This program is free software; you can redistribute it and/or *$ |
|
7 |
?\* modify it under the terms of the GNU General Public License *$ |
|
8 |
?\* as published by the Free Software Foundation; either version 2 *$ |
|
9 |
?\* of the License, or \(at your option\) any later version\. *$ |
|
10 |
?\* *$ |
|
11 |
?\* This program is distributed in the hope that it will be useful, *$ |
|
12 |
?\* but WITHOUT ANY WARRANTY; without even the implied warranty of *$ |
|
13 |
?\* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\. See the *$ |
|
14 |
?\* GNU General Public License for more details\. *$ |
|
15 |
?\* *$ |
|
16 |
?\* You should have received a copy of the GNU General Public License *$ |
|
17 |
?\* along with this program; if not, write to the Free Software *$ |
|
18 |
?\* Foundation, Inc\., 51 Franklin Street, Fifth Floor, Boston, *$ |
|
19 |
?\* MA 02110-1301, USA\. *$ |
|
20 |
?\* *$ |
|
21 |
?\*/ *$ |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/target/org.gvsig.maven.base.tools/checkstyle/checkstyle_gvsig.xml | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
2 |
<!DOCTYPE module PUBLIC |
|
3 |
"-//Puppy Crawl//DTD Check Configuration 1.2//EN" |
|
4 |
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> |
|
5 |
|
|
6 |
<!-- |
|
7 |
|
|
8 |
Checkstyle configuration that checks the sun coding conventions from: |
|
9 |
|
|
10 |
- the Java Language Specification at |
|
11 |
http://java.sun.com/docs/books/jls/second_edition/html/index.html |
|
12 |
|
|
13 |
- the Sun Code Conventions at http://java.sun.com/docs/codeconv/ |
|
14 |
|
|
15 |
- the Javadoc guidelines at |
|
16 |
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html |
|
17 |
|
|
18 |
- the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html |
|
19 |
|
|
20 |
- some best practices |
|
21 |
|
|
22 |
Checkstyle is very configurable. Be sure to read the documentation at |
|
23 |
http://checkstyle.sf.net (or in your downloaded distribution). |
|
24 |
|
|
25 |
Most Checks are configurable, be sure to consult the documentation. |
|
26 |
|
|
27 |
To completely disable a check, just comment it out or delete it from the file. |
|
28 |
|
|
29 |
Finally, it is worth reading the documentation. |
|
30 |
|
|
31 |
--> |
|
32 |
|
|
33 |
<module name="Checker"> |
|
34 |
<!-- |
|
35 |
If you set the basedir property below, then all reported file |
|
36 |
names will be relative to the specified directory. See |
|
37 |
http://checkstyle.sourceforge.net/5.x/config.html#Checker |
|
38 |
|
|
39 |
<property name="basedir" value="${basedir}"/> |
|
40 |
--> |
|
41 |
<!-- gvSIG: All project files have the ISO-8859-1 charset --> |
|
42 |
<property name="charset" value="ISO-8859-1" /> |
|
43 |
|
|
44 |
<!-- Checks that a package-info.java file exists for each package. --> |
|
45 |
<!-- See http://checkstyle.sf.net/config_javadoc.html#JavadocPackage --> |
|
46 |
<module name="JavadocPackage"> |
|
47 |
<property name="allowLegacy" value="true" /> |
|
48 |
</module> |
|
49 |
|
|
50 |
<!-- Checks whether files end with a new line. --> |
|
51 |
<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile --> |
|
52 |
<module name="NewlineAtEndOfFile"/> |
|
53 |
|
|
54 |
<!-- Checks that property files contain the same keys. --> |
|
55 |
<!-- See http://checkstyle.sf.net/config_misc.html#Translation --> |
|
56 |
<module name="Translation"/> |
|
57 |
|
|
58 |
<!-- Checks for Size Violations. --> |
|
59 |
<!-- See http://checkstyle.sf.net/config_sizes.html --> |
|
60 |
<module name="FileLength"/> |
|
61 |
|
|
62 |
<!-- Checks for whitespace --> |
|
63 |
<!-- See http://checkstyle.sf.net/config_whitespace.html --> |
|
64 |
<module name="FileTabCharacter"/> |
|
65 |
|
|
66 |
|
|
67 |
<module name="TreeWalker"> |
|
68 |
|
|
69 |
<!-- Miscellaneous other checks. --> |
|
70 |
<!-- See http://checkstyle.sf.net/config_misc.html --> |
|
71 |
<!-- gvSIG: apply only to java files --> |
|
72 |
<module name="RegexpSinglelineJava"> |
|
73 |
<property name="format" value="\s+$"/> |
|
74 |
<property name="minimum" value="0"/> |
|
75 |
<property name="maximum" value="0"/> |
|
76 |
<property name="message" value="Line has trailing spaces."/> |
|
77 |
<property name="ignoreComments" value="true"/> |
|
78 |
</module> |
|
79 |
|
|
80 |
<!-- Checks for Javadoc comments. --> |
|
81 |
<!-- See http://checkstyle.sf.net/config_javadoc.html --> |
|
82 |
<!-- |
|
83 |
gvSIG rule 3: All protected or public classes must have a Javadoc comments, |
|
84 |
except getters and setters |
|
85 |
--> |
|
86 |
<module name="JavadocMethod"> |
|
87 |
<property name="scope" value="protected" /> |
|
88 |
<property name="allowMissingPropertyJavadoc" value="true" /> |
|
89 |
</module> |
|
90 |
<!-- |
|
91 |
gvSIG rule 9: All classes must have a Javadoc comment |
|
92 |
with the "@author tag" and the "@version $Id$" tag included |
|
93 |
--> |
|
94 |
<module name="JavadocType"> |
|
95 |
<property name="scope" value="private" /> |
|
96 |
<property name="authorFormat" value="\S" /> |
|
97 |
<property name="versionFormat" value="\$Id.*\$"/> |
|
98 |
</module> |
|
99 |
<module name="JavadocVariable"> |
|
100 |
<property name="scope" value="protected" /> |
|
101 |
</module> |
|
102 |
<!-- gvSIG rule 3: Check correctly formatted Javadoc --> |
|
103 |
<module name="JavadocStyle"> |
|
104 |
<property name="scope" value="protected" /> |
|
105 |
</module> |
|
106 |
|
|
107 |
|
|
108 |
<!-- Checks for Naming Conventions. --> |
|
109 |
<!-- See http://checkstyle.sf.net/config_naming.html --> |
|
110 |
<module name="ConstantName"/> |
|
111 |
<module name="LocalFinalVariableName"/> |
|
112 |
<module name="LocalVariableName"/> |
|
113 |
<module name="MemberName"/> |
|
114 |
<module name="MethodName"/> |
|
115 |
<!-- gvSIG rule 15: All packages must begin with org.gvsig. --> |
|
116 |
<module name="PackageName"> |
|
117 |
<property name="format" value="^org\.gvsig(\.[a-z][a-z0-9]*)+$" /> |
|
118 |
</module> |
|
119 |
<!-- gvSIG advised rule 1: Abstract class names must begin with Abstract. --> |
|
120 |
<!-- module name="AbstractClassName" /--> |
|
121 |
<module name="ParameterName"/> |
|
122 |
<module name="StaticVariableName"/> |
|
123 |
<module name="TypeName"/> |
|
124 |
|
|
125 |
<!-- Checks for imports --> |
|
126 |
<!-- See http://checkstyle.sf.net/config_import.html --> |
|
127 |
<module name="AvoidStarImport"/> |
|
128 |
<module name="IllegalImport"/> <!-- defaults to sun.* packages --> |
|
129 |
<module name="RedundantImport"/> |
|
130 |
<module name="UnusedImports"/> |
|
131 |
|
|
132 |
|
|
133 |
<!-- Checks for Size Violations. --> |
|
134 |
<!-- See http://checkstyle.sf.net/config_sizes.html --> |
|
135 |
<module name="LineLength"/> |
|
136 |
<module name="MethodLength"/> |
|
137 |
<module name="ParameterNumber"/> |
|
138 |
|
|
139 |
|
|
140 |
<!-- Checks for whitespace --> |
|
141 |
<!-- See http://checkstyle.sf.net/config_whitespace.html --> |
|
142 |
<module name="EmptyForIteratorPad"/> |
|
143 |
<module name="GenericWhitespace"/> |
|
144 |
<module name="MethodParamPad"/> |
|
145 |
<module name="NoWhitespaceAfter"/> |
|
146 |
<module name="NoWhitespaceBefore"/> |
|
147 |
<module name="OperatorWrap"/> |
|
148 |
<module name="ParenPad"/> |
|
149 |
<module name="TypecastParenPad"/> |
|
150 |
<module name="WhitespaceAfter"/> |
|
151 |
<module name="WhitespaceAround"/> |
|
152 |
|
|
153 |
|
|
154 |
<!-- Modifier Checks --> |
|
155 |
<!-- See http://checkstyle.sf.net/config_modifiers.html --> |
|
156 |
<module name="ModifierOrder"/> |
|
157 |
<module name="RedundantModifier"/> |
|
158 |
|
|
159 |
|
|
160 |
<!-- Checks for blocks. You know, those {}'s --> |
|
161 |
<!-- See http://checkstyle.sf.net/config_blocks.html --> |
|
162 |
<module name="AvoidNestedBlocks"/> |
|
163 |
<module name="EmptyBlock"/> |
|
164 |
<module name="LeftCurly"/> |
|
165 |
<module name="NeedBraces"/> |
|
166 |
<module name="RightCurly"/> |
|
167 |
|
|
168 |
|
|
169 |
<!-- Checks for common coding problems --> |
|
170 |
<!-- See http://checkstyle.sf.net/config_coding.html --> |
|
171 |
<module name="AvoidInlineConditionals"/> |
|
172 |
<module name="DoubleCheckedLocking"/> <!-- MY FAVOURITE --> |
|
173 |
<module name="EmptyStatement"/> |
|
174 |
<module name="EqualsHashCode"/> |
|
175 |
<module name="HiddenField"/> |
|
176 |
<module name="IllegalInstantiation"/> |
|
177 |
<module name="InnerAssignment"/> |
|
178 |
<module name="MagicNumber"/> |
|
179 |
<module name="MissingSwitchDefault"/> |
|
180 |
<module name="RedundantThrows"/> |
|
181 |
<module name="SimplifyBooleanExpression"/> |
|
182 |
<module name="SimplifyBooleanReturn"/> |
|
183 |
|
|
184 |
<!-- gvSIG: Check for some common programming errors --> |
|
185 |
<module name="CovariantEquals" /> |
|
186 |
<module name="StringLiteralEquality" /> |
|
187 |
|
|
188 |
<!-- Checks for class design --> |
|
189 |
<!-- See http://checkstyle.sf.net/config_design.html --> |
|
190 |
<module name="DesignForExtension"/> |
|
191 |
<module name="FinalClass"/> |
|
192 |
<module name="HideUtilityClassConstructor"/> |
|
193 |
<module name="InterfaceIsType"/> |
|
194 |
<module name="VisibilityModifier"/> |
|
195 |
|
|
196 |
|
|
197 |
<!-- Miscellaneous other checks. --> |
|
198 |
<!-- See http://checkstyle.sf.net/config_misc.html --> |
|
199 |
<module name="ArrayTypeStyle"/> |
|
200 |
<!-- gvSIG: removed --> |
|
201 |
<!-- module name="FinalParameters"/--> |
|
202 |
<module name="TodoComment"/> |
|
203 |
<module name="UpperEll"/> |
|
204 |
|
|
205 |
<!-- gvSIG rule 2: Sun style with 4 spaces --> |
|
206 |
<module name="Indentation"> |
|
207 |
<property name="basicOffset" value="4"/> |
|
208 |
<property name="caseIndent" value="0"/> |
|
209 |
</module> |
|
210 |
|
|
211 |
<!-- gvSIG rule 10: Do not use System.out/err to log --> |
|
212 |
<module name="Regexp"> |
|
213 |
<!-- . matches any character, so we need to escape it and use \. |
|
214 |
to match dots.--> |
|
215 |
<property name="format" value="System\.[out|err]\.println"/> |
|
216 |
<property name="illegalPattern" value="true"/> |
|
217 |
</module> |
|
218 |
|
|
219 |
<!-- gvSIG rule 11: Try to avoid catching Throwable or |
|
220 |
Exception and catch specific exceptions instead. --> |
|
221 |
<module name="IllegalCatch"/> |
|
222 |
|
|
223 |
<!-- gvSIG rule 13: Use interfaces in the declaration of |
|
224 |
methods and variables. |
|
225 |
By default only avoids usage of Classes: |
|
226 |
"java.util.GregorianCalendar, java.util.Hashtable, |
|
227 |
java.util.HashSet, java.util.HashMap, java.util.ArrayList, |
|
228 |
java.util.LinkedList, java.util.LinkedHashMap, |
|
229 |
java.util.LinkedHashSet, java.util.TreeSet, |
|
230 |
java.util.TreeMap, java.util.Vector" --> |
|
231 |
<module name="IllegalType"> |
|
232 |
<property name="ignoredMethodNames" value="getInstance"/> |
|
233 |
</module> |
|
234 |
|
|
235 |
</module> |
|
236 |
|
|
237 |
<!-- gvSIG rule 1: check for the gvSIG header --> |
|
238 |
<module name="RegexpHeader"> |
|
239 |
<!-- The follow property value demonstrates the ability --> |
|
240 |
<!-- to have access to ANT properties. In this case it uses --> |
|
241 |
<!-- the ${basedir} property to allow Checkstyle to be run --> |
|
242 |
<!-- from any directory within a project. See property --> |
|
243 |
<!-- expansion, --> |
|
244 |
<!-- http://checkstyle.sf.net/config.html#properties --> |
|
245 |
<property name="headerFile" value="${checkstyle.header.file}" /> |
|
246 |
|
|
247 |
</module> |
|
248 |
|
|
249 |
</module> |
|
0 | 250 |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/target/org.gvsig.maven.base.tools/assembly/native.xml | ||
---|---|---|
1 |
<assembly> |
|
2 |
<id>${native-classifier}</id> |
|
3 |
<formats> |
|
4 |
<format>tar.gz</format> |
|
5 |
</formats> |
|
6 |
<baseDirectory></baseDirectory> |
|
7 |
<fileSets> |
|
8 |
<fileSet> |
|
9 |
<directory>${project.build.directory}/target_cmake_product</directory> |
|
10 |
<includes> |
|
11 |
<include>**/**</include> |
|
12 |
</includes> |
|
13 |
<outputDirectory>/</outputDirectory> |
|
14 |
</fileSet> |
|
15 |
</fileSets> |
|
16 |
</assembly> |
|
0 | 17 |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/target/org.gvsig.maven.base.tools/ant/depman-ant.xml | ||
---|---|---|
1 |
<project name="Native Build System" default="native" basedir="."> |
|
2 |
|
|
3 |
<import file="utilities.xml" /> |
|
4 |
|
|
5 |
<target name="generate"> |
|
6 |
<cmake args="-DCMAKE_INSTALL_PREFIX='${project.build.directory}/target_cmake_product'" /> |
|
7 |
</target> |
|
8 |
|
|
9 |
<target name="build"> |
|
10 |
<make-install numProc="${numProc}" /> |
|
11 |
</target> |
|
12 |
|
|
13 |
<target name="native" depends="build" /> |
|
14 |
|
|
15 |
<target name="native-eclipse" depends="generate" /> |
|
16 |
|
|
17 |
</project> |
|
18 |
|
|
0 | 19 |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/target/org.gvsig.maven.base.tools/ant/utilities.xml | ||
---|---|---|
1 |
<project name="ant_libs"> |
|
2 |
<dirname file="${ant.file.ant_libs}" property="ant.file.ant_libs.dir"/> |
|
3 |
|
|
4 |
<!-- |
|
5 |
==================================== |
|
6 |
Compilation base properties |
|
7 |
==================================== |
|
8 |
--> |
|
9 |
<property name="JUNIT_HOME" location="${ant.file.ant_libs.dir}" /> |
|
10 |
<property name="JavaSourceVersion" value="1.5"/> |
|
11 |
<property name="JavaTargetVersion" value="1.5"/> |
|
12 |
<property name="debug" value="on"/> |
|
13 |
<property name="debuglevel" value="lines, vars, source"/> |
|
14 |
<property name="encoding" value="ISO_8859_1"/> |
|
15 |
<property name="workspaceDir" location="${ant.file.ant_libs.dir}/../.."/> |
|
16 |
<property name="workspace_loc" location="${workspaceDir}"/> |
|
17 |
<property name="binaries_loc" location="${workspace_loc}/binaries"/> |
|
18 |
<property name="dependencies_loc" location="${binaries_loc}/dependencies"/> |
|
19 |
<property name="lib_loc" location="${binaries_loc}/lib"/> |
|
20 |
<property name="unixOS" value="Linux,SunOS,Solaris,Mac OS X" /> |
|
21 |
|
|
22 |
|
|
23 |
<!-- Macros to call the usual maven 2 goals from ant --> |
|
24 |
<macrodef name="mvn"> |
|
25 |
<attribute name="arg" /> |
|
26 |
<sequential> |
|
27 |
<exec executable="${workspaceDir}/build/maven/bin/mvn" failonerror="true" os="${unixOS}"> |
|
28 |
<arg line="@{arg}"/> |
|
29 |
</exec> |
|
30 |
<exec executable="cmd" os="windows"> |
|
31 |
<arg value="/c"/> |
|
32 |
<arg value="${workspaceDir}/build/maven/bin/mvn.bat"/> |
|
33 |
<arg value="@{arg}"/> |
|
34 |
</exec> |
|
35 |
</sequential> |
|
36 |
</macrodef> |
|
37 |
|
|
38 |
<macrodef name="mvn-clean"> |
|
39 |
<sequential> |
|
40 |
<mvn arg="clean"/> |
|
41 |
</sequential> |
|
42 |
</macrodef> |
|
43 |
|
|
44 |
<macrodef name="mvn-compile"> |
|
45 |
<sequential> |
|
46 |
<mvn arg="compile"/> |
|
47 |
</sequential> |
|
48 |
</macrodef> |
|
49 |
|
|
50 |
<macrodef name="mvn-install"> |
|
51 |
<attribute name="tofile" /> |
|
52 |
<attribute name="mvnJarName"/> |
|
53 |
<attribute name="disable-tests" default="false" /> |
|
54 |
<sequential> |
|
55 |
<mvn arg="install"/> |
|
56 |
<copy tofile="@{tofile}" file="target/@{mvnJarName}"/> |
|
57 |
</sequential> |
|
58 |
</macrodef> |
|
59 |
|
|
60 |
<macrodef name="mvn-install-no-tests"> |
|
61 |
<attribute name="tofile" /> |
|
62 |
<attribute name="mvnJarName"/> |
|
63 |
<attribute name="disable-tests" default="false" /> |
|
64 |
<sequential> |
|
65 |
<mvn arg="-Dmaven.test.skip=true install"/> |
|
66 |
<copy tofile="@{tofile}" file="target/@{mvnJarName}"/> |
|
67 |
</sequential> |
|
68 |
</macrodef> |
|
69 |
|
|
70 |
<macrodef name="mvn-javadoc"> |
|
71 |
<sequential> |
|
72 |
<mvn arg="javadoc:javadoc"/> |
|
73 |
</sequential> |
|
74 |
</macrodef> |
|
75 |
|
|
76 |
|
|
77 |
<!-- Macros to call the usual cmake goals from ant --> |
|
78 |
<property name="target" value="target/target_cmake"/> |
|
79 |
<property name="cmakeExe" value="cmake"/> |
|
80 |
<property name="buildman.executable" location="${workspaceDir}/build/buildman/bin/bmn.py" /> |
|
81 |
|
|
82 |
<macrodef name="cmake"> |
|
83 |
<attribute name="install-dependencies" default="OFF"/> |
|
84 |
<attribute name="cmake-build-type" default="Release"/> |
|
85 |
<attribute name="args" default=""/> |
|
86 |
<sequential> |
|
87 |
<mkdir dir="${target}" /> |
|
88 |
<delete file="${target}/CMakeCache.txt"/> |
|
89 |
<exec dir="${target}" executable="${cmakeExe}" failonerror="true" os="${unixOS}"> |
|
90 |
<arg value="-GUnix Makefiles" /> |
|
91 |
<arg value="-DCMAKE_BUILD_TYPE=@{cmake-build-type}" /> |
|
92 |
<arg value="-DINSTALL_DEPENDENCIES=@{install-dependencies}"/> |
|
93 |
<arg line="@{args}"/> |
|
94 |
<arg value="../../" /> |
|
95 |
</exec> |
|
96 |
<exec dir="${target}" executable="${cmakeExe}" failonerror="true" osfamily="windows"> |
|
97 |
<arg value="-GNMake Makefiles" /> |
|
98 |
<arg value="-DCMAKE_BUILD_TYPE=@{cmake-build-type}" /> |
|
99 |
<arg value="-DINSTALL_DEPENDENCIES=@{install-dependencies}"/> |
|
100 |
<arg line="@{args}"/> |
|
101 |
<arg value="..\\..\\" /> |
|
102 |
</exec> |
|
103 |
</sequential> |
|
104 |
</macrodef> |
|
105 |
|
|
106 |
<macrodef name="make-install"> |
|
107 |
<attribute name="numProc" default="2"/> |
|
108 |
<sequential> |
|
109 |
<exec dir="${target}" executable="make" failonerror="true" os="${unixOS}"> |
|
110 |
<arg value="-j@{numProc}"/> |
|
111 |
<arg value="install"/> |
|
112 |
</exec> |
|
113 |
<exec dir="${target}" executable="nmake" failonerror="true" osfamily="windows"> |
|
114 |
<arg value="install"/> |
|
115 |
</exec> |
|
116 |
</sequential> |
|
117 |
</macrodef> |
|
118 |
<macrodef name="buildman"> |
|
119 |
<attribute name="goal"/> |
|
120 |
<attribute name="args" default=""/> |
|
121 |
<sequential> |
|
122 |
<exec executable="python" failonerror="true" > |
|
123 |
<arg value="${buildman.executable}" /> |
|
124 |
<arg value="@{goal}" /> |
|
125 |
<arg line="@{args}" /> |
|
126 |
</exec> |
|
127 |
</sequential> |
|
128 |
</macrodef> |
|
129 |
</project> |
|
130 |
|
|
131 |
|
|
132 |
|
|
0 | 133 |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/target/org.gvsig.maven.base.tools/ant/gvsig-extension-tasks.xml | ||
---|---|---|
1 |
<project name="gvSIG-extension-tasks" default="make-extension-new"> |
|
2 |
<description> |
|
3 |
Ant tasks for extension installation |
|
4 |
</description> |
|
5 |
|
|
6 |
<!-- gvSIG extension targets --> |
|
7 |
<condition property="isJar"> |
|
8 |
<equals arg1="${project.packaging}" arg2="jar" /> |
|
9 |
</condition> |
|
10 |
|
|
11 |
<target name="check-file" if="isJar"> |
|
12 |
<available file="target/${distribution-final-name}-distribution/${distribution-final-name}" type="dir" |
|
13 |
property="distribution.present"/> |
|
14 |
|
|
15 |
</target> |
|
16 |
|
|
17 |
<target name="make-extension-new" if="distribution.present" depends="check-file"> |
|
18 |
<echo message="======================== Copying extension files to extensions dir..." /> |
|
19 |
<copy todir="${gvsig.install.dir}"> |
|
20 |
<fileset dir="target/${distribution-final-name}-distribution/${distribution-final-name}" includes="**/**" /> |
|
21 |
</copy> |
|
22 |
</target> |
|
23 |
</project> |
|
0 | 24 |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/org.gvsig.raster.wmts.swing.api/target/org.gvsig.maven.base.tools/META-INF/maven/org.gvsig/org.gvsig.maven.base.tools/pom.properties | ||
---|---|---|
1 |
#Generated by Maven |
|
2 |
#Thu Dec 15 17:47:45 CET 2011 |
|
3 |
version=1.0.8-SNAPSHOT |
|
4 |
groupId=org.gvsig |
|
5 |
artifactId=org.gvsig.maven.base.tools |
|
0 | 6 |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/org.gvsig.raster.wmts.swing.api/target/org.gvsig.maven.base.tools/META-INF/maven/org.gvsig/org.gvsig.maven.base.tools/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
|
|
3 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
4 |
|
|
5 |
<modelVersion>4.0.0</modelVersion> |
|
6 |
<artifactId>org.gvsig.maven.base.tools</artifactId> |
|
7 |
<packaging>jar</packaging> |
|
8 |
<name>org.gvsig.maven.base.tools</name> |
|
9 |
<description>Maven build utilities for gvSIG</description> |
|
10 |
<parent> |
|
11 |
<groupId>org.gvsig</groupId> |
|
12 |
<artifactId>org.gvsig.maven.base</artifactId> |
|
13 |
<version>1.0.8-SNAPSHOT</version> |
|
14 |
</parent> |
|
15 |
</project> |
|
0 | 16 |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.ogc/org.gvsig.raster.wmts.ogc.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library | ||
---|---|---|
1 |
org.gvsig.raster.wmts.ogc.impl.WMTSOGCImplLibrary |
Also available in: Unified diff