Revision 16963
branches/v10/extensions/extAnnotations/build.xml | ||
---|---|---|
14 | 14 |
<property name="dist-src" location="${dist-src-name}"/> |
15 | 15 |
<property name="readMe.files" value="Leeme-Annotation.txt, Readme-Annotation.txt"/> |
16 | 16 |
<property name="andami" location="../_fwAndami"/> |
17 |
<property name="andamiLibs" location="${andami}/lib"/>
|
|
17 |
<property name="andamiLibs" location="${andami}/lib"/> |
|
18 | 18 |
<property name="fmap" location="../libFMap"/> |
19 | 19 |
<property name="fmapLibs" location="${fmap}/lib"/> |
20 | 20 |
<property name="installLibDir" location="${extensionDir}/${mainplugin}/lib"/> |
... | ... | |
28 | 28 |
<!-- Create the build directory structure used by compile --> |
29 | 29 |
<mkdir dir="${build}"/> |
30 | 30 |
<mkdir dir="${dist}"/> |
31 |
<mkdir dir="${dist}/lib"/>
|
|
31 |
<mkdir dir="${dist}/lib"/> |
|
32 | 32 |
|
33 | 33 |
</target> |
34 | 34 |
|
... | ... | |
66 | 66 |
|
67 | 67 |
<target name="buildNumber"> |
68 | 68 |
<echo> Obsoleto: este proyecto se distribuye con gvSIG de base </echo> |
69 |
<!--
|
|
69 |
<!-- |
|
70 | 70 |
<propertyfile |
71 | 71 |
file="build.number" |
72 | 72 |
comment="Build Number for ANT. Do not edit!"> |
... | ... | |
78 | 78 |
<target name="distribution" |
79 | 79 |
description="increment build number and generate the distribution without the source file"> |
80 | 80 |
<echo> Obsoleto: este proyecto se distribuye con gvSIG de base </echo> |
81 |
<!-- -->
|
|
81 |
<!-- --> |
|
82 | 82 |
</target> |
83 | 83 |
|
84 | 84 |
<target name="generate-without-source" depends="init" |
... | ... | |
130 | 130 |
<target name="deploy" |
131 | 131 |
description="compile the sources, create the jar file" |
132 | 132 |
depends="init,create-jar,copy-data-files,move-to-andami"> |
133 |
</target>
|
|
134 |
|
|
133 |
</target> |
|
134 |
|
|
135 | 135 |
<target name="compile" description="compile the source" > |
136 | 136 |
<!-- Compile the Java code from ${src} to ${build} --> |
137 | 137 |
<mkdir dir="${build}" /> |
... | ... | |
140 | 140 |
source="${JavaSourceVersion}" |
141 | 141 |
target="${JavaTargetVersion}" |
142 | 142 |
debug="${debug}" |
143 |
encoding="${encoding}" |
|
143 | 144 |
debuglevel="${debuglevel}" |
144 | 145 |
classpath="${compile-classpath}"/> |
145 |
</target> |
|
146 |
<copy todir="${build}"> |
|
147 |
<fileset |
|
148 |
dir="${src}" |
|
149 |
excludes="**/*.java"/> |
|
150 |
</copy> |
|
146 | 151 |
|
152 |
</target> |
|
153 |
|
|
147 | 154 |
<target name="create-jar" |
148 | 155 |
description="Creates the plugin jar"> |
149 | 156 |
<jar jarfile="${dist}/lib/${plugin}.jar" basedir="${build}" excludes="**/*Driver*,**/*_Legend.*,**/*_Layer.*,**/*_Strategy.*,**/*_Mapping.*,**/*_EditableAdapter.*" includes="com/iver/cit/gvsig/**"/> |
... | ... | |
170 | 177 |
<fileset dir="images" includes="*"/> |
171 | 178 |
</copy> |
172 | 179 |
</target> |
173 |
|
|
174 | 180 |
|
181 |
|
|
175 | 182 |
<target name="move-to-andami"> |
176 | 183 |
<move todir="${extensionDir}/${mainplugin}/lib" file="${dist}/lib/gvsig-annotation.jar"/> |
177 | 184 |
<move todir="${extensionDir}/${plugin}/"> |
178 | 185 |
<fileset dir="${dist}" includes="**/**"/> |
179 | 186 |
</move> |
180 |
</target>
|
|
181 |
|
|
187 |
</target> |
|
188 |
|
|
182 | 189 |
<target name="import-build-number"> |
183 | 190 |
<copy todir="."> |
184 | 191 |
<fileset file="${buildNumberFile}"/> |
185 | 192 |
</copy> |
186 | 193 |
</target> |
187 |
|
|
194 |
|
|
188 | 195 |
<target name="clean" |
189 | 196 |
description="clean up" > |
190 | 197 |
<delete dir="${dist}"/> |
Also available in: Unified diff