root / trunk / extensions / extExpressionField / build.xml @ 11445
History | View | Annotate | Download (2.19 KB)
1 |
<project name="Generar extension en Andami" default="generate-without-source" basedir="."> |
---|---|
2 |
<description>
|
3 |
Instala el plugin de Centrar la Vista sobre un punto en Andami. |
4 |
</description>
|
5 |
<!-- set global properties for this build -->
|
6 |
<property name="src" location="src"/> |
7 |
<property name="bin" location="bin"/> |
8 |
<property name="doc" location="doc"/> |
9 |
<property name="dist" location="dist"/> |
10 |
<property name="without_src" location="without_src"/> |
11 |
<property name="plugin" value="com.iver.gvsig.expresionfield"/> |
12 |
<property name="mainplugin" value="com.iver.cit.gvsig"/> |
13 |
<property name="extensionDir" location="../_fwAndami/gvSIG/extensiones"/> |
14 |
|
15 |
<property name="build" location="bin"/> |
16 |
<target name="init"> |
17 |
<!-- Create the time stamp -->
|
18 |
<tstamp/> |
19 |
</target>
|
20 |
<target name="buildNumber"> |
21 |
<propertyfile
|
22 |
file="build.number" |
23 |
comment="Build Number for ANT. Do not edit!"> |
24 |
<entry key="build.number" default="0" type="int" operation="+"/> |
25 |
</propertyfile>
|
26 |
<property file="build.number"/> |
27 |
</target>
|
28 |
<target name="distribution" |
29 |
description="increment build number and generate the distribution without the source file" |
30 |
depends="buildNumber,generate-without-source"> |
31 |
</target>
|
32 |
<target name="generate-without-source" description="generate the distribution without the source file" > |
33 |
<!-- Create the distribution directory -->
|
34 |
<mkdir dir="${without_src}"/> |
35 |
|
36 |
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
37 |
<jar jarfile="${without_src}/${plugin}.jar" basedir="${bin}"/> |
38 |
<copy file="config/config.xml" todir="${without_src}"/> |
39 |
<copy file="build.number" todir="${without_src}"/> |
40 |
<copy file="config/about.htm" todir="${without_src}"/> |
41 |
<loadproperties srcFile="build.number"/> |
42 |
<replace casesensitive="true" |
43 |
file="${without_src}/about.htm" |
44 |
token="#build.number#" |
45 |
value="${build.number}"/> |
46 |
<copy todir="${without_src}"> |
47 |
<fileset dir="config" includes="text*.properties"/> |
48 |
</copy>
|
49 |
<copy todir="${without_src}/images"> |
50 |
<fileset dir="images/" includes="*"/> |
51 |
</copy>
|
52 |
<move todir="${extensionDir}/${plugin}/"> |
53 |
<fileset dir="${without_src}" includes="**/**"/> |
54 |
</move>
|
55 |
</target>
|
56 |
|
57 |
</project>
|
58 |
|