Statistics
| Revision:

svn-gvsig-desktop / tags / v1_0_2_Build_892 / libraries / libDriverManager / build.xml @ 10278

History | View | Annotate | Download (1.5 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
12 467 fernando
        <target name="init">
13
                <!-- Create the time stamp -->
14
                <tstamp />
15
        </target>
16
17 4872 cesar
    <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 7776 cesar
        <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 4872 cesar
        </target>
33
34
        <target name="create-jar" description="Crea el jar de la aplicacion">
35
                <jar jarfile="${jarName}.jar" basedir="${build}"/>
36 467 fernando
        </target>
37 4872 cesar
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 467 fernando
</project>