svn-gvsig-desktop / tags / v1_9_Build_1251 / libraries / libAuthenticationService / build.xml @ 40339
History | View | Annotate | Download (1.71 KB)
1 | 4332 | jmvivo | <project name="libAuthenticationService" default="all" basedir="."> |
---|---|---|---|
2 | 4190 | ldiaz | <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 | 4332 | jmvivo | <target name="init"> |
13 | 4190 | ldiaz | <!-- 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 | 4332 | jmvivo | <target name="all" depends="compile" |
26 | 4190 | ldiaz | description="generate the distribution" > |
27 | <!-- Create the distribution directory -->
|
||
28 | 4332 | jmvivo | <delete dir="${dist}"/> |
29 | 4190 | ldiaz | <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 | 4332 | jmvivo | </target>
|
35 | |||
36 | <target name="install" depends="all" description="install the library in default destination" > |
||
37 | <copy todir="${installDir}/"> |
||
38 | 4190 | ldiaz | <fileset dir="${dist}" includes="**/**"/> |
39 | 4332 | jmvivo | </copy>
|
40 | <copy todir="${installDir}/"> |
||
41 | 4190 | ldiaz | <fileset dir="${lib}" includes="*.jar"/> |
42 | 4332 | jmvivo | </copy>
|
43 | </target>
|
||
44 | 4190 | ldiaz | |
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>
|