Revision 16171 trunk/extensions/extCatalogAndGazetteer/build.xml
build.xml | ||
---|---|---|
1 |
<project name="extCatalogAndGazetteerClient" default="generate-without-source" basedir=".">
|
|
1 |
<project name="Generar extension en Andami" default="generate-without-source" basedir=".">
|
|
2 | 2 |
<description> |
3 | 3 |
Instala el plugin en Andami |
4 | 4 |
</description> |
5 | 5 |
<!-- set global properties for this build --> |
6 |
<import file="../binaries/ant/utilities.xml"/> |
|
7 | 6 |
<property name="src" location="src"/> |
8 | 7 |
<property name="build" location="bin"/> |
9 |
<property name="build-test" location="bin-test"/> |
|
10 |
<property name="src-test" location="src-test"/> |
|
11 | 8 |
<property name="dist" location="dist"/> |
12 | 9 |
<property name="mainplugin" value="com.iver.cit.gvsig"/> |
13 | 10 |
<property name="gvsiglibjar" value="gvsig-catalogClient"/> |
... | ... | |
27 | 24 |
<property name="catProtocolJarName" value="catCliProto.jar"/> |
28 | 25 |
<property name="andamiJar" location="${andami}/andami.jar"/> |
29 | 26 |
<property name="gvsigJar" location="${extensionsDir}/com.iver.cit.gvsig/lib/com.iver.cit.gvsig.jar"/> |
30 |
<property name="fmapJar" location="../libFMap/dist/lib/fmap.jar" /> |
|
31 | 27 |
<property name="andamiLibs" location="${andami}/lib"/> |
32 | 28 |
<property name="fmapLibs" location="../libFMap/lib" /> |
33 |
<!--<property name="compile-classpath" value="${andamiJar}:${gvsigJar}:${dist}/lib/catCliProto.jar:${andamiLibs}/castor-0.9.5.3-xml.jar:${fmapLibs}/cms.jar:${appCatalogDir}/lib/commons-httpclient-2.0.2.jar:${fmapLibs}/driver-manager-1.1.jar:${fmapJar}:${fmapLibs}/gdbms-0.8-SNAPSHOT.jar:${andamiLibs}/gvsig-i18n.jar:${fmapLibs}/gvsig-exceptions.jar:${andamiLibs}/iver-utiles.jar:${appCatalogDir}/lib/ostermillerutils_1_04_03_for_java_1_4.jar:${dist}/lib/${postgisPlugin}.jar:${fmapLibs}/postgis-jdbc-driver.jar:${fmapLibs}/postgresql-74.213.jar" />--> |
|
29 |
<property name="compile-classpath" value="${andamiJar}:${gvsigJar}:${dist}/lib/catCliProto.jar:${andamiLibs}/castor-0.9.5.3-xml.jar:${fmapLibs}/cms.jar:${appCatalogDir}/lib/commons-httpclient-2.0.2.jar:${fmapLibs}/driver-manager-1.1.jar:${fmapLibs}/fmap.jar:${fmapLibs}/gdbms-0.8-SNAPSHOT.jar:${andamiLibs}/gvsig-i18n.jar:${andamiLibs}/iver-utiles.jar:${appCatalogDir}/lib/ostermillerutils_1_04_03_for_java_1_4.jar:${dist}/lib/${postgisPlugin}.jar:${fmapLibs}/postgis-jdbc-driver.jar:${fmapLibs}/postgresql-74.213.jar" /> |
|
30 |
<property name="JavaSourceVersion" value="1.4"/> |
|
31 |
<property name="JavaTargetVersion" value="1.4"/> |
|
32 |
<property name="encoding" value="ISO_8859_1"/> |
|
34 | 33 |
|
35 | 34 |
|
36 | 35 |
|
... | ... | |
155 | 154 |
</target> |
156 | 155 |
|
157 | 156 |
<target name="call-appCatalog-build"> |
158 |
<ant dir="${appCatalogDir}" inheritAll="false"> |
|
157 |
<ant dir="${appCatalogDir}" target="batch-build" inheritAll="false">
|
|
159 | 158 |
<property name="targetDir" location="${dist}/lib"/> |
160 | 159 |
<property name="jarName" value="catCliProto.jar"/> |
161 | 160 |
<property name="andamiLibs" value="${andamiLibs}"/> |
... | ... | |
168 | 167 |
<mkdir dir="${build}" /> |
169 | 168 |
<mkdir dir="${dist}/lib" /> |
170 | 169 |
<jar jarfile="${dist}/lib/${remoteClientPlugin}.jar" basedir="${remoteClientsDir}/bin"/> |
171 |
<antcall target="gvSIG-import-build-number"/> |
|
172 |
<loadEclipseClasspath project="${basedir}"/> |
|
173 |
<gvSIG-javac |
|
174 |
classpath="${eclipseClasspath}" |
|
175 |
/> |
|
176 |
<!--<javac srcdir="${src}" |
|
170 |
<javac srcdir="${src}" |
|
177 | 171 |
destdir="${build}" |
178 | 172 |
source="${JavaSourceVersion}" |
179 | 173 |
target="${JavaTargetVersion}" |
180 | 174 |
debug="${debug}" |
181 | 175 |
debuglevel="${debuglevel}" |
182 | 176 |
classpath="${compile-classpath}" |
183 |
encoding="${encoding}"/>-->
|
|
177 |
encoding="${encoding}"/>
|
|
184 | 178 |
</target> |
185 | 179 |
|
186 | 180 |
<target name="create-jar" |
... | ... | |
190 | 184 |
<jar jarfile="${dist}/lib/${gazzetterPlugin}.jar" basedir="${build}" includes="es/gva/cit/gvsig/gazetteer/**"/> |
191 | 185 |
</target> |
192 | 186 |
|
193 |
<target name="copy-data-files">
|
|
187 |
<target name="copy-data-files"> |
|
194 | 188 |
<copy file="config/config.xml" todir="${dist}"/> |
195 | 189 |
<copy file="build.number" todir="${dist}"/> |
196 | 190 |
<copy file="config/about.htm" todir="${dist}"/> |
... | ... | |
243 | 237 |
<target name="clean-orig" |
244 | 238 |
description="clean up" > |
245 | 239 |
<!-- Delete the ${build} and ${dist} directory trees --> |
246 |
</target> |
|
247 | 240 |
|
248 |
<target name="run-tests" depends="batch-build,compile-tests"> |
|
249 |
<antcall target="generic-run-tests"> |
|
250 |
<param name="TestSuite.Name" value="es.gva.cit.gvsig.gazetteer.AllTests"/> |
|
251 |
</antcall> |
|
241 |
|
|
252 | 242 |
</target> |
253 | 243 |
<target name="distribution" |
254 | 244 |
description="increment build number and generate the distribution without the source file" |
Also available in: Unified diff