Statistics
| Revision:

svn-gvsig-desktop / tags / v1_9_Build_1253 / libraries / libIverUtiles / build.xml @ 47746

History | View | Annotate | Download (1.76 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="src-test" location="src-test"/>
5
        <property name="build"  location="bin"/>
6
        <property name="build-test" location="bin-test"/>
7
        <property name="dist"  location="dist"/>
8
        <property name="targetDir" location="../_fwAndami/lib"/>
9
        <property name="jarName" value="iver-utiles"/>
10
        <property name="andamiLibs" location="../_fwAndami/lib" />
11
        <property name="fmapLibs" location="../libFMap" />
12
        <import file="../binaries/ant/utilities.xml"/>
13

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

    
21
        <target name="batch-build"
22
                                description="compile the sources, create the jar file"
23
                                depends="init,compile,create-jar">
24
        </target>
25

    
26
        <target name="compile" description="compile the source">
27
                <!-- Compile the Java code from ${src} to ${build} -->
28
                <mkdir dir="${build}" />
29
                <loadEclipseClasspath project="${basedir}"/>
30
                <gvSIG-javac
31
                        classpath="${eclipseClasspath}"
32
                />
33
                <copy todir="${build}">
34
                        <fileset dir="${src}" excludes="**/*.java" casesensitive="false"/>
35
                </copy>
36
        </target>
37

    
38
        <target name="create-jar" description="Crea el jar de la aplicacion">
39
                <!--<mkdir dir="${dist}" />-->
40
                  <jar jarfile="${targetDir}/${jarName}.jar" basedir="${build}"/>
41
        </target>
42

    
43
        <target name="clean" description="clean up">
44
                <!-- Delete the ${build} and ${dist} directory trees -->
45
                <delete dir="${build}" />
46
                <delete dir="${dist}" />
47
        </target>
48

    
49
        <target name="run-tests" depends="batch-build,compile-tests">
50
                <antcall target="generic-run-tests">
51
                        <param name="TestSuite.Name" value="com.iver.utiles.AllTests"/>
52
                </antcall>
53
        </target>
54
</project>