svn-gvsig-desktop / tags / v1_9_Build_1237 / libraries / geotools-2.1.1-epsg-hsql / build.xml @ 33903
History | View | Annotate | Download (2.25 KB)
1 | 28854 | cmartinez | <project name="geotools-epsg-hsql" default="dist" basedir="."> |
---|---|---|---|
2 | <description>
|
||
3 | Construye el jar de la biblioteca gvsig-i18n (libInternationalization) |
||
4 | </description>
|
||
5 | <!-- set global properties for this build -->
|
||
6 | <property name="src" location="src"/> |
||
7 | <property name="src-test" location="src-test"/> |
||
8 | <property name="build" location="bin"/> |
||
9 | <property name="build-test" location="bin-test"/> |
||
10 | <property name="andamiLibs" location="../_fwAndami/lib"/> |
||
11 | <property name="dist" location="dist"/> |
||
12 | <property name="lib" location="lib"/> |
||
13 | <property name="jarName" value="geotools-epsg-hsql-2.1.1_gvsig"/> |
||
14 | <property name="targetDir" location="../_fwAndami/lib"/> |
||
15 | <property name="build-doc" value="doc"/> |
||
16 | <!--<property name="compile-classpath" value="${andamiLibs}/log4j-1.2.8.jar"/>-->
|
||
17 | <import file="../binaries/ant/utilities.xml"/> |
||
18 | |||
19 | <target name="init"> |
||
20 | <!-- Create the time stamp -->
|
||
21 | <tstamp /> |
||
22 | <echo>
|
||
23 | Compiling ${ant.project.name}...</echo>
|
||
24 | </target>
|
||
25 | |||
26 | <target name="dist" |
||
27 | description="generate the distribution" depends="copy-data-files,create-jar"> |
||
28 | </target>
|
||
29 | |||
30 | <target name="batch-build" |
||
31 | description="compile the sources, create the jar file" |
||
32 | depends="init,compile,copy-data-files,create-jar"> |
||
33 | </target>
|
||
34 | |||
35 | <target name="compile" description="compile the source"> |
||
36 | <!-- Compile the Java code from ${src} to ${build} -->
|
||
37 | <mkdir dir="${build}" /> |
||
38 | <loadEclipseClasspath project="${basedir}"/> |
||
39 | <gvSIG-javac
|
||
40 | classpath="${eclipseClasspath}" |
||
41 | />
|
||
42 | |||
43 | <!--<javac srcdir="${src}"
|
||
44 | destdir="${build}"
|
||
45 | source="1.4"
|
||
46 | target="1.4"
|
||
47 | classpath="${compile-classpath}"
|
||
48 | debug="${debug}"
|
||
49 | debuglevel="${debuglevel}"
|
||
50 | excludes="**/Tests/*.java" />-->
|
||
51 | </target>
|
||
52 | |||
53 | <target name="copy-data-files"> |
||
54 | <copy todir="${build}/"> |
||
55 | <fileset dir="src" excludes="**/*.java" /> |
||
56 | </copy>
|
||
57 | </target>
|
||
58 | |||
59 | <target name="create-jar" description="Crea el jar de la aplicacion"> |
||
60 | <mkdir dir="${dist}"/> |
||
61 | <jar jarfile="${dist}/${jarName}.jar" basedir="${build}"/> |
||
62 | </target>
|
||
63 | |||
64 | <target name="clean" |
||
65 | description="clean up" > |
||
66 | <!-- Delete the ${build} and ${dist} directory trees -->
|
||
67 | <delete dir="${build}"/> |
||
68 | <delete dir="${dist}"/> |
||
69 | </target>
|
||
70 | |||
71 | <target name="run-tests" depends="batch-build,compile-tests"> |
||
72 | </target>
|
||
73 | </project> |