Changeset 19894

Show
Ignore:
Timestamp:
24.06.2009 11:51:06 (10 years ago)
Author:
kjdon
Message:

modified install-commonm-src adnnn install-collection-building so no bits are done unless needed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/build.xml

    r19878 r19894  
    317317    description="Install Greenstone 3. Use this when you first checkout the code: 'ant prepare new-install'."/> 
    318318 
    319   <target name="install-common-src" depends="init,configure-common-src,compile-common-src,install-auxiliary-jar-files,install-jni-files" 
    320     description="Install (configure, compile, install) only the common-src package (shared code from Greenstone 2. This is only needed when not installing the collection building package." /> 
    321  
    322   <target name="install-collection-building" depends="init,configure-collection-building,compile-collection-building,install-auxiliary-jar-files,install-jni-files" 
    323     description="Install (configure, compile, install) the Greenstone 2 collection building package." /> 
     319  <target name="install-common-src" depends="init" if="collection.building.disabled" 
     320    description="Install (configure, compile, install) only the common-src package (shared code from Greenstone 2. This is only needed when not installing the collection building package." > 
     321    <antcall target="configure-common-src"/> 
     322    <antcall target="compile-common-src"/> 
     323    <antcall target="install-auxiliary-jar-files"/> 
     324    <antcall target="install-jni-files"/> 
     325  </target> 
     326 
     327  <target name="install-collection-building" depends="init" if="collection.building.enabled" 
     328    description="Install (configure, compile, install) the Greenstone 2 collection building package." > 
     329    <antcall target="configure-collection-building"/> 
     330    <antcall target="compile-collection-building"/> 
     331    <antcall target="install-auxiliary-jar-files"/> 
     332    <antcall tartget="install-jni-files"/> 
     333  </target> 
     334     
    324335 
    325336  <target name="install-runtime" depends="init,configure,configure-packages,configure-core,compile-web,compile-packages,compile-core"