Changeset 19475

Show
Ignore:
Timestamp:
14.05.2009 13:53:23 (11 years ago)
Author:
oranfry
Message:

got the release kit to work under java 1.5

Location:
release-kits/wirk3/ant-scripts
Files:
3 modified

Legend:

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

    r19406 r19475  
    4747            <checkout url="${svn.root}/documentation/${branch.path}/shared" destPath="compiled/gsdl-manuals/shared" revision="${branch.revision}"/> 
    4848        </svn> 
    49         <javac srcdir="compiled/gsdl-manuals/shared" destdir="compiled/gsdl-manuals/shared" debug="on"><include name="*.java"/></javac> 
    50         <unzip src="compiled/gsdl-manuals/shared/fop.zip" dest="compiled/gsdl-manuals/shared"/> 
    5149 
    5250        <echo>Define Classpath</echo> 
     
    5957            <pathelement path="compiled/gli/classes"/> 
    6058        </path> 
     59 
     60        <javac classpathref="documentation.compile.classpath" srcdir="compiled/gsdl-manuals/shared" destdir="compiled/gsdl-manuals/shared" debug="on"><include name="*.java"/></javac> 
     61        <unzip src="compiled/gsdl-manuals/shared/fop.zip" dest="compiled/gsdl-manuals/shared"/> 
    6162                     
    6263        <echo>Apply XSLT</echo> 
  • release-kits/wirk3/ant-scripts/create-distribution.xml

    r19463 r19475  
    1212        <antcall target="insert-uninstaller-jar"/> <!-- from rk3-targets --> 
    1313 
     14        <ant target="configure-java-version" antfile="${wirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distributions/web" inheritAll="false"/> 
     15             
    1416        <ant target="create-distribution-1" antfile="${wirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distributions/web" inheritAll="false"> 
    1517            <property name="app.version" value="${version}"/> 
  • release-kits/wirk3/ant-scripts/operations-on-gs3home.xml

    r19013 r19475  
    1010 
    1111<project name="opeations-on-gs3home" default="usage"> 
     12 
     13    <path id="runtime.classpath"> 
     14        <fileset dir="${web.lib}" includes="**/*.jar"/> 
     15    </path> 
     16 
    1217   
    1318    <!-- include standard build file --> 
     
    8893 
    8994        <!-- put gs2build source code in a tidy place --> 
    90         <move todir="${gs2build.home}/source/src" failonerror="false"><fileset dir="${gs2build.home}/src" defaultexcludes="no"/></move> 
    91         <move todir="${gs2build.home}/source/lib" failonerror="false"><fileset dir="${gs2build.home}/lib" defaultexcludes="no"/></move> 
    92         <move todir="${gs2build.home}/source/packages" failonerror="false"><fileset dir="${gs2build.home}/packages" defaultexcludes="no"/></move> 
    93         <move todir="${gs2build.home}/source/indexers" failonerror="false"><fileset dir="${gs2build.home}/indexers" defaultexcludes="no"/></move> 
    94         <move file="${gs2build.home}/win32.mak" tofile="${gs2build.home}/source/win32.mak"/> 
    95         <!--<move file="${gs2build.home}/setup.bat" tofile="${gs2build.home}/source/setup.bat"/>--> 
    96         <!--<move file="${gs2build.home}/win32cfg.h" tofile="${gs2build.home}/source/win32cfg.h"/>--> 
    97  
     95        <if><bool><available file="${gs2build.home}/source/src"/></bool> 
     96            <move todir="${gs2build.home}/source/src" failonerror="false"><fileset dir="${gs2build.home}/src" defaultexcludes="no"/></move> 
     97            <move todir="${gs2build.home}/source/lib" failonerror="false"><fileset dir="${gs2build.home}/lib" defaultexcludes="no"/></move> 
     98            <move todir="${gs2build.home}/source/packages" failonerror="false"><fileset dir="${gs2build.home}/packages" defaultexcludes="no"/></move> 
     99            <move todir="${gs2build.home}/source/indexers" failonerror="false"><fileset dir="${gs2build.home}/indexers" defaultexcludes="no"/></move> 
     100            <move file="${gs2build.home}/win32.mak" tofile="${gs2build.home}/source/win32.mak"/> 
     101            <!--<move file="${gs2build.home}/setup.bat" tofile="${gs2build.home}/source/setup.bat"/>--> 
     102            <!--<move file="${gs2build.home}/win32cfg.h" tofile="${gs2build.home}/source/win32cfg.h"/>--> 
     103        </if> 
     104         
    98105        <!-- clean up --> 
    99106        <delete includeemptydirs="true"> 
     
    139146 
    140147    <target name="run-xslt-source" depends="init"> 
    141         <xslt in="${basedir}/build.xml" out="${basedir}/dist-build.xml" style="${basedir}/dist-resources/convert-build-xml-source.xsl"/> 
     148        <xslt classpathref="runtime.classpath" in="${basedir}/build.xml" out="${basedir}/dist-build.xml" style="${basedir}/dist-resources/convert-build-xml-source.xsl"/> 
    142149    </target> 
    143150   
    144151    <target name="run-xslt-binary" depends="init"> 
    145         <xslt in="${basedir}/build.xml" out="${basedir}/modified-build.xml" style="${wirk3.home}/greenstone3/xsl/convert-build-xml.xsl"/> 
     152        <xslt classpathref="runtime.classpath" in="${basedir}/build.xml" out="${basedir}/modified-build.xml" style="${wirk3.home}/greenstone3/xsl/convert-build-xml.xsl"/> 
    146153    </target> 
    147154