Ignore:
Timestamp:
2009-04-09T10:08:46+12:00 (15 years ago)
Author:
oranfry
Message:

changing the way the release kits make the greenstone2 distribution: instead of starting from a fresh export of greenstone, start from a copy of the compiled working copy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/mark2/ant-scripts/compile.xml

    r18870 r18929  
    66        <!-- checkout -->
    77        <antcall target="checkout-gsdl-gli" />
     8        <antcall target="drop-in-docs"><param name="gsdl.basedir" value="${basedir}/compiled"/></antcall>
    89        <antcall target="gsdl-set-version-numbers"><param name="gsdl.basedir" value="${basedir}/compiled"/></antcall>
     10        <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/compiled/gli"/></antcall>
    911       
    1012        <!-- configure -->
    1113        <antcall target="run-configure"/>
    1214        <antcall target="tweak-makefiles"/>
     15
     16        <!-- make common-src and reconfigure -->
     17        <!-- this is a workaround to a problem with the gsdl build code -->
     18        <!-- expat needs to be compiled before the perl XML Parser is configured -->
     19        <antcall target="make-common-src"/>
     20        <antcall target="run-configure"/>
    1321
    1422        <!-- make -->
     
    1826        <antcall target="strip-execs"/>
    1927
     28        <!-- gli -->
     29        <antcall target="compile-gli">
     30            <param name="script.format"  value="sh"/>
     31            <param name="glibasedir"  value="${basedir}/compiled/gli"/>
     32            <param name="gsdlbasedir" value="${basedir}/compiled"/>
     33        </antcall>
     34
    2035        <!-- uninstaller -->
    2136        <antcall target="compile-uninstaller" /> <!-- from rk2-targets -->
     
    2439        <antcall target="build-demo-collection" />
    2540
    26     </target>
    27 
    28     <target name="checkout-gsdl-gli">
    29         <svn javahl="false">
    30             <checkout url="${svn.root}/gsdl/${branch.path}" destPath="${basedir}/compiled"/>
    31             <checkout url="${svn.root}/gli/${branch.path}" destPath="${basedir}/compiled/gli"/>
    32         </svn>
    3341    </target>
    3442
Note: See TracChangeset for help on using the changeset viewer.