Project

General

Profile

Revision 1954

Added by Matt Jones over 17 years ago

Build changes that allow the registry install dependency on the beta
6 stylesheet converters to be automatically satisfied. Now, if the
webmdentry module hasn't been checked out, it is, but otherwise the
checkout is skipped. A similar technique could be used for the EML
checkout dependencies.

View differences:

build.xml
277 277
          <exclude name="**/.#*"/>
278 278
        </fileset>
279 279
      </copy>
280
      <available file="build/tmp/${conversion-module}" type="dir" 
281
                 property="styles.not.needed"/>
280 282
   </target>
281 283

  
282 284
   <target name="compile" depends="prepare,utilities"
......
502 504
       <unwar src="${webapps}/${context}.war" dest="${webapps}/${context}" />
503 505
   </target>
504 506

  
505
   <target name="install-registry" depends="init" 
507
   <target name="install-registry" depends="init,getConversionXSL" 
506 508
            description="Install Registry">
507 509
            
508 510
      <copy file="${srcdir}/perl/register-dataset.cgi"
......
587 589
       <copy file="${jdbc-add2}" tofile="${war.lib}/mssqlserver.jar" />
588 590
   </target>
589 591

  
590
   <target name="getBeta6ConversionStyles" depends="prepare"
592
   <target name="getConversionXSL" depends="prepare" 
593
            unless="styles.not.needed"
591 594
            description="Gets the conversion stylesheets for eml2 beta 6 to eml 2.0.0">
592 595
     <echo>Enter CVS password: </echo>
593 596
     <cvs cvsRoot="${cvsroot-alternate}"

Also available in: Unified diff