svn-gvsig-desktop / tags / v1_10_0_Build_1259 / libraries / libPersonalDB / build.xml @ 40339
History | View | Annotate | Download (1.24 KB)
1 | 24532 | abeltran | <project name="libPersonalDB" default="generate-without-source" basedir="."> |
---|---|---|---|
2 | <description>
|
||
3 | Instala la libreria libPersonalDB (temporalmente sobre la extensión). |
||
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="plugin" value="org.gvsig.personaldb"/> |
||
10 | <property name="extension-dir" location="../extMetadata"/> |
||
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 | <mkdir dir="${dist}"/> |
||
18 | <!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
|
||
19 | <buildnumber/> |
||
20 | |||
21 | </target>
|
||
22 | |||
23 | <target name="generate-without-source" description="generate the distribution without the source file" > |
||
24 | <!-- Create the distribution directory -->
|
||
25 | <mkdir dir="${dist}"/> |
||
26 | |||
27 | <jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/> |
||
28 | |||
29 | <copy todir="${dist}"> |
||
30 | <fileset dir="lib" includes="*.jar"/> |
||
31 | </copy>
|
||
32 | |||
33 | <move todir="${extension-dir}/lib"> |
||
34 | <fileset dir="${dist}" includes="**/**"/> |
||
35 | </move>
|
||
36 | </target>
|
||
37 | </project> |