Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libIverUtiles / build.xml @ 13296

History | View | Annotate | Download (2.07 KB)

1
<project name="IverUtiles" default="create-jar" basedir=".">
2
          <!-- set global properties for this build -->
3
        <property name="src"  location="src"/>
4
        <property name="build"  location="bin"/>
5
        <property name="dist"  location="dist"/>
6
        <property name="targetDir" location="../_fwAndami/lib"/>
7
        <property name="jarName" value="iver-utiles"/>
8
        <property name="andamiLibs" location="../_fwAndami/lib" />
9
        <property name="fmapLibs" location="../libFMap" />
10
        <import file="../binaries/ant/utilities.xml"/>
11
        <!--<property name="compile-classpath" value="${andamiLibs}/castor-0.9.5.3-xml.jar:${andamiLibs}/commons-collections-3.1.zip:${andamiLibs}/commons-dbcp-1.0-dev-20020806.zip:${andamiLibs}/commons-pool-1.2.zip:${fmapLibs}/mysql-connector-java-3.1.7-bin.jar:${fmapLibs}/postgis-jdbc-driver.jar:${fmapLibs}/postgresql-74.213.jar" />-->
12

    
13
  <target name="init">
14
    <!-- Create the time stamp -->
15
<!--    <tstamp/>-->
16
        <echo>
17
                Compiling ${ant.project.name}...</echo>
18
  </target>
19

    
20
        <target name="batch-build"
21
                                description="compile the sources, create the jar file"
22
                                depends="init,compile,create-jar">
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
                <loadEclipseClasspath project="${basedir}"/>
29
                <gvSIG-javac
30
                        classpath="${eclipseClasspath}"
31
                />
32
                <!--<javac        srcdir="${src}"
33
                                destdir="${build}"
34
                                source="${JavaSourceVersion}"
35
                                target="${JavaTargetVersion}"
36
                                debug="${debug}"
37
                                debuglevel="${debuglevel}"
38
                                classpath="${compile-classpath}"/>-->
39
                <!-- copy any images or resources present in the src dir -->
40
                <copy todir="${build}">
41
                        <fileset dir="${src}" excludes="**/*.java" casesensitive="false"/>
42
                </copy>
43
        </target>
44

    
45
        <target name="create-jar" description="Crea el jar de la aplicacion">
46
                <!--<mkdir dir="${dist}" />-->
47
                  <jar jarfile="${targetDir}/${jarName}.jar" basedir="${build}"/>
48
        </target>
49

    
50
        <target name="clean" description="clean up">
51
                <!-- Delete the ${build} and ${dist} directory trees -->
52
                <delete dir="${build}" />
53
                <delete dir="${dist}" />
54
        </target>
55

    
56
</project>