Statistics
| Revision:

svn-gvsig-desktop / tags / v1_9_Build_1250 / libraries / libAuthenticationService / build.xml @ 39104

History | View | Annotate | Download (1.71 KB)

1
<project name="libAuthenticationService" default="all" 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="libAuthenticationService"/>
11

    
12
  <target name="init">
13
    <!-- Create the time stamp -->
14
    <tstamp/>
15
    <!-- Create the build directory structure used by compile -->
16
    <mkdir dir="${build}"/>
17
  </target>
18

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

    
25
  <target name="all" depends="compile"
26
        description="generate the distribution" >
27
    <!-- Create the distribution directory -->
28
          <delete dir="${dist}"/>
29
    <mkdir dir="${dist}"/>
30

    
31
    <!-- Put everything in ${build} into the cms-${DSTAMP}.jar file --> 
32
    <jar jarfile="${dist}/${jar}.jar" basedir="${build}"/>
33
    <jar jarfile="${dist}/${jar}.jar" basedir="." includes = "images/*.gif" update="true" />
34
  </target>
35
        
36
  <target name="install" depends="all" description="install the library in default destination" >
37
    <copy todir="${installDir}/">
38
            <fileset dir="${dist}" includes="**/**"/>
39
    </copy>
40
          <copy todir="${installDir}/">
41
                      <fileset dir="${lib}" includes="*.jar"/>
42
          </copy>          
43
  </target>  
44

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