root / trunk / libraries / libAnimation / build.xml @ 31421
History | View | Annotate | Download (1.81 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="targetDir" location="../ExtAnimationGUI/lib"/> -->
|
8 |
<!--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 |
<property name="andamiLibs" location="../_fwAndami/lib" /> |
12 |
<property name="fmapLibs" location="../libFMap" /> |
13 |
|
14 |
<target name="init"> |
15 |
<!-- Create the time stamp -->
|
16 |
<tstamp /> |
17 |
</target>
|
18 |
|
19 |
<target name="batch-build" description="compile the sources, create the jar file" 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}" destdir="${build}" source="1.4" target="1.4" debug="${debug}" debuglevel="${debuglevel}" classpath="${compile-classpath}" /> |
26 |
<!-- copy any images or resources present in the src dir -->
|
27 |
<copy todir="${build}"> |
28 |
<fileset dir="${src}" excludes="**/*.java" casesensitive="false" /> |
29 |
</copy>
|
30 |
</target>
|
31 |
|
32 |
<target name="create-jar" description="Crea el jar de la aplicacion"> |
33 |
<!--<mkdir dir="${dist}" />-->
|
34 |
<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 |
</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 |
|
46 |
</project>
|
47 |
|