Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libAnimation / build.xml @ 29904

History | View | Annotate | Download (1.81 KB)

1 15349 julio
<project name="MyProject" default="create-jar" basedir=".">
2 18531 jcampos
        <!-- 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 15399 julio
        <!-- <property name="targetDir" location="../_fwAndami/lib"/> -->
7 15401 julio
        <!-- <property name="targetDir" location="../ExtAnimationGUI/lib"/> -->
8 18531 jcampos
        <!--property name="gvsig-lib" location="../_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig/lib" / -->
9
        <property name="gvsig-lib" location="../appgvSIG/lib" />
10
        <property name="jarName" value="gvsig-animation" />
11 15349 julio
        <property name="andamiLibs" location="../_fwAndami/lib" />
12 18531 jcampos
        <property name="fmapLibs" location="../libFMap" />
13 15349 julio
14 18531 jcampos
        <target name="init">
15
                <!-- Create the time stamp -->
16
                <tstamp />
17
        </target>
18 15349 julio
19 18531 jcampos
        <target name="batch-build" description="compile the sources, create the jar file" depends="compile,create-jar">
20 15349 julio
        </target>
21
22
        <target name="compile" description="compile the source">
23
                <!-- Compile the Java code from ${src} to ${build} -->
24
                <mkdir dir="${build}" />
25 18531 jcampos
                <javac srcdir="${src}" destdir="${build}" source="1.4" target="1.4" debug="${debug}" debuglevel="${debuglevel}" classpath="${compile-classpath}" />
26 15349 julio
                <!-- copy any images or resources present in the src dir -->
27
                <copy todir="${build}">
28 18531 jcampos
                        <fileset dir="${src}" excludes="**/*.java" casesensitive="false" />
29 15349 julio
                </copy>
30
        </target>
31
32
        <target name="create-jar" description="Crea el jar de la aplicacion">
33
                <!--<mkdir dir="${dist}" />-->
34 18541 jcampos
                <jar jarfile="${gvsig-lib}/${jarName}.jar" basedir="${build}" />
35
                <ant dir="../appgvSIG" inheritAll="false">
36
                        <property name="encoding" value="ISO_8859_1" />
37
                </ant>
38 15349 julio
        </target>
39
40
        <target name="clean" description="clean up">
41
                <!-- Delete the ${build} and ${dist} directory trees -->
42
                <delete dir="${build}" />
43
                <delete dir="${dist}" />
44
        </target>
45 18531 jcampos
46 15349 julio
</project>