root / tags / v1_1_Build_1015 / libraries / libDriverManager / build.xml @ 13679
History | View | Annotate | Download (1.72 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 |
<property name="encoding" value="ISO_8859_1"/> |
14 |
|
15 |
<target name="init"> |
16 |
<!-- Create the time stamp -->
|
17 |
<tstamp /> |
18 |
</target>
|
19 |
|
20 |
<target name="batch-build" |
21 |
description="compile the sources, create the jar file" |
22 |
depends="compile,create-jar,move-to-fmap"> |
23 |
</target>
|
24 |
|
25 |
<target name="compile" description="compile the source" > |
26 |
<!-- Compile the Java code from ${src} to ${build} -->
|
27 |
<mkdir dir="${build}" /> |
28 |
<javac srcdir="${src}" |
29 |
destdir="${build}" |
30 |
source="${JavaSourceVersion}" |
31 |
target="${JavaTargetVersion}" |
32 |
encoding="${encoding}" |
33 |
debug="${debug}" |
34 |
debuglevel="${debuglevel}" |
35 |
classpath="${compile-classpath}"/> |
36 |
</target>
|
37 |
|
38 |
<target name="create-jar" description="Crea el jar de la aplicacion"> |
39 |
<jar jarfile="${jarName}.jar" basedir="${build}"/> |
40 |
</target>
|
41 |
|
42 |
<target name="move-to-fmap" description="Crea el jar de la aplicacion"> |
43 |
<copy file="${jarName}.jar" todir="${targetDir}"/> |
44 |
</target>
|
45 |
|
46 |
<target name="clean" description="clean up" > |
47 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
48 |
<delete dir="${build}"/> |
49 |
<delete dir="${dist}"/> |
50 |
<delete file="${jarName}.jar" /> |
51 |
</target>
|
52 |
</project>
|