Changeset 15035

Show
Ignore:
Timestamp:
04.03.2008 11:17:45 (11 years ago)
Author:
shaoqun
Message:

write a target to copy xalan.jar to endorsed dir of tomcat

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/build.xml

    r15034 r15035  
    457457  <target name="activate-xalan-jar" if="need.xalan.jar"> 
    458458    <copy file="${web.lib}/xalan.jar.tmp" tofile="${web.lib}/xalan.jar"/> 
    459     <copy file="${web.lib}/xalan.jar.tmp" tofile="${tomcat.installed.path}/common/endorsed/xalan.jar" if="current.os.ismac"/>  
    460   </target> 
    461    
     459    <antcall target="copy-xalan-for-mac" /> 
     460  </target> 
     461 
     462  <target name="copy-xalan-for-mac" if="current.os.ismac"> 
     463       <copy file="${web.lib}/xalan.jar.tmp" tofile="${tomcat.installed.path}/common/endorsed/xalan.jar"/>  
     464  </target> 
     465 
    462466  <target name="deactivate-xalan-jar" unless="need.xalan.jar"> 
    463467    <delete file="${web.lib}/xalan.jar"/>