Ignore:
Timestamp:
2008-11-20T16:33:21+13:00 (15 years ago)
Author:
oranfry
Message:

Standardised names of directories used in release kits

  • gsdl and greenstone3 -> compiled
  • distribution and distributions -> distributions
  • greenstone3 and web -> web

And, expect more specifically named properties files, e.g., lirk3-build.properties, wirk2-build.properties

File:
1 edited

Legend:

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

    r17523 r17898  
    99        <!-- preparation -->
    1010        <antcall target="greenstone3-set-version-numbers">
    11             <param name="greenstone3basedir" value="${basedir}/greenstone3"/>
     11            <param name="greenstone3basedir" value="${basedir}/compiled"/>
    1212        </antcall>
    1313        <antcall target="set-gdbm-installed-path" />
    14         <ant target="prepare-unix" dir="greenstone3" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false"/>
     14        <ant target="prepare-unix" dir="compiled" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false"/>
    1515       
    1616        <!-- update -->
    17         <ant target="update-unix" dir="greenstone3" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false"/>
     17        <ant target="update-unix" dir="compiled" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false"/>
    1818
    1919        <!-- configure -->
    20         <ant target="configure-unix" dir="greenstone3" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false"/>
     20        <ant target="configure-unix" dir="compiled" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false"/>
    2121        <antcall target="tweak-makefiles" />
    2222
    2323        <!-- build -->
    24         <ant target="build-unix" dir="greenstone3" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false"/>
     24        <ant target="build-unix" dir="compiled" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" inheritAll="false"/>
    2525        <antcall target="linux-strip-execs" />
    2626
     
    3535    <target name="checkout-greenstone3">
    3636        <svn javahl="false">
    37             <checkout url="${svn.root}/greenstone3/${branch.path}" destPath="greenstone3"/>
     37            <checkout url="${svn.root}/greenstone3/${branch.path}" destPath="compiled"/>
    3838        </svn>
    3939    </target>
    4040
    4141    <target name="set-version-number-property">
    42         <rsr file="greenstone3/resources/java/global.properties.in" pattern="(.*)@gsdl3version@(.*)" replacement="$1${version}$2" />
     42        <rsr file="compiled/resources/java/global.properties.in" pattern="(.*)@gsdl3version@(.*)" replacement="$1${version}$2" />
    4343    </target>
    4444
    4545    <target name="set-gdbm-installed-path">
    46         <rsr file="greenstone3/build.properties" pattern="(gdbm.installed.path=).*" replacement="$1${mark3.home}/mac/${processor}/gdbm"/>
     46        <rsr file="compiled/build.properties" pattern="(gdbm.installed.path=).*" replacement="$1${mark3.home}/mac/${processor}/gdbm"/>
    4747    </target>
    4848
    4949    <target name="tweak-makefiles">
    5050        <rsr
    51             file="${basedir}/greenstone3/gs2build/common-src/src/gdbmedit/db2txt/Makefile"
     51            file="${basedir}/compiled/gs2build/common-src/src/gdbmedit/db2txt/Makefile"
    5252            pattern="^(LIBS ?=.*)-L${mark3.home}/mac/${processor}/gdbm/lib -lgdbm(.*)$"
    5353            replacement="$1${mark3.home}/mac/${processor}/gdbm/lib/libgdbm.a$2" />
    5454
    5555        <rsr
    56             file="${basedir}/greenstone3/gs2build/common-src/src/gdbmedit/txt2db/Makefile"
     56            file="${basedir}/compiled/gs2build/common-src/src/gdbmedit/txt2db/Makefile"
    5757            pattern="^(LIBS ?=.*)-L${mark3.home}/mac/${processor}/gdbm/lib -lgdbm(.*)$"
    5858            replacement="$1${mark3.home}/mac/${processor}/gdbm/lib/libgdbm.a$2" />
    5959
    6060        <rsr
    61             file="${basedir}/greenstone3/src/packages/javagdbm/jni/Makefile"
     61            file="${basedir}/compiled/src/packages/javagdbm/jni/Makefile"
    6262            pattern="^(GDBM_LIBS ?=.*)-L${mark3.home}/mac/${processor}/gdbm/lib -lgdbm(.*)$"
    6363            replacement="$1${mark3.home}/mac/${processor}/gdbm/lib/libgdbm.a$2" />
     
    6565
    6666    <target name="linux-strip-execs">
    67         <exec dir="greenstone3/gs2build/bin/darwin" executable="find">
     67        <exec dir="compiled/gs2build/bin/darwin" executable="find">
    6868            <arg line=". ! -name . -exec strip {} &#59;"/>
    6969        </exec>
     
    7171
    7272    <target name="prepare-documentation">
    73         <mkdir dir="greenstone3/gsdl-manuals"/>
     73        <mkdir dir="compiled/gsdl-manuals"/>
    7474        <svn javahl="false">
    75             <checkout url="${svn.root}/documentation/${branch.path}/manuals" destPath="greenstone3/gsdl-manuals/manuals"/>
    76             <checkout url="${svn.root}/documentation/${branch.path}/shared" destPath="greenstone3/gsdl-manuals/shared"/>
     75            <checkout url="${svn.root}/documentation/${branch.path}/manuals" destPath="compiled/gsdl-manuals/manuals"/>
     76            <checkout url="${svn.root}/documentation/${branch.path}/shared" destPath="compiled/gsdl-manuals/shared"/>
    7777        </svn>
    78         <javac srcdir="greenstone3/gsdl-manuals/shared"
    79               destdir="greenstone3/gsdl-manuals/shared"
     78        <javac srcdir="compiled/gsdl-manuals/shared"
     79              destdir="compiled/gsdl-manuals/shared"
    8080              debug="on">
    8181            <include name="*.java"/>
    8282        </javac>
    83         <unzip src="greenstone3/gsdl-manuals/shared/fop.zip" dest="greenstone3/gsdl-manuals/shared"/>
     83        <unzip src="compiled/gsdl-manuals/shared/fop.zip" dest="compiled/gsdl-manuals/shared"/>
    8484
    8585        <path id="documentation.compile.classpath">
    86             <fileset dir="greenstone3/gsdl-manuals">
     86            <fileset dir="compiled/gsdl-manuals">
    8787                <include name="**/*.jar"/>
    8888            </fileset>
    89             <pathelement path="greenstone3/gsdl-manuals/shared"/>
    90             <pathelement path="greenstone3/gsdl-manuals/manuals"/>
     89            <pathelement path="compiled/gsdl-manuals/shared"/>
     90            <pathelement path="compiled/gsdl-manuals/manuals"/>
    9191        </path>
    9292
    93         <java classname="ApplyXSLT" classpathref="documentation.compile.classpath" output="greenstone3/gsdl-manuals/manuals/xml-source/en/help-en.xml">
    94             <arg value="greenstone3/gsdl-manuals/manuals/processing/gen-gli-help-to-manual-chapter.xsl" />
    95             <arg value="greenstone3/gli/help/en/help.xml" />
    96             <arg value="greenstone3" />
     93        <java classname="ApplyXSLT" classpathref="documentation.compile.classpath" output="compiled/gsdl-manuals/manuals/xml-source/en/help-en.xml">
     94            <arg value="compiled/gsdl-manuals/manuals/processing/gen-gli-help-to-manual-chapter.xsl" />
     95            <arg value="compiled/gli/help/en/help.xml" />
     96            <arg value="compiled" />
    9797        </java>
    9898
    99         <chmod perm="a+x" file="greenstone3/gsdl-manuals/shared/fop/fop.sh"/>
     99        <chmod perm="a+x" file="compiled/gsdl-manuals/shared/fop/fop.sh"/>
    100100        <echo>Run generate-pdf.sh</echo>
    101         <exec dir="greenstone3/gsdl-manuals/manuals" executable="/bin/sh">
     101        <exec dir="compiled/gsdl-manuals/manuals" executable="/bin/sh">
    102102            <arg line="generate-pdf.sh u en" />
    103103        </exec>
Note: See TracChangeset for help on using the changeset viewer.