Changeset 18515

Show
Ignore:
Timestamp:
13.02.2009 14:21:37 (11 years ago)
Author:
oranfry
Message:

corrections to build.xml to protect against problems

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/build.xml

    r18505 r18515  
    5555  </if> 
    5656 
     57  <!-- create the packages dir if it has not been created yet --> 
     58  <mkdir dir="packages"/> 
    5759   
    5860  <!--the first three properties have to be put on the top to be used by build.properties--> 
     
    10771079    <copy file="${build.home}/phind.jar" todir="${web.applet}"/> 
    10781080    <!-- phind also needs xercesImpl.jar and xml-apis.jar to be in web/applet --> 
    1079     <copy file="${packages.home}/tomcat/common/endorsed/xercesImpl.jar" todir="${web.applet}"/> 
    1080     <copy file="${packages.home}/tomcat/common/endorsed/xml-apis.jar" todir="${web.applet}"/> 
     1081    <if> 
     1082      <bool><istrue value="${tomcat.islocal}"/></bool> 
     1083      <copy file="${packages.home}/tomcat/common/endorsed/xercesImpl.jar" todir="${web.applet}"/> 
     1084      <copy file="${packages.home}/tomcat/common/endorsed/xml-apis.jar" todir="${web.applet}"/> 
     1085    </if> 
     1086 
     1087 
    10811088    <!-- skip anttasks for now 
    10821089    <jar destfile="${build.home}/anttasks.jar"> 
     
    11171124  <target name="checkout-indexers" depends="init" if="independent-indexers" unless="nosvn.mode"> 
    11181125    <svn> 
    1119       <checkout url="${svn.root}/indexers/${branch.path}" dest="${src.packages.home}/indexers" revision="${branch.revision}"/> 
     1126      <checkout url="${svn.root}/indexers/${branch.path}" destPath="${src.packages.home}/indexers" revision="${branch.revision}"/> 
    11201127    </svn> 
    11211128  </target>