Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libRemoteServices / build.xml @ 3377

History | View | Annotate | Download (1.81 KB)

1
<project name="Cq Remote Map Clients" default="dist" basedir=".">
2
    <description>
3
        Genera el jar con RemoteMapClients 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="CqRemoteClient"/>
11
  <!--property name="fmapdir" value="../FMAP"/-->
12
  <property name="targetDir" location="."/>
13
  <property name="targetDir2" location="../FMap 03/lib"/>
14
        
15
  <target name="init">
16
    <!-- Create the time stamp -->
17
    <tstamp/>
18
    <!-- Create the build directory structure used by compile -->
19
    <mkdir dir="${build}"/>
20
  </target>
21

    
22
  <target name="compile" depends="init"
23
        description="compile the source " >
24
    <!-- Compile the java code from ${src} into ${build} 
25
    <javac srcdir="${src}" destdir="${build}"/>-->
26
  </target>
27

    
28
  <target name="dist" depends="compile"
29
        description="generate the distribution" >
30
    <!-- Create the distribution directory -->
31
    <mkdir dir="${dist}"/>
32

    
33
    <!-- Put everything in ${build} into the cms-${DSTAMP}.jar file --> 
34
    <jar jarfile="${dist}/${jar}.jar" basedir="${build}"/>
35
    <jar jarfile="${dist}/${jar}.jar" basedir="." includes = "images/*.gif" update="true" />
36

    
37
    <move todir="${targetDir2}/">
38
            <fileset dir="${dist}" includes="**/**"/>
39
    </move>
40
          <copy todir="${targetDir2}/">
41
                      <fileset dir="${lib}" includes="*.jar"/>
42
          </copy>
43
 <!--   <move todir="${targetDir}/">
44
             <fileset dir="${dist}" includes="**/**"/>
45
     </move>-->
46
  </target>
47

    
48
  <target name="clean"
49
        description="clean up" >
50
    <!-- Delete the ${build} and ${dist} directory trees -->
51
    <delete dir="${build}"/>
52
    <delete dir="${dist}"/>
53
  </target>
54
</project>
55