Statistics
| Revision:

svn-gvsig-desktop / tags / gvSIGv0_6_1RELEASE / libraries / libRemoteServices / build.xml @ 5222

History | View | Annotate | Download (1.75 KB)

1 3865 luisw2
<project name="RemoteClient" default="dist" basedir=".">
2 3169 ldiaz
    <description>
3 3865 luisw2
        Genera el jar con RemoteClient y sus dependencias
4 3169 ldiaz
    </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 3377 ldiaz
  <property name="lib"  location="lib"/>
10 3865 luisw2
  <property name="jar" value="remote-clients"/>
11 3341 ldiaz
  <property name="targetDir" location="."/>
12 3655 jaume
  <property name="targetDir2" location="../extWMS/lib"/>
13 3517 jaume
14 3655 jaume
    <target name="init">
15 3169 ldiaz
    <!-- 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 3517 jaume
    <jar jarfile="${dist}/${jar}.jar" basedir="." includes = "images/*.gif" update="true" />
35 3169 ldiaz
36 3377 ldiaz
    <move todir="${targetDir2}/">
37 3169 ldiaz
            <fileset dir="${dist}" includes="**/**"/>
38
    </move>
39 3377 ldiaz
          <copy todir="${targetDir2}/">
40
                      <fileset dir="${lib}" includes="*.jar"/>
41
          </copy>
42
 <!--   <move todir="${targetDir}/">
43
             <fileset dir="${dist}" includes="**/**"/>
44
     </move>-->
45 3169 ldiaz
  </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>