svn-gvsig-desktop / tags / v1_1_Build_1011 / libraries / libDriverManager / build.xml @ 12904
History | View | Annotate | Download (1.64 KB)
1 | 4872 | cesar | <project name="Driver Manager" default="create-jar" basedir="."> |
---|---|---|---|
2 | 467 | fernando | <description>
|
3 | Instala el plugin |
||
4 | </description>
|
||
5 | 4250 | caballero | <!-- set global properties for this build
|
6 | 974 | fjp | <property name="drivers-dir" location="../Andami/gvSIG/extensiones/com.iver.cit.gvsig/drivers" />-->
|
7 | 4872 | cesar | <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 | 10565 | jmvivo | <property name="JavaSourceVersion" value="1.4"/> |
12 | <property name="JavaTargetVersion" value="1.4"/> |
||
13 | 4872 | cesar | |
14 | 467 | fernando | <target name="init"> |
15 | <!-- Create the time stamp -->
|
||
16 | <tstamp /> |
||
17 | </target>
|
||
18 | |||
19 | 4872 | cesar | <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 | 7776 | cesar | <javac srcdir="${src}" |
28 | destdir="${build}" |
||
29 | 10565 | jmvivo | source="${JavaSourceVersion}" |
30 | target="${JavaTargetVersion}" |
||
31 | debug="${debug}" |
||
32 | 7776 | cesar | debuglevel="${debuglevel}" |
33 | classpath="${compile-classpath}"/> |
||
34 | 4872 | cesar | </target>
|
35 | |||
36 | <target name="create-jar" description="Crea el jar de la aplicacion"> |
||
37 | <jar jarfile="${jarName}.jar" basedir="${build}"/> |
||
38 | 467 | fernando | </target>
|
39 | 4872 | cesar | |
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 | 467 | fernando | </project> |