svn-gvsig-desktop / tags / extI18n-0.1.0-1045_8 / libraries / libArcIMS / build.xml @ 28800
History | View | Annotate | Download (3.55 KB)
1 | 12256 | jmvivo | <project name="libArcIMS" default="dist" basedir="."> |
---|---|---|---|
2 | 8109 | jsanz | <description> Genera el jar con RemoteClient y sus dependencias </description> |
3 | <!-- set global properties for this build -->
|
||
4 | <property name="src" location="src"/> |
||
5 | <property name="build" location="bin"/> |
||
6 | <property name="dist" location="dist"/> |
||
7 | <property name="lib" location="lib"/> |
||
8 | <property name="jar" value="remote-clients-arcims"/> |
||
9 | <property name="targetDir" location="."/> |
||
10 | <property name="targetDir2" location="../extArcims/lib"/> |
||
11 | <property name="fmap" location="../libFMap"/> |
||
12 | <property name="andami" location="../_fwAndami"/> |
||
13 | 16966 | jmvivo | |
14 | <property name="andamiLibs" location="${andami}/lib"/> |
||
15 | 12737 | jmvivo | <property name="fmapLibs" location="${fmap}/lib"/> |
16 | <property name="compile-classpath" value="${andami}/andami.jar:${andamiLibs}/iver-utiles.jar:${fmapLibs}/fmap.jar:${fmapLibs}/driver-manager-1.1.jar:${fmapLibs}/gdbms-0.8-SNAPSHOT.jar:${fmapLibs}/cms.jar:${andamiLibs}/kxml2.jar:${andamiLibs}/log4j-1.2.8.jar:lib/junit.jar:${andami}/lib/tempFileManager.jar:${fmapLibs}/remote-clients.jar"/> |
||
17 | <property name="compile-classpath-original" value="${andami}/andami.jar:${fmap}/lib/driver-manager-1.0.jar:${andami}/lib/tempFileManager.jar:lib/kxml2.jar:lib/junit.jar"/> |
||
18 | 12974 | cesar | <property name="JavaSourceVersion" value="1.4"/> |
19 | <property name="JavaTargetVersion" value="1.5"/> |
||
20 | <property name="encoding" value="ISO_8859_1"/> |
||
21 | <property name="debug" value="on"/> |
||
22 | <property name="debuglevel" value="lines, vars"/> |
||
23 | 12737 | jmvivo | |
24 | 16966 | jmvivo | |
25 | |||
26 | 8109 | jsanz | <!-- to move the lib directly to andami without having to run extArcims build.xml-->
|
27 | <property name="extensionDir" location="${andami}/gvSIG/extensiones"/> |
||
28 | <property name="mainplugin" value="com.iver.cit.gvsig"/> |
||
29 | <property name="targetDir3" location="${extensionDir}/${mainplugin}/lib"/> |
||
30 | 16966 | jmvivo | |
31 | 8109 | jsanz | <target name="init"> |
32 | <!-- Create the time stamp -->
|
||
33 | <tstamp/> |
||
34 | <!-- Create the build directory structure used by compile -->
|
||
35 | <mkdir dir="${build}"/> |
||
36 | </target>
|
||
37 | 16966 | jmvivo | |
38 | 8109 | jsanz | <target name="compile" description="compile the source"> |
39 | <!-- Compile the Java code from ${src} to ${bin} -->
|
||
40 | 16966 | jmvivo | <javac
|
41 | srcdir="${src}" |
||
42 | 12256 | jmvivo | destdir="${build}" |
43 | source="${JavaSourceVersion}" |
||
44 | target="${JavaTargetVersion}" |
||
45 | debug="${debug}" |
||
46 | 16966 | jmvivo | debuglevel="${debuglevel}" |
47 | 12974 | cesar | classpath="${compile-classpath}" |
48 | encoding="${encoding}"/> |
||
49 | 16966 | jmvivo | <copy todir="${build}"> |
50 | <fileset
|
||
51 | dir="${src}" |
||
52 | excludes="**/*.java"/> |
||
53 | </copy>
|
||
54 | |||
55 | 8109 | jsanz | </target>
|
56 | 12256 | jmvivo | <target name="batch-build" depends="compile,dist"> |
57 | <echo>
|
||
58 | 16966 | jmvivo | Compiling ${ant.project.name}...</echo>
|
59 | 12256 | jmvivo | </target>
|
60 | 8109 | jsanz | <target name="dist" description="generate the distribution"> |
61 | <!-- Create the distribution directory -->
|
||
62 | <mkdir dir="${dist}"/> |
||
63 | 16966 | jmvivo | |
64 | 8109 | jsanz | <!-- Put everything in ${build} into the cms-${DSTAMP}.jar file -->
|
65 | <jar jarfile="${dist}/${jar}.jar" basedir="${build}"/> |
||
66 | <jar jarfile="${dist}/${jar}.jar" basedir="." includes="images/*.gif" |
||
67 | update="true"/> |
||
68 | 16966 | jmvivo | |
69 | 8109 | jsanz | <copy todir="${targetDir3}"> |
70 | <fileset dir="${dist}" includes="${jar}.jar"/> |
||
71 | </copy>
|
||
72 | 16966 | jmvivo | |
73 | 8109 | jsanz | <move todir="${targetDir2}/"> |
74 | <fileset dir="${dist}" includes="**/**"/> |
||
75 | </move>
|
||
76 | <copy todir="${targetDir2}/"> |
||
77 | <fileset dir="${lib}" includes="*.jar"/> |
||
78 | </copy>
|
||
79 | |||
80 | 16966 | jmvivo | |
81 | 8109 | jsanz | <!-- <move todir="${targetDir}/">
|
82 | <fileset dir="${dist}" includes="**/**"/>
|
||
83 | </move>-->
|
||
84 | </target>
|
||
85 | 16966 | jmvivo | |
86 | 8109 | jsanz | <target name="clean" description="clean up"> |
87 | <!-- Delete the ${build} and ${dist} directory trees -->
|
||
88 | <delete includeemptydirs="true" failonerror="no"> |
||
89 | <fileset dir="${build}" includes="**/*"/> |
||
90 | </delete>
|
||
91 | <delete includeemptydirs="true" failonerror="no"> |
||
92 | <fileset dir="${dist}" includes="**/*"/> |
||
93 | </delete>
|
||
94 | </target>
|
||
95 | </project>
|
||
96 |