root / tags / v1_1_Build_1012 / libraries / libIverUtiles / build.xml @ 12987
History | View | Annotate | Download (1.98 KB)
1 |
<project name="MyProject" default="create-jar" basedir="."> |
---|---|
2 |
<!-- set global properties for this build -->
|
3 |
<property name="src" location="src"/> |
4 |
<property name="build" location="bin"/> |
5 |
<property name="dist" location="dist"/> |
6 |
<property name="targetDir" location="../_fwAndami/lib"/> |
7 |
<property name="jarName" value="iver-utiles"/> |
8 |
<property name="andamiLibs" location="../_fwAndami/lib" /> |
9 |
<property name="fmapLibs" location="../libFMap" /> |
10 |
<property name="compile-classpath" value="${andamiLibs}/castor-0.9.5.3-xml.jar:${andamiLibs}/commons-collections-3.1.zip:${andamiLibs}/commons-dbcp-1.0-dev-20020806.zip:${andamiLibs}/commons-pool-1.2.zip:${fmapLibs}/mysql-connector-java-3.1.7-bin.jar:${fmapLibs}/postgis-jdbc-driver.jar:${fmapLibs}/postgresql-74.213.jar:${andamiLibs}/crimson.jar" /> |
11 |
<property name="JavaSourceVersion" value="1.4"/> |
12 |
<property name="JavaTargetVersion" value="1.4"/> |
13 |
|
14 |
<target name="init"> |
15 |
<!-- Create the time stamp -->
|
16 |
<tstamp/> |
17 |
</target>
|
18 |
|
19 |
<target name="batch-build" |
20 |
description="compile the sources, create the jar file" |
21 |
depends="compile,create-jar"> |
22 |
</target>
|
23 |
|
24 |
<target name="compile" description="compile the source"> |
25 |
<!-- Compile the Java code from ${src} to ${build} -->
|
26 |
<mkdir dir="${build}" /> |
27 |
<javac srcdir="${src}" |
28 |
destdir="${build}" |
29 |
source="${JavaSourceVersion}" |
30 |
target="${JavaTargetVersion}" |
31 |
debug="${debug}" |
32 |
debuglevel="${debuglevel}" |
33 |
classpath="${compile-classpath}"/> |
34 |
<!-- copy any images or resources present in the src dir -->
|
35 |
<copy todir="${build}"> |
36 |
<fileset dir="${src}" excludes="**/*.java" casesensitive="false"/> |
37 |
</copy>
|
38 |
</target>
|
39 |
|
40 |
<target name="create-jar" description="Crea el jar de la aplicacion"> |
41 |
<!--<mkdir dir="${dist}" />-->
|
42 |
<jar jarfile="${targetDir}/${jarName}.jar" basedir="${build}"/> |
43 |
</target>
|
44 |
|
45 |
<target name="clean" description="clean up"> |
46 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
47 |
<delete dir="${build}" /> |
48 |
<delete dir="${dist}" /> |
49 |
</target>
|
50 |
|
51 |
</project>
|