svn-gvsig-desktop / tags / v2_0_Build_1217 / libraries / libCacheService / build.xml @ 44465
History | View | Annotate | Download (1.32 KB)
1 | 14910 | rgaitan | <project name="libCacheService" 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 | 15449 | rgaitan | <property name="targetDir" location="../lib3DMap/lib"/> |
7 | 14910 | rgaitan | <property name="jarName" value="libCacheService"/> |
8 | <property name="andamiLibs" location="../_fwAndami/lib" /> |
||
9 | 16265 | jmvivo | <property name="fmapLibs" location="../libFMap" /> |
10 | <import file="../binaries/ant/utilities.xml"/> |
||
11 | 14910 | rgaitan | |
12 | 16265 | jmvivo | |
13 | 14910 | rgaitan | <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 | 16265 | jmvivo | <loadEclipseClasspath project="${basedir}"/> |
27 | <gvSIG-javac
|
||
28 | classpath="${eclipseClasspath}" /> |
||
29 | 14910 | rgaitan | </target>
|
30 | |||
31 | <target name="create-jar" description="Crea el jar de la aplicacion"> |
||
32 | <!--<mkdir dir="${dist}" />-->
|
||
33 | <jar jarfile="${targetDir}/${jarName}.jar" basedir="${build}"/> |
||
34 | </target>
|
||
35 | |||
36 | <target name="clean" description="clean up"> |
||
37 | <!-- Delete the ${build} and ${dist} directory trees -->
|
||
38 | <delete dir="${build}" /> |
||
39 | <delete dir="${dist}" /> |
||
40 | </target>
|
||
41 | 16265 | jmvivo | |
42 | 14910 | rgaitan | </project>
|