svn-gvsig-desktop / tags / v1_0_2_Build_899 / libraries / libIverUtiles / build.xml @ 10517
History | View | Annotate | Download (1.84 KB)
1 | 4866 | cesar | <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="jarName" value="iver-utiles"/> |
||
8 | <property name="andamiLibs" location="../_fwAndami/lib" /> |
||
9 | <property name="fmapLibs" location="../libFMap" /> |
||
10 | 9553 | jmvivo | <property name="compile-classpath" value="${andamiLibs}/castor-0.9.5.3-xml.jar:${andamiLibs}/commons-collections-3.1.zip:${andamiLibs}/commons-dbcp-1.0-dev-20020806.zip:${andamiLibs}/commons-pool-1.2.zip:${fmapLibs}/mysql-connector-java-3.1.7-bin.jar:${fmapLibs}/postgis-jdbc-driver.jar:${fmapLibs}/postgresql-74.213.jar:${andamiLibs}/crimson.jar" /> |
11 | 4139 | jjdelcerro | |
12 | <target name="init"> |
||
13 | <!-- Create the time stamp -->
|
||
14 | <tstamp/> |
||
15 | </target>
|
||
16 | |||
17 | 4866 | cesar | <target name="batch-build" |
18 | description="compile the sources, create the jar file" |
||
19 | depends="compile,create-jar"> |
||
20 | </target>
|
||
21 | 4139 | jjdelcerro | |
22 | 4866 | cesar | <target name="compile" description="compile the source"> |
23 | <!-- Compile the Java code from ${src} to ${build} -->
|
||
24 | <mkdir dir="${build}" /> |
||
25 | <javac srcdir="${src}" |
||
26 | destdir="${build}" |
||
27 | 7776 | cesar | source="1.4" |
28 | target="1.4" |
||
29 | 6293 | cesar | debug="${debug}" |
30 | debuglevel="${debuglevel}" |
||
31 | 4866 | cesar | classpath="${compile-classpath}"/> |
32 | 8051 | cesar | <!-- copy any images or resources present in the src dir -->
|
33 | <copy todir="${build}"> |
||
34 | <fileset dir="${src}" excludes="**/*.java" casesensitive="false"/> |
||
35 | </copy>
|
||
36 | 4866 | cesar | </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 | 4139 | jjdelcerro | |
49 | </project> |