Statistics
| Revision:

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

History | View | Annotate | Download (1.57 KB)

1
<project name="MyProject" 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
        <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" />
11

    
12
  <target name="init">
13
    <!-- Create the time stamp -->
14
    <tstamp/>
15
  </target>
16

    
17
        <target name="batch-build"
18
                                description="compile the sources, create the jar file"
19
                                depends="compile,create-jar">
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
                <javac        srcdir="${src}"
26
                                destdir="${build}"
27
                                classpath="${compile-classpath}"/>
28
        </target>
29

    
30
        <target name="create-jar" description="Crea el jar de la aplicacion">
31
                <!--<mkdir dir="${dist}" />-->
32
                  <jar jarfile="${targetDir}/${jarName}.jar" basedir="${build}"/>
33
        </target>
34

    
35
        <target name="clean" description="clean up">
36
                <!-- Delete the ${build} and ${dist} directory trees -->
37
                <delete dir="${build}" />
38
                <delete dir="${dist}" />
39
        </target>
40
  
41
</project>