root / branches / v2_0_0_prep / build / ant-tasks / gvsig-extension-tasks.xml @ 29554
History | View | Annotate | Download (865 Bytes)
1 |
<project name="gvSIG-extension-tasks" default="make-extension-new"> |
---|---|
2 |
<dirname property="gvSIG-extension-tasks.basedir" |
3 |
file="${ant.file.gvSIG-extension-tasks}"/> |
4 |
<import file="${gvSIG-extension-tasks.basedir}/ant-tasks-config.xml"/> |
5 |
|
6 |
<description>
|
7 |
Ant tasks for extension installation |
8 |
</description>
|
9 |
|
10 |
<!-- gvSIG extension targets -->
|
11 |
<condition property="isJar"> |
12 |
<equals arg1="${project.packaging}" arg2="jar" /> |
13 |
</condition>
|
14 |
|
15 |
<target name="make-extension-new" if="isJar"> |
16 |
<echo message="======================== New target " /> |
17 |
<echo message="======================== Making Extension " /> |
18 |
<echo message="======================== Copying to extensions dir..." /> |
19 |
<copy todir="${gvsig.install.dir}"> |
20 |
<fileset dir="target/${distribution-final-name}-distribution/${distribution-final-name}" includes="**/**" /> |
21 |
</copy>
|
22 |
</target>
|
23 |
</project>
|