Revision 16917 tags/tmp_build/extensions/extRasterTools/build.xml
build.xml | ||
---|---|---|
17 | 17 |
<property name="JavaSourceVersion" value="1.4"/> |
18 | 18 |
<property name="JavaTargetVersion" value="1.4"/> |
19 | 19 |
<property name="encoding" value="ISO_8859_1"/> |
20 |
|
|
20 |
|
|
21 | 21 |
<!--Plugins--> |
22 | 22 |
<property name="plugin" value="org.gvsig.rasterTools"/> |
23 | 23 |
<property name="jarName" value="${plugin}.jar"/> |
... | ... | |
25 | 25 |
<target name="init"> |
26 | 26 |
<!-- Create the time stamp --> |
27 | 27 |
<tstamp/> |
28 |
|
|
28 |
|
|
29 | 29 |
<echo> |
30 | 30 |
Compiling ${ant.project.name}...</echo> |
31 | 31 |
<!-- Create the build directory structure used by compile --> |
... | ... | |
42 | 42 |
|
43 | 43 |
<target name="generate-without-source" |
44 | 44 |
description="generate the distribution without the source file"> |
45 |
|
|
45 |
|
|
46 | 46 |
<!-- Create the distribution directory --> |
47 | 47 |
<mkdir dir="${dist}"/> |
48 |
|
|
48 |
|
|
49 | 49 |
<!-- Jars de las extensiones --> |
50 |
<jar jarfile="${dist}/${jarName}" basedir="${build}"
|
|
50 |
<jar jarfile="${dist}/${jarName}" basedir="${build}" |
|
51 | 51 |
includes="org/gvsig/rasterTools/**" |
52 | 52 |
excludes="org/gvsig/rasterTools/brightnessContrast/**,org/gvsig/rasterTools/histogram/**"/> |
53 |
|
|
53 |
|
|
54 | 54 |
<!-- Instala extensión salvar a raster --> |
55 | 55 |
<move todir="${extensionsDir}/${plugin}/"> |
56 | 56 |
<fileset dir="${dist}" includes="${jarName}"/> |
... | ... | |
65 | 65 |
<copy todir="${extensionsDir}/${plugin}/images"> |
66 | 66 |
<fileset dir="./images/" includes="*"/> |
67 | 67 |
</copy> |
68 |
|
|
68 |
|
|
69 | 69 |
</target> |
70 | 70 |
|
71 | 71 |
<target name="batch-build" |
... | ... | |
84 | 84 |
debuglevel="${debuglevel}" |
85 | 85 |
classpath="${compile-classpath}" |
86 | 86 |
encoding="${encoding}"/> |
87 |
<copy todir="${build}"> |
|
88 |
<fileset |
|
89 |
dir="${src}" |
|
90 |
excludes="**/*.java"/> |
|
91 |
</copy> |
|
92 |
|
|
87 | 93 |
</target> |
88 |
|
|
94 |
|
|
89 | 95 |
<target name="create-jar" |
90 | 96 |
description="Creates the plugin jar"> |
91 | 97 |
<mkdir dir="${dist}"/> |
92 |
<jar jarfile="${dist}/${jarName}" basedir="${build}"
|
|
98 |
<jar jarfile="${dist}/${jarName}" basedir="${build}" |
|
93 | 99 |
includes="org/gvsig/rasterTools/**" |
94 | 100 |
excludes="org/gvsig/rasterTools/brightnessContrast/**,org/gvsig/rasterTools/histogram/**"/> |
95 | 101 |
</target> |
... | ... | |
105 | 111 |
<fileset dir="images/" includes="*"/> |
106 | 112 |
</copy> |
107 | 113 |
</target> |
108 |
|
|
114 |
|
|
109 | 115 |
<target name="move-to-andami"> |
110 | 116 |
<move todir="${extensionsDir}/${plugin}/"> |
111 | 117 |
<fileset dir="${dist}" includes="**/**"/> |
Also available in: Unified diff