svn-gvsig-desktop / tags / v1_1_2_Build_1044 / applications / appCatalogAndGazetteerClient / build.xml @ 44549
History | View | Annotate | Download (4.16 KB)
1 |
<project name="Generar extension en Andami" default="build-for-eclipse" basedir="."> |
---|---|
2 |
<description>
|
3 |
Instala el plugin en Andami |
4 |
</description>
|
5 |
<!-- set global properties for this build -->
|
6 |
<property name="fmap" location="../libFMap"/> |
7 |
<property name="andami" location="../_fwAndami"/> |
8 |
<property name="gpe" location="../extGPE-gvSIG"/> |
9 |
<property name="build" location="bin"/> |
10 |
<property name="src" location="src"/> |
11 |
<property name="dist" location="dist"/> |
12 |
<property name="lib" location="lib"/> |
13 |
<property name="andamiLibs" location="${andami}/lib"/> |
14 |
<property name="fmapLibs" location="${fmap}/lib"/> |
15 |
<property name="gpeLibs" location="${gpe}/lib"/> |
16 |
<property name="targetDir" location="../extCatalogAndGazetteer/dist/lib"/> |
17 |
<property name="jarName" value="catCliProto.jar"/> |
18 |
<!--<property name="compile-classpath" value="${lib}/a2j_v2-2.0.9.jar:${lib}/a2jruntime.jar:${lib}/activation.jar:${lib}/commons-beanutils.jar:${lib}/commons-codec.jar:${lib}/commons-httpclient-2.0.2.jar:${lib}/commons-logging.jar:${lib}/cql-java-1.0.0.jar:${lib}/junit.jar:${lib}/jzkit2_core-2.0.0.jar:${lib}/jzkit2_z3950_plugin-2.0.0.jar:${lib}/log4j-1.2.4.jar:${lib}/mail.jar:${lib}/soap.jar:${lib}/ostermillerutils_1_04_03_for_java_1_4.jar:${lib}/spring.jar:${lib}/xalan.jar:${lib}/amic-util.jar:${andamiLibs}/xerces_2_5_0.jar:${andamiLibs}/iver-utiles.jar:${andamiLibs}/gvsig-i18n.jar"/>-->
|
19 |
<property name="compile-classpath" value="${lib}/a2j_v2-2.0.9.jar:${lib}/a2jruntime.jar:${lib}/activation.jar:${lib}/commons-beanutils.jar:${lib}/commons-codec.jar:${lib}/commons-httpclient-2.0.2.jar:${lib}/commons-logging.jar:${lib}/cql-java-1.0.0.jar:${lib}/junit.jar:${lib}/jzkit2_core-2.0.0.jar:${lib}/jzkit2_z3950_plugin-2.0.0.jar:${lib}/log4j-1.2.4.jar:${lib}/mail.jar:${lib}/soap.jar:${lib}/ostermillerutils_1_04_03_for_java_1_4.jar:${lib}/spring.jar:${lib}/xalan.jar:${lib}/amic-util.jar:${andamiLibs}/xerces_2_5_0.jar:${andamiLibs}/iver-utiles.jar:${andamiLibs}/gvsig-i18n.jar:${fmapLibs}/remote-clients.jar:${fmapLibs}/jtsio-1.7.jar:${fmapLibs}/jts-1.7.jar:${gpeLibs}/org.gvsig.gpe.jar:${gpeLibs}/gvsig-exceptions.jar:${gpeLibs}/org.gvsig.gpe.gml.jar"/> |
20 |
<property name="JavaSourceVersion" value="1.4"/> |
21 |
<property name="JavaTargetVersion" value="1.4"/> |
22 |
<property name="encoding" value="ISO_8859_1"/> |
23 |
|
24 |
|
25 |
<target name="init"> |
26 |
<!-- Create the time stamp -->
|
27 |
<tstamp/> |
28 |
<!-- Create the build directory structure used by compile -->
|
29 |
<buildnumber/> |
30 |
</target>
|
31 |
|
32 |
<target name="import-build-number"> |
33 |
<copy todir="."> |
34 |
<fileset file="${buildNumberFile}"/> |
35 |
</copy>
|
36 |
</target>
|
37 |
|
38 |
<target name="build-for-eclipse" |
39 |
description="generates the jar and moves it to the target dir, but doesn't compile the sources" |
40 |
depends="create-jar,move-to-targetDir"> |
41 |
<!-- this is not normally used, as extCatalog already builds appCatalog, but
|
42 |
we include it here and make something meaningful, just in case the user
|
43 |
wants to build only appCatalog.-->
|
44 |
</target>
|
45 |
|
46 |
<target name="batch-build" |
47 |
description="compile the source" |
48 |
depends="compile,create-jar,move-to-targetDir"> |
49 |
<!-- Compile the Java code from ${src} to ${bin} -->
|
50 |
</target>
|
51 |
|
52 |
<target name="compile"> |
53 |
<mkdir dir="${build}"/> |
54 |
<javac
|
55 |
srcdir="${src}" |
56 |
destdir="${build}" |
57 |
source="${JavaSourceVersion}" |
58 |
target="${JavaTargetVersion}" |
59 |
debug="${debug}" |
60 |
debuglevel="${debuglevel}" |
61 |
encoding="${encoding}" |
62 |
classpath="${compile-classpath}"/> |
63 |
|
64 |
<copy todir="${build}"> |
65 |
<fileset dir="${src}"> |
66 |
<include name="**/**"/> |
67 |
<exclude name="**/*.java"/> |
68 |
<exclude name="**/.CVS"/> |
69 |
</fileset>
|
70 |
|
71 |
</copy>
|
72 |
</target>
|
73 |
|
74 |
<target name="create-jar"> |
75 |
<mkdir dir="${dist}" /> |
76 |
<jar jarfile="${dist}/${jarName}" basedir="${build}"/> |
77 |
</target>
|
78 |
|
79 |
<target name="move-to-targetDir"> |
80 |
<mkdir dir="${targetDir}" /> |
81 |
<move todir="${targetDir}"> |
82 |
<fileset file="${dist}/${jarName}"/> |
83 |
</move>
|
84 |
</target>
|
85 |
|
86 |
<target name="clean" |
87 |
description="clean up" > |
88 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
89 |
<delete includeemptydirs="true" failonerror="no"> |
90 |
<fileset dir="${build}" includes="**"/> |
91 |
<fileset dir="${dist}" includes="**"/> |
92 |
</delete>
|
93 |
</target>
|
94 |
|
95 |
</project>
|
96 |
|