svn-gvsig-desktop / trunk / extensions / extGraph_predes / build.xml @ 8658
History | View | Annotate | Download (2 KB)
1 |
<project name="Generar extension en Andami" default="generate-without-source" basedir="."> |
---|---|
2 |
<description>
|
3 |
Instala el plugin de ejemplo en Andami. |
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="com.iver.cit.gvsig.graph"/> |
10 |
<property name="extension-dir" location="../_fwAndami/gvSIG/extensiones"/> |
11 |
<property name="fmapLibs" location="../libFMap/lib"/> |
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 |
<mkdir dir="${dist}/lib"/> |
27 |
|
28 |
|
29 |
|
30 |
<!--
|
31 |
- ->
|
32 |
<jar jarfile="${fmapLibs}/jts-1.7.jar" basedir="${build}" update="yes" includes="com/vividsolutions/**"/>
|
33 |
|
34 |
<!- - Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
35 |
<jar jarfile="${dist}/lib/${plugin}.jar" basedir="${build}" includes="com/iver/**"/> |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
<copy file="config/config.xml" todir="${dist}"/> |
41 |
<!-- <copy file="config/about.htm" todir="${dist}"/> -->
|
42 |
<copy todir="${dist}"> |
43 |
<fileset dir="config/" includes="text*.properties"/> |
44 |
</copy>
|
45 |
<copy todir="${dist}/lib"> |
46 |
<fileset dir="lib" includes="*"/> |
47 |
</copy>
|
48 |
<copy todir="../libFMap/lib"> |
49 |
<fileset dir="lib" includes="**"/> |
50 |
</copy>
|
51 |
<copy todir="${dist}/images"> |
52 |
<fileset dir="images/" includes="*"/> |
53 |
</copy>
|
54 |
<copy todir="${dist}/symbols"> |
55 |
<fileset dir="symbols/" includes="**/**"/> |
56 |
</copy>
|
57 |
|
58 |
<move todir="${extension-dir}/${plugin}/"> |
59 |
<fileset dir="${dist}" includes="**/**"/> |
60 |
</move>
|
61 |
</target>
|
62 |
</project>
|
63 |
|