Project

General

Profile

« Previous | Next » 

Revision 1612

Added by Jing Tao over 21 years ago

Add new target getdtdschema and get rid of htttpclient.

View differences:

build.xml
65 65
      <property name="systemidserver" value="http://pine.nceas.ucsb.edu:8080" />
66 66
      <property name="datafilepath" value="/usr/local/devtools/jakarta-tomcat/data/tao/data" />
67 67
      <property name="inlinedatafilepath" value="/usr/local/devtools/jakarta-tomcat/data/tao/inlinedata" />
68
      <property name="debuglevel" value="45" />
68
      <property name="debuglevel" value="55" />
69 69
      <property name="forcereplicationwaitingtime" value="30000"/>
70 70
      <property name="cvsroot"
71 71
                value=":ext:tao@cvs.ecoinformatics.org:/cvs" />
......
101 101
                value="lib/configxml.jar" />
102 102
      <property name="itislib"
103 103
                value="lib/itislib.jar" />
104
      <property name="httpclientjar"
105
                value="lib/httpclient.jar" />
106

  
107 104
      <property name="emlparser"
108 105
                value="lib/eml.jar" />
109 106
  </target>
......
132 129
      <property name="eml2namespace" value="eml://ecoinformatics.org/eml-2.0.0" />
133 130

  
134 131
      <property name="cpath"
135
                value="${xmlp}:${xalan}:${apis}:${jdbc}:${jsdk}:${srb}:${cos}:${morpho}:${emlparser}:${httpclientjar}"/>
132
                value="${xmlp}:${xalan}:${apis}:${jdbc}:${jsdk}:${srb}:${cos}:${morpho}:${emlparser}"/>
136 133

  
137 134
      <filter token="docrooturl" value="./" />
138 135
      <filter token="jdbc-connect" value="${jdbc-connect}"/>
......
231 228
            includes="**/protocols/" />
232 229
   </target>
233 230

  
231
   <target name="getdtdschema" depends="prepare">
232
     <echo>Enter CVS password: </echo>
233
     <cvs cvsRoot="${cvsroot}"
234
          package="${eml-module}"
235
          tag="${eml-tag}"
236
          dest="${build.src}" />
237
     <mkdir dir="lib/dtd" />
238
     <copy todir="lib/dtd" filtering="yes">
239
       <fileset dir="${build.src}/${eml-module}">
240
         <include name="*.dtd"/>
241
       </fileset>
242
       <mapper type="glob" from="eml-*.dtd" to="eml-*-${eml-version}.dtd" />
243
     </copy>
244
     <echo>Enter CVS password: </echo>
245
     <cvs cvsRoot="${cvsroot}"
246
          package="${eml-module}"
247
          tag="${eml2-tag}"
248
          dest="${build.src}" />
249
     <mkdir dir="lib/schema" />
250
     <copy todir="lib/schema" filtering="yes">
251
       <fileset dir="${build.src}/${eml-module}">
252
         <include name="*.xsd"/>
253
       </fileset>
254
     </copy>
255
     <copy todir="lib/style">
256
       <fileset dir="${build.src}/${eml-module}/style">
257
       <include name="*.xsl"/>
258
     </fileset>
259
     </copy>
260
   </target>
261

  
234 262
   <target name="getdtd" depends="prepare">
235 263
     <echo>Enter CVS password: </echo>
236 264
     <cvs cvsRoot="${cvsroot}"
......
312 340
             tofile="${installdir}/WEB-INF/lib/configxml.jar" />
313 341
       <copy file="${itislib}"
314 342
             tofile="${installdir}/WEB-INF/lib/itislib.jar" />
315
       <copy file="${httpclientjar}"
316
             tofile="${installdir}/WEB-INF/lib/httpclient.jar" />
317 343
       <copy file="lib/web.xml"
318 344
             tofile="${installdir}/WEB-INF/web.xml" />
319 345
       <copy todir="${build.img}" filtering="no">
......
349 375
      <javac srcdir="${junittestsdir}"
350 376
             destdir="${build.metacattest}"
351 377
             classpath="${cpath}:${build.dir}/${name}.jar"
378
             debug="on"
352 379
       includes="**/*.java" />
353 380

  
354 381
      <jar jarfile="${build.dir}/${name}-junittests.jar"

Also available in: Unified diff