Revision 879
Added by Matt Jones about 23 years ago
build.xml | ||
---|---|---|
162 | 162 |
package="${eml-module}" |
163 | 163 |
tag="${eml-tag}" |
164 | 164 |
dest="${build.src}" /> |
165 |
<mkdir dir="lib/dtd" /> |
|
166 |
<copy todir="lib/dtd" filtering="yes"> |
|
167 |
<fileset dir="${build.src}/${eml-module}"> |
|
168 |
<include name="*.dtd"/> |
|
169 |
</fileset> |
|
170 |
<mapper type="glob" from="eml-*.dtd" to="eml-*-${eml-version}.dtd" /> |
|
171 |
</copy> |
|
165 | 172 |
</target> |
166 | 173 |
|
167 |
<target name="instdtd" depends="getdtd">
|
|
174 |
<target name="instdtd"> |
|
168 | 175 |
<mkdir dir="${installdir}/dtd" /> |
169 | 176 |
<copy todir="${installdir}/dtd" filtering="yes"> |
170 |
<fileset dir="${build.src}/${eml-module}">
|
|
177 |
<fileset dir="lib/dtd">
|
|
171 | 178 |
<include name="*.dtd"/> |
172 | 179 |
</fileset> |
173 |
<mapper type="glob" from="eml-*.dtd" to="eml-*-${eml-version}.dtd" /> |
|
174 | 180 |
</copy> |
175 | 181 |
</target> |
176 | 182 |
|
... | ... | |
245 | 251 |
/> |
246 | 252 |
</target> |
247 | 253 |
|
248 |
<target name="dist" depends="jar,protocol,jdoc"> |
|
254 |
<target name="dist" depends="jar,protocol,jdoc,getdtd">
|
|
249 | 255 |
<mkdir dir="${dist.dir}"/> |
250 | 256 |
<delete dir="${ver.dir}" /> |
251 | 257 |
<mkdir dir="${ver.dir}"/> |
Also available in: Unified diff
Updated build.xml to improve dtd handling so that DTDs can be included in
the distribution.