Revision 6325 trunk/libraries/libUI/build.xml
build.xml | ||
---|---|---|
27 | 27 |
<!-- pathconvert property="beans.home" pathsep=" "> |
28 | 28 |
<mapper> |
29 | 29 |
<chainedmapper> |
30 |
|
|
30 |
|
|
31 | 31 |
<flattenmapper /> |
32 |
|
|
32 |
|
|
33 | 33 |
<globmapper from="*" to="lib/*" /> |
34 | 34 |
</chainedmapper> |
35 | 35 |
</mapper> |
36 |
|
|
36 |
|
|
37 | 37 |
<path> |
38 |
|
|
38 |
|
|
39 | 39 |
<fileset dir="${beans.home}"> |
40 | 40 |
<include name="**/*.class" /> |
41 | 41 |
</fileset> |
... | ... | |
50 | 50 |
<copy todir="${dist}/org/gvsig/gui/beans/resources/translations"> |
51 | 51 |
<fileset dir="config" includes="*" /> |
52 | 52 |
</copy> |
53 |
<!-- Put everything in ${build} into the cms-${DSTAMP}.jar file -->
|
|
53 |
<!-- Put everything in ${build} into the cms-${DSTAMP}.jar file --> |
|
54 | 54 |
<jar jarfile="${dist}/${jarName}.jar" basedir="${build}"> |
55 | 55 |
<manifest> |
56 | 56 |
<section name="common"> |
... | ... | |
63 | 63 |
</manifest> |
64 | 64 |
</jar> |
65 | 65 |
<jar jarfile="${dist}/${jarName}.jar" basedir="." includes = "images/*.gif" update="true" /> |
66 |
|
|
66 |
<copy todir="${dist}"> |
|
67 |
<fileset dir="${lib}" includes="**/**"/> |
|
68 |
</copy> |
|
67 | 69 |
<move todir="${installDir}"> |
68 | 70 |
<fileset dir="${dist}" includes="**/**"/> |
69 | 71 |
</move> |
... | ... | |
78 | 80 |
<delete dir="${dist}"/> |
79 | 81 |
</target> |
80 | 82 |
|
81 |
|
|
83 |
|
|
82 | 84 |
<target name="batch-build" |
83 | 85 |
description="compile the sources, create the jar file" |
84 | 86 |
depends="compile,copy-data-files,create-jar,move-to-installDir"> |
85 | 87 |
</target> |
86 |
|
|
88 |
|
|
87 | 89 |
<target name="compile" description="compile the source"> |
88 | 90 |
<!-- Create the time stamp --> |
89 | 91 |
<tstamp/> |
... | ... | |
95 | 97 |
debug="${debug}" |
96 | 98 |
debuglevel="${debuglevel}" |
97 | 99 |
classpath="${compile-classpath}"/> |
98 |
</target>
|
|
100 |
</target> |
|
99 | 101 |
|
100 | 102 |
<target name="copy-data-files"> |
101 | 103 |
<mkdir dir="config"/> |
... | ... | |
103 | 105 |
<fileset dir="config" includes="*" /> |
104 | 106 |
</copy> |
105 | 107 |
</target> |
106 |
|
|
108 |
|
|
107 | 109 |
<target name="create-jar" description="Creates the jar file"> |
108 | 110 |
<mkdir dir="${dist}"/> |
109 | 111 |
<jar jarfile="${dist}/${jarName}.jar" basedir="${build}"> |
... | ... | |
119 | 121 |
</jar> |
120 | 122 |
<jar jarfile="${dist}/${jarName}.jar" basedir="." includes="images/*" update="true" /> |
121 | 123 |
</target> |
122 |
|
|
124 |
|
|
123 | 125 |
<target name="move-to-installDir" description="Moves the build directory to andami"> |
126 |
<copy todir="${dist}"> |
|
127 |
<fileset dir="${lib}" includes="**/**"/> |
|
128 |
</copy> |
|
124 | 129 |
<move todir="${installDir}"> |
125 | 130 |
<fileset dir="${dist}" includes="**/**"/> |
126 | 131 |
</move> |
132 |
|
|
133 |
<!--move todir="${installDir}"> |
|
134 |
<fileset dir="${dist}" includes="**/**"/> |
|
135 |
</move--> |
|
127 | 136 |
</target> |
128 |
|
|
137 |
|
|
129 | 138 |
</project> |
130 | 139 |
|
Also available in: Unified diff