svn-gvsig-desktop / tags / gvSIGv0_6_1RELEASE / libraries / libRemoteServices / build.xml @ 5222
History | View | Annotate | Download (1.75 KB)
1 |
<project name="RemoteClient" default="dist" basedir="."> |
---|---|
2 |
<description>
|
3 |
Genera el jar con RemoteClient y sus dependencias |
4 |
</description>
|
5 |
<!-- set global properties for this build -->
|
6 |
<property name="src" location="src"/> |
7 |
<property name="build" location="bin"/> |
8 |
<property name="dist" location="dist"/> |
9 |
<property name="lib" location="lib"/> |
10 |
<property name="jar" value="remote-clients"/> |
11 |
<property name="targetDir" location="."/> |
12 |
<property name="targetDir2" location="../extWMS/lib"/> |
13 |
|
14 |
<target name="init"> |
15 |
<!-- Create the time stamp -->
|
16 |
<tstamp/> |
17 |
<!-- Create the build directory structure used by compile -->
|
18 |
<mkdir dir="${build}"/> |
19 |
</target>
|
20 |
|
21 |
<target name="compile" depends="init" |
22 |
description="compile the source " > |
23 |
<!-- Compile the java code from ${src} into ${build}
|
24 |
<javac srcdir="${src}" destdir="${build}"/>-->
|
25 |
</target>
|
26 |
|
27 |
<target name="dist" depends="compile" |
28 |
description="generate the distribution" > |
29 |
<!-- Create the distribution directory -->
|
30 |
<mkdir dir="${dist}"/> |
31 |
|
32 |
<!-- Put everything in ${build} into the cms-${DSTAMP}.jar file -->
|
33 |
<jar jarfile="${dist}/${jar}.jar" basedir="${build}"/> |
34 |
<jar jarfile="${dist}/${jar}.jar" basedir="." includes = "images/*.gif" update="true" /> |
35 |
|
36 |
<move todir="${targetDir2}/"> |
37 |
<fileset dir="${dist}" includes="**/**"/> |
38 |
</move>
|
39 |
<copy todir="${targetDir2}/"> |
40 |
<fileset dir="${lib}" includes="*.jar"/> |
41 |
</copy>
|
42 |
<!-- <move todir="${targetDir}/">
|
43 |
<fileset dir="${dist}" includes="**/**"/>
|
44 |
</move>-->
|
45 |
</target>
|
46 |
|
47 |
<target name="clean" |
48 |
description="clean up" > |
49 |
<!-- Delete the ${build} and ${dist} directory trees -->
|
50 |
<delete dir="${build}"/> |
51 |
<delete dir="${dist}"/> |
52 |
</target>
|
53 |
</project>
|
54 |
|