Changeset 17958

Show
Ignore:
Timestamp:
28.11.2008 12:06:12 (11 years ago)
Author:
oranfry
Message:

export-gsdl-gli target now shared among rk2s

Location:
release-kits
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • release-kits/lirk2/ant-scripts/create-distribution.xml

    r17956 r17958  
    44    <target name="create-distribution"> 
    55 
    6         <antcall target="export-gsdl-gli" /> 
     6        <antcall target="export-gsdl-gli"><param name="dest" value="distributions/web"/></antcall> 
    77        <antcall target="gsdl-set-version-numbers"><param name="gsdl.basedir" value="${basedir}/distributions/web"/></antcall> 
    88        <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distributions/web/gli"/></antcall> 
     
    1919        <antcall target="remove-unneeded-files-2" /> 
    2020 
    21     </target> 
    22  
    23     <target name="export-gsdl-gli"> 
    24         <mkdir dir="distributions"/> 
    25         <delete dir="distributions/web"/> 
    26         <svn> 
    27             <export srcurl="${svn.root}/gsdl/${branch.path}" destPath="distributions/web"/> 
    28             <export srcurl="${svn.root}/gli/${branch.path}" destPath="distributions/web/gli"/> 
    29         </svn> 
    3021    </target> 
    3122 
  • release-kits/mark2/ant-scripts/create-distribution.xml

    r17956 r17958  
    44    <target name="create-distribution"> 
    55 
    6         <antcall target="export-gsdl-gli" /> 
     6        <antcall target="export-gsdl-gli"><param name="dest" value="distributions/web"/></antcall> 
    77        <antcall target="gsdl-set-version-numbers"><param name="gsdl.basedir" value="${basedir}/distributions/web"/></antcall> 
    88        <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distributions/web/gli"/></antcall> 
     
    2020        <antcall target="remove-unneeded-files-2" /> 
    2121 
    22     </target> 
    23  
    24     <target name="export-gsdl-gli"> 
    25         <mkdir dir="distributions"/> 
    26         <delete dir="distributions/web"/> 
    27         <svn javahl="false"> 
    28             <export srcurl="${svn.root}/gsdl/${branch.path}" destPath="distributions/web"/> 
    29             <export srcurl="${svn.root}/gli/${branch.path}" destPath="distributions/web/gli"/> 
    30         </svn> 
    3122    </target> 
    3223 
  • release-kits/shared/ant-scripts/init.xml

    r17953 r17958  
    395395    </target> 
    396396 
    397     <target name="export-gsdl-gli"> 
    398         <delete dir="${dest}"/> 
    399         <svn> 
    400             <export srcurl="${svn.root}/gsdl/${branch.path}" destPath="${dest}"/> 
    401             <export srcurl="${svn.root}/gli/${branch.path}" destPath="${dest}/gli"/> 
    402         </svn> 
    403     </target> 
    404  
    405397</project> 
  • release-kits/shared/greenstone2/ant-scripts/rk2-targets.xml

    r17953 r17958  
    1111 
    1212    <property name="version.major" value="2"/> 
     13 
     14    <target name="export-gsdl-gli"> 
     15        <delete dir="${dest}"/> 
     16        <svn> 
     17            <export srcurl="${svn.root}/gsdl/${branch.path}" destPath="${dest}"/> 
     18            <export srcurl="${svn.root}/gli/${branch.path}" destPath="${dest}/gli"/> 
     19        </svn> 
     20    </target> 
    1321 
    1422    <target name="gsdl-set-version-numbers"> 
  • release-kits/wirk2/ant-scripts/create-distribution.xml

    r17956 r17958  
    44    <target name="create-distribution"> 
    55 
    6         <antcall target="export-gsdl-gli" /> 
     6        <antcall target="export-gsdl-gli"><param name="dest" value="distributions/web"/></antcall> 
    77        <antcall target="gsdl-set-version-numbers"><param name="gsdl.basedir" value="${basedir}/distributions/web"/></antcall> 
    88        <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distributions/web/gli"/></antcall> 
     
    2121    </target> 
    2222 
    23     <target name="export-gsdl-gli"> 
    24         <mkdir dir="distributions"/> 
    25         <delete dir="distributions/web"/> 
    26         <svn> 
    27             <export srcurl="${svn.root}/gsdl/${branch.path}"        destPath="distributions/web"/> 
    28             <export srcurl="${svn.root}/gli/${branch.path}"         destPath="distributions/web/gli"/> 
    29         </svn> 
    30     </target> 
    31  
    3223    <target name="drop-in-binaries"> 
    3324        <echo level="info">Dropping compiled binaries into distribution</echo> 
     
    3930         
    4031        <echo level="info">Dropping LuceneWrapper.jar in place</echo> 
    41         <copy file="${basedir}/gsdl/bin/java/LuceneWrapper.jar" todir="${basedir}/distributions/web/bin/java" /> 
     32        <copy file="${basedir}/compiled/bin/java/LuceneWrapper.jar" todir="${basedir}/distributions/web/bin/java" /> 
    4233    </target> 
    4334