Project

General

Profile

Revision 1938

Added by brooke almost 18 years ago

changed getdtdschema tarhet to copy eml css to cvs source tree metacat/lib/style/common directory, same as the copy for the XSL stylesheets. Created new ant parameter to hold value of path lib/style/common.

View differences:

build.xml
138 138
      <property name="systemidserver"      value="http://${server}"/>
139 139
      <property name="style-common-relpath" 
140 140
                                           value="/style/common"/>
141
      <property name="style-common-cvsrelpath" 
142
                                           value="lib${style-common-relpath}"/>
141 143
      <property name="style-common-fullpath" 
142 144
                                           value="/${installdir}${style-common-relpath}"/>
143 145
      <property name="style-common-path" 
......
331 333
       </fileset>
332 334
       <mapper type="glob" from="eml-*.dtd" to="eml-*-${eml-version}.dtd" />
333 335
     </copy>
334
     <copy todir="lib/style/common" filtering="yes">
336
     <copy todir="${style-common-cvsrelpath}" filtering="yes">
335 337
       <fileset dir="${build.tmp}/${eml-module}/style">
336 338
       <include name="**/*.xsl"/>
337 339
     </fileset>
......
346 348
         <include name="*.xsd"/>
347 349
       </fileset>
348 350
     </copy>
349
     <copy todir="lib/style/common" filtering="yes">
351
     <copy todir="${style-common-cvsrelpath}" filtering="yes">
350 352
       <fileset dir="${build.tmp}/${eml-module}/style">
351 353
       <include name="**/*.xsl"/>
352 354
     </fileset>
......
355 357
     <!-- now copy default css from eml module and put it in style-common-path 
356 358
          dir with a new name, so other skin-specific css can import it if reqd -->
357 359
     <copy file="${build.tmp}/${eml-module}/${eml-module.default.css}"
358
           tofile="${style-common-fullpath}/${eml-css}" />
360
           tofile="${style-common-cvsrelpath}/${eml-css}" />
359 361
   </target>
360 362

  
361 363
   <target name="getdtd" depends="prepare">

Also available in: Unified diff