svn-gvsig-desktop / tags / v2_0_Build_1213 / libraries / libjni-readecw-linux / ant.xml @ 38918
History | View | Annotate | Download (3.3 KB)
1 |
<project name="Ecw" default="dist" basedir="."> |
---|---|
2 |
<description>
|
3 |
Genera distribuciones de lector de ecw |
4 |
</description>
|
5 |
|
6 |
<property name="src" location="src"/> |
7 |
<property name="src-test" location="src-test"/> |
8 |
<property name="build" location="bin"/> |
9 |
<property name="dist" location="dist"/> |
10 |
<property name="include" location="include"/> |
11 |
<property name="doc" location="doc"/> |
12 |
<property name="lib" location="lib"/> |
13 |
<property name="bin" location="bin"/> |
14 |
<property name="jar" value="cms"/> |
15 |
<property name="app" value="jecw"/> |
16 |
<property name="version" value="0.0.0"/> |
17 |
|
18 |
<target name="init"> |
19 |
<tstamp/> |
20 |
</target>
|
21 |
|
22 |
<target name="dist" depends="init" |
23 |
description="Crea distribuciĆ³n de binarios" > |
24 |
<mkdir dir="${dist}/${app}-${version}"/> |
25 |
<mkdir dir="${dist}/${app}-${version}/bin"/> |
26 |
<mkdir dir="${dist}/${app}-${version}/doc"/> |
27 |
<copy todir="./dist/${app}-${version}/doc/"> |
28 |
<fileset dir="${doc}"/> |
29 |
</copy>
|
30 |
<mkdir dir="${dist}/${app}-${version}/dist"/> |
31 |
<copy todir="./dist/${app}-${version}/dist/"> |
32 |
<fileset dir="${dist}" includes="jecw.dll"/> |
33 |
<fileset dir="${dist}" includes="jecw.jar"/> |
34 |
<fileset dir="${dist}" includes="libjecw.so.*"/> |
35 |
</copy>
|
36 |
<mkdir dir="${dist}/${app}-${version}/lib"/> |
37 |
<copy todir="./dist/${app}-${version}/lib/"> |
38 |
<fileset dir="${lib}"/> |
39 |
</copy>
|
40 |
<mkdir dir="${dist}/${app}-${version}/src-test"/> |
41 |
<copy todir="./dist/${app}-${version}/src-test/"> |
42 |
<fileset dir="${bin}" includes="*.class"/> |
43 |
</copy>
|
44 |
<copy todir="./dist/${app}-${version}/"> |
45 |
<fileset dir="" includes="README"/> |
46 |
</copy>
|
47 |
<!--
|
48 |
<tar tarfile="./${app}-${version}.tar"
|
49 |
basedir="./dist/"
|
50 |
includes="${app}-${version}/*" />
|
51 |
-->
|
52 |
</target>
|
53 |
|
54 |
<target name="src" depends="dist" |
55 |
description="Crea distribuciĆ³n de fuentes" > |
56 |
<mkdir dir="${dist}/${app}-src-${version}"/> |
57 |
<mkdir dir="${dist}/${app}-src-${version}/src"/> |
58 |
<copy todir="./dist/${app}-src-${version}/src/"> |
59 |
<fileset dir="${src}"/> |
60 |
</copy>
|
61 |
<mkdir dir="${dist}/${app}-src-${version}/src-test"/> |
62 |
<copy todir="./dist/${app}-src-${version}/src-test/"> |
63 |
<fileset dir="${src-test}" includes="*.java"/> |
64 |
</copy>
|
65 |
<mkdir dir="${dist}/${app}-src-${version}/include"/> |
66 |
<copy todir="./dist/${app}-src-${version}/include/"> |
67 |
<fileset dir="${include}"/> |
68 |
</copy>
|
69 |
<mkdir dir="${dist}/${app}-src-${version}/bin"/> |
70 |
<mkdir dir="${dist}/${app}-src-${version}/dist"/> |
71 |
<mkdir dir="${dist}/${app}-src-${version}/doc"/> |
72 |
<copy todir="./dist/${app}-src-${version}/doc/"> |
73 |
<fileset dir="${doc}"/> |
74 |
</copy>
|
75 |
<mkdir dir="${dist}/${app}-src-${version}/lib"/> |
76 |
<copy todir="./dist/${app}-src-${version}/lib/"> |
77 |
<fileset dir="${lib}"/> |
78 |
</copy>
|
79 |
<copy todir="./dist/${app}-src-${version}/"> |
80 |
<fileset dir="" includes="Makefile"/> |
81 |
<fileset dir="" includes="makefile.w32"/> |
82 |
<fileset dir="" includes="README"/> |
83 |
<fileset dir="" includes="submake.bat"/> |
84 |
</copy>
|
85 |
<!--
|
86 |
<tar tarfile="./${app}-src-${version}.tar"
|
87 |
basedir="./dist/"
|
88 |
includes="${app}-src-${version}/*" />
|
89 |
-->
|
90 |
</target>
|
91 |
|
92 |
<target name="clean" |
93 |
description="clean up" > |
94 |
<delete dir="${dist}/${app}-${version}"/> |
95 |
<delete dir="${dist}/${app}-src-${version}"/> |
96 |
</target>
|
97 |
</project>
|
98 |
|