root / tags / v1_0_2_Build_898 / libraries / libDriverManager / build.xml @ 10513
History | View | Annotate | Download (1.5 KB)
1 |
<project name="Driver Manager" default="create-jar" basedir="."> |
---|---|
2 |
<description>
|
3 |
Instala el plugin |
4 |
</description>
|
5 |
<!-- set global properties for this build
|
6 |
<property name="drivers-dir" location="../Andami/gvSIG/extensiones/com.iver.cit.gvsig/drivers" />-->
|
7 |
<property name="src" value="src"/> |
8 |
<property name="build" value="bin"/> |
9 |
<property name="jarName" value="driver-manager-1.1"/> |
10 |
<property name="targetDir" value="../libFMap/lib"/> |
11 |
|
12 |
<target name="init"> |
13 |
<!-- Create the time stamp -->
|
14 |
<tstamp /> |
15 |
</target>
|
16 |
|
17 |
<target name="batch-build" |
18 |
description="compile the sources, create the jar file" |
19 |
depends="compile,create-jar,move-to-fmap"> |
20 |
</target>
|
21 |
|
22 |
<target name="compile" description="compile the source" > |
23 |
<!-- Compile the Java code from ${src} to ${build} -->
|
24 |
<mkdir dir="${build}" /> |
25 |
<javac srcdir="${src}" |
26 |
destdir="${build}" |
27 |
source="1.4" |
28 |
target="1.4" |
29 |
debug="${debug}" |
30 |
debuglevel="${debuglevel}" |
31 |
classpath="${compile-classpath}"/> |
32 |
</target>
|
33 |
|
34 |
<target name="create-jar" description="Crea el jar de la aplicacion"> |
35 |
<jar jarfile="${jarName}.jar" basedir="${build}"/> |
36 |
</target>
|
37 |
|
38 |
<target name="move-to-fmap" description="Crea el jar de la aplicacion"> |
39 |
<copy file="${jarName}.jar" todir="${targetDir}"/> |
40 |
</target>
|
41 |
|
42 |
<target name="clean" description="clean up" > |
43 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
44 |
<delete dir="${build}"/> |
45 |
<delete dir="${dist}"/> |
46 |
<delete file="${jarName}.jar" /> |
47 |
</target>
|
48 |
</project>
|