root / tags / v1_0_2_Build_901 / libraries / libDriverManager / build.xml @ 10571
History | View | Annotate | Download (1.64 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 |
<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,move-to-fmap"> |
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 |
</target>
|
35 |
|
36 |
<target name="create-jar" description="Crea el jar de la aplicacion"> |
37 |
<jar jarfile="${jarName}.jar" basedir="${build}"/> |
38 |
</target>
|
39 |
|
40 |
<target name="move-to-fmap" description="Crea el jar de la aplicacion"> |
41 |
<copy file="${jarName}.jar" todir="${targetDir}"/> |
42 |
</target>
|
43 |
|
44 |
<target name="clean" description="clean up" > |
45 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
46 |
<delete dir="${build}"/> |
47 |
<delete dir="${dist}"/> |
48 |
<delete file="${jarName}.jar" /> |
49 |
</target>
|
50 |
</project>
|