Project

General

Profile

« Previous | Next » 

Revision 2228

Added by sgarg over 20 years ago

Changes directory names and paths of eml checkouts. Added eml-2.0.1 to the eml versions to be checked out.

View differences:

lib/metacat.properties
58 58

  
59 59
eml2_0_0namespace=@eml2_0_0namespace@
60 60

  
61
eml2_0_1namespace=@eml2_0_1namespace@
62

  
61 63
eml2_1_0namespace=@eml2_1_0namespace@
62 64

  
63 65
packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
build.xml
178 178
      <property name="eml-module"          value="eml" />
179 179
      <property name="eml-version"         value="2.0.0beta6" />
180 180
      <property name="eml-tag"             value="EML_2_0_0_BETA_6_FOR_METACAT" />
181
      <property name="eml2-tag"            value="EML_2_0_0_FOR_METACAT_WITH_BUGFIX" />
182
      <property name="eml2_0_0namespace"       value="eml://ecoinformatics.org/eml-2.0.0" />
183
      <property name="eml2_1_0namespace"       value="eml://ecoinformatics.org/eml-2.1.0" />
181
      <property name="eml2_0_0-tag"        value="EML_2_0_0_FOR_METACAT_WITH_BUGFIX" />
182
      <property name="eml2_0_1-tag"        value="EML_2_0_1_FOR_METACAT" />
183
      <property name="eml2_0_0namespace"   value="eml://ecoinformatics.org/eml-2.0.0" />
184
      <property name="eml2_0_1namespace"   value="eml://ecoinformatics.org/eml-2.0.1" />
185
      <property name="eml2_1_0namespace"   value="eml://ecoinformatics.org/eml-2.1.0" />
184 186
      <property name="stmmlnamespace"      value="http://www.xml-cml.org/schema/stmml" />
185 187
      <property name="eml-css"             value="eml_xsl.css"/>
186 188
      <property name="eml-module.default.css"
......
247 249
      <filter token="default-style" value="${default-style}"/>
248 250
      <filter token="eml-version" value="${eml-version}"/>
249 251
      <filter token="eml2_0_0namespace" value="${eml2_0_0namespace}"/>
252
      <filter token="eml2_0_1namespace" value="${eml2_0_1namespace}"/>
250 253
      <filter token="eml2_1_0namespace" value="${eml2_1_0namespace}"/>
251 254
      <filter token="stmmlnamespace" value="${stmmlnamespace}"/>
252 255
      <filter token="context" value="${context}"/>
......
382 385
       </fileset>
383 386
       <mapper type="glob" from="eml-*.dtd" to="eml-*-${eml-version}.dtd" />
384 387
     </copy>
385
     <antcall target="copyxsl">
386
        <param name="cvs.tagname" value="${eml-tag}" />
387
     </antcall>
388

  
389
     <copy todir="${style-common-cvsrelpath}" filtering="yes">
390
       <fileset dir="${build.tmp}/eml_${eml-tag}/${eml-module}/style">
391
       <include name="**/*.xsl"/>
392
     </fileset>
393
     </copy>
388 394
   </target>
389 395

  
390 396
   <target name="geteml2+" depends="prepare"
......
392 398
     <echo>Enter CVS password: </echo>
393 399
     <cvs cvsRoot="${cvsroot}"
394 400
          package="${eml-module}"
395
          tag="${eml2-tag}"
396
          dest="${build.tmp}/eml_${eml2-tag}" />
397
     <mkdir dir="lib/schema" />
398
     <copy todir="lib/schema" filtering="yes">
399
       <fileset dir="${build.tmp}/eml_${eml2-tag}/${eml-module}">
401
          tag="${eml2_0_0-tag}"
402
          dest="${build.tmp}/eml_${eml2_0_0-tag}" />
403
     <mkdir dir="lib/schema/eml-2.0.0" />
404
     <copy todir="lib/schema/eml-2.0.0" filtering="yes">
405
       <fileset dir="${build.tmp}/eml_${eml2_0_0-tag}/${eml-module}">
400 406
         <include name="*.xsd"/>
401 407
       </fileset>
402 408

  
......
408 414

  
409 415
     </copy>
410 416
     <antcall target="copyxsl">
411
        <param name="cvs.tagname" value="${eml2-tag}" />
417
        <param name="cvs.tagname" value="${eml2_0_0-tag}" />
418
        <param name="dirname" value="eml-2.0.0" />
412 419
     </antcall>
420

  
421
     <echo>Enter CVS password: </echo>
422
     <cvs cvsRoot="${cvsroot}"
423
          package="${eml-module}"
424
          tag="${eml2_0_1-tag}"
425
          dest="${build.tmp}/eml_${eml2_0_1-tag}" />
426
     <mkdir dir="lib/schema/eml-2.0.1" />
427
     <copy todir="lib/schema/eml-2.0.1" filtering="yes">
428
       <fileset dir="${build.tmp}/eml_${eml2_0_1-tag}/${eml-module}">
429
         <include name="*.xsd"/>
430
       </fileset>
431
     </copy>
432
     <antcall target="copyxsl">
433
        <param name="cvs.tagname" value="${eml2_0_1-tag}" />
434
        <param name="dirname" value="eml-2.0.1" />
435
     </antcall>
413 436
   </target>
414 437

  
415 438

  
......
419 442

  
420 443
     <delete file="${style-common-cvsrelpath}/${eml-css}"/>
421 444

  
422
     <copy todir="${style-common-cvsrelpath}" filtering="yes">
423
       <fileset dir="${build.tmp}/eml_${cvs.tagname}/${eml-module}/style">
445
     <copy todir="${style-common-cvsrelpath}/${dirname}" filtering="yes">
446
       <fileset dir="${build.tmp}/eml_${cvs.tagname}/${eml-module}/style/eml">
424 447
       <include name="**/*.xsl"/>
425 448
     </fileset>
426 449
     </copy>

Also available in: Unified diff