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