Project

General

Profile

« Previous | Next » 

Revision 1778

Added by Jing Tao over 21 years ago

Change the code for getdtd getschema and getdtdschema. Eml module will be check out to build/tmp rather than build/src. Otherwise it will cause problem in knbweb install.

View differences:

build.xml
78 78
      <property name="webapps" value="/usr/local/devtools/jakarta-tomcat/webapps" />
79 79
      <property name="context" value="tao" />
80 80
      <property name="user" value="tao"/>
81
      <property name="password" value="tdataint"/>
81
      <property name="password" value=""/>
82 82
      <!-- Tomcat version, if you use tomcat 3, please fill it "tomcat3". If you using tomcat4, please fill it "tomcat4"-->
83 83
      <property name="tomcatversion" value="tomcat4"/>
84 84

  
......
194 194
      <property name="build.docs" value="${build.dir}/docs"/>
195 195
      <property name="build.samples" value="${build.dir}/samples"/>
196 196
      <property name="build.tests" value="${build.dir}/tests"/>
197
      <property name="build.tmp" value="${build.dir}/tmp"/>
197 198
      <property name="build.metacattest" value="${build.tests}/metacattest"/>
198 199
      <property name="build.metacatnettest" value="${build.tests}/metacatnettest"/>
199 200
      <property name="build.data" value="${build.dir}/data"/>
......
212 213
      <mkdir dir="${build.src}"/>
213 214
      <mkdir dir="${build.dest}"/>
214 215
      <mkdir dir="${build.javadocs}"/>
216
      <mkdir dir="${build.tmp}"/>
215 217

  
216 218
      <copy todir="${build.src}" filtering="yes">
217 219
        <fileset dir="${srcdir}">
......
257 259
     <cvs cvsRoot="${cvsroot}"
258 260
          package="${eml-module}"
259 261
          tag="${eml-tag}"
260
          dest="${build.src}" />
262
          dest="${build.tmp}" />
261 263
     <mkdir dir="lib/dtd" />
262 264
     <copy todir="lib/dtd" filtering="yes">
263
       <fileset dir="${build.src}/${eml-module}">
265
       <fileset dir="${build.tmp}/${eml-module}">
264 266
         <include name="*.dtd"/>
265 267
       </fileset>
266 268
       <mapper type="glob" from="eml-*.dtd" to="eml-*-${eml-version}.dtd" />
......
269 271
     <cvs cvsRoot="${cvsroot}"
270 272
          package="${eml-module}"
271 273
          tag="${eml2-tag}"
272
          dest="${build.src}" />
274
          dest="${build.tmp}" />
273 275
     <mkdir dir="lib/schema" />
274 276
     <copy todir="lib/schema" filtering="yes">
275
       <fileset dir="${build.src}/${eml-module}">
277
       <fileset dir="${build.tmp}/${eml-module}">
276 278
         <include name="*.xsd"/>
277 279
       </fileset>
278 280
     </copy>
279 281
     <copy todir="lib/style">
280
       <fileset dir="${build.src}/${eml-module}/style">
282
       <fileset dir="${build.tmp}/${eml-module}/style">
281 283
       <include name="*.xsl"/>
282 284
     </fileset>
283 285
     </copy>
......
288 290
     <cvs cvsRoot="${cvsroot}"
289 291
          package="${eml-module}"
290 292
          tag="${eml-tag}"
291
          dest="${build.src}" />
293
          dest="${build.tmp}" />
292 294
     <mkdir dir="lib/dtd" />
293 295
     <copy todir="lib/dtd" filtering="yes">
294
       <fileset dir="${build.src}/${eml-module}">
296
       <fileset dir="${build.tmp}/${eml-module}">
295 297
         <include name="*.dtd"/>
296 298
       </fileset>
297 299
       <mapper type="glob" from="eml-*.dtd" to="eml-*-${eml-version}.dtd" />
......
303 305
     <cvs cvsRoot="${cvsroot}"
304 306
          package="${eml-module}"
305 307
          tag="${eml2-tag}"
306
          dest="${build.src}" />
308
          dest="${build.tmp}" />
307 309
     <mkdir dir="lib/schema" />
308 310
     <copy todir="lib/schema" filtering="yes">
309
       <fileset dir="${build.src}/${eml-module}">
311
       <fileset dir="${build.tmp}/${eml-module}">
310 312
         <include name="*.xsd"/>
311 313
       </fileset>
312 314
     </copy>
313 315
     <copy todir="lib/style">
314
       <fileset dir="${build.src}/${eml-module}/style">
316
       <fileset dir="${build.tmp}/${eml-module}/style">
315 317
       <include name="*.xsl"/>
316 318
     </fileset>
317 319
     </copy>

Also available in: Unified diff