svn-gvsig-desktop / trunk / applications / appCatalogYNomenclatorClient / build.xml @ 13236
History | View | Annotate | Download (3.34 KB)
1 |
<project name="appCatalogAndGazetteerClient" default="build-for-eclipse" basedir="."> |
---|---|
2 |
<description>
|
3 |
Instala el plugin en Andami |
4 |
</description>
|
5 |
<!-- set global properties for this build -->
|
6 |
<import file="../binaries/ant/utilities.xml"/> |
7 |
<property name="fmap" location="../libFMap"/> |
8 |
<property name="andami" location="../_fwAndami"/> |
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="targetDir" location="../extCatalogYNomenclator/dist/lib"/> |
15 |
<property name="jarName" value="catCliProto.jar"/> |
16 |
<!--<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"/>-->
|
17 |
<property name="encoding" value="ISO_8859_1"/> |
18 |
<property name="JavaSourceVersion" value="1.5"/> |
19 |
<property name="JavaTargetVersion" value="1.5"/> |
20 |
<property name="debug" value="on"/> |
21 |
<property name="debuglevel" value="lines, vars"/> |
22 |
|
23 |
|
24 |
<target name="init"> |
25 |
<!-- Create the time stamp -->
|
26 |
<tstamp/> |
27 |
<!-- Create the build directory structure used by compile -->
|
28 |
<buildnumber/> |
29 |
</target>
|
30 |
|
31 |
<target name="import-build-number"> |
32 |
<copy todir="."> |
33 |
<fileset file="${buildNumberFile}"/> |
34 |
</copy>
|
35 |
</target>
|
36 |
|
37 |
<target name="build-for-eclipse" |
38 |
description="generates the jar and moves it to the target dir, but doesn't compile the sources" |
39 |
depends="create-jar,move-to-targetDir"> |
40 |
<!-- this is not normally used, as extCatalog already builds appCatalog, but
|
41 |
we include it here and make something meaningful, just in case the user
|
42 |
wants to build only appCatalog.-->
|
43 |
</target>
|
44 |
|
45 |
<target name="batch-build" |
46 |
description="compile the source" |
47 |
depends="compile,create-jar,move-to-targetDir"> |
48 |
<!-- Compile the Java code from ${src} to ${bin} -->
|
49 |
</target>
|
50 |
|
51 |
<target name="compile"> |
52 |
<mkdir dir="${build}"/> |
53 |
<loadEclipseClasspath project="${basedir}"/> |
54 |
<defaultJavac
|
55 |
classpath="${eclipseClasspath}"/> |
56 |
<!--
|
57 |
<javac
|
58 |
srcdir="${src}"
|
59 |
destdir="${build}"
|
60 |
source="${JavaSourceVersion}"
|
61 |
target="${JavaTargetVersion}"
|
62 |
debug="${debug}"
|
63 |
debuglevel="${debuglevel}"
|
64 |
classpath="${eclipseClasspath}"
|
65 |
encoding="${encoding}"/>
|
66 |
-->
|
67 |
|
68 |
</target>
|
69 |
|
70 |
<target name="create-jar"> |
71 |
<mkdir dir="${dist}" /> |
72 |
<jar jarfile="${dist}/${jarName}" basedir="${build}"/> |
73 |
</target>
|
74 |
|
75 |
<target name="move-to-targetDir"> |
76 |
<mkdir dir="${targetDir}" /> |
77 |
<move todir="${targetDir}"> |
78 |
<fileset file="${dist}/${jarName}"/> |
79 |
</move>
|
80 |
</target>
|
81 |
|
82 |
<target name="clean" |
83 |
description="clean up" > |
84 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
85 |
<delete includeemptydirs="true" failonerror="no"> |
86 |
<fileset dir="${build}" includes="**"/> |
87 |
<fileset dir="${dist}" includes="**"/> |
88 |
</delete>
|
89 |
</target>
|
90 |
|
91 |
</project>
|
92 |
|