Project

General

Profile

« Previous | Next » 

Revision 3807

Added by Jing Tao over 16 years ago

Separate eml201 schema (RELEASE_EML_2_0_1) and style tag (RELEASE_EML_2_0_1_UPDATE_6).

View differences:

build.xml
209 209
      <property name="eml-version"         value="2.0.0beta6" />
210 210
      <property name="eml-tag"             value="EML_2_0_0_BETA_6_FOR_METACAT" />
211 211
      <property name="eml2_0_0-tag"        value="RELEASE_EML_2_0_0_UPDATE_1" />
212
      <property name="eml2_0_1-tag"        value="RELEASE_EML_2_0_1_UPDATE_6" />
212
      <property name="eml2_0_1-schema-tag" value="RELEASE_EML_2_0_1" />
213
      <property name="eml2_0_1-style-tag"  value="RELEASE_EML_2_0_1_UPDATE_6" />
213 214
      <property name="eml2_0_0namespace"   value="eml://ecoinformatics.org/eml-2.0.0" />
214 215
      <property name="eml2_0_1namespace"   value="eml://ecoinformatics.org/eml-2.0.1" />
215 216
      <property name="eml2_1_0namespace"   value="eml://ecoinformatics.org/eml-2.1.0" />
......
580 581
        <param name="cvs.tagname" value="${eml2_0_0-tag}" />
581 582
        <param name="dirname" value="eml-2.0.0" />
582 583
     </antcall> -->
583

  
584
   	
585
   	<!-- Checkout eml201 for given schema tag-->
584 586
     <echo>Enter CVS password: </echo>
585 587
     <cvs cvsRoot="${cvsroot}"
586 588
          package="${eml-module}"
587
          tag="${eml2_0_1-tag}"
588
          dest="${build.tmp}/eml_${eml2_0_1-tag}" />
589
          tag="${eml2_0_1-schema-tag}"
590
          dest="${build.tmp}/eml_${eml2_0_1-schema-tag}" />
589 591
     <mkdir dir="lib/schema/eml-2.0.1" />
590 592
     <copy todir="lib/schema/eml-2.0.1" filtering="yes">
591
       <fileset dir="${build.tmp}/eml_${eml2_0_1-tag}/${eml-module}">
593
       <fileset dir="${build.tmp}/eml_${eml2_0_1-schema-tag}/${eml-module}">
592 594
         <include name="*.xsd"/>
593 595
       </fileset>
594 596
     </copy>
597
   	
598
   	<!-- Checkout eml201 again for given style sheet tag-->
599
   	<echo>Enter CVS password: </echo>
600
   	     <cvs cvsRoot="${cvsroot}"
601
   	          package="${eml-module}"
602
   	          tag="${eml2_0_1-style-tag}"
603
   	          dest="${build.tmp}/eml_${eml2_0_1-style-tag}" />
595 604
     <antcall target="copyxsl">
596
        <param name="cvs.tagname" value="${eml2_0_1-tag}" />
605
        <param name="cvs.tagname" value="${eml2_0_1-style-tag}" />
597 606
        <param name="dirname" value="eml-2.0.1" />
598 607
     </antcall>
599 608
   </target>
600 609

  
601 610
   <target  name="copyxsl"
602 611
   description="Copies xsl stylesheets from checkout in build/tmp to your metacat cvs sandbox">
603

  
604 612
     <delete file="${style-common-cvsrelpath}/${eml-css}"/>
605 613

  
606 614
     <copy todir="${style-common-cvsrelpath}/${dirname}" filtering="yes">

Also available in: Unified diff