Changeset 18005 for release-kits

Show
Ignore:
Timestamp:
02.12.2008 16:17:30 (11 years ago)
Author:
oranfry
Message:

right files to right place with right permissions in binary and source zips and binary installer

Location:
release-kits
Files:
4 modified

Legend:

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

    r18001 r18005  
    3838                <include name="**/*"/> 
    3939 
    40                 <!-- exclude sourcecode + imagemagick --> 
     40                <!-- exclude sourcecode + imagemagick + build files --> 
    4141                <exclude name="common-src"/> 
    4242                <exclude name="common-src/**/*"/> 
     
    4848                <exclude name="bin/linux/imagemagick/**/*"/> 
    4949 
     50                <exclude name="acconfig.h"/> 
     51                <exclude name="aclocal.m4"/> 
     52                <exclude name="config.sub"/> 
     53                <exclude name="configtest.pl"/> 
     54                <exclude name="configure"/> 
     55                <exclude name="configure.in"/> 
     56                <exclude name="install-sh"/> 
     57                <exclude name="Makefile.in"/> 
     58                <exclude name="micotest.cpp"/> 
    5059            </fileset> 
    5160        </copy> 
     
    6372        <mkdir dir="components/tmp/sourcecode"/> 
    6473 
    65         <copy todir="components/tmp/sourcecode" overwrite="true"> 
    66             <fileset dir="distributions/web"> 
    67                 <include name="common-src/**/*"/> 
    68                 <include name="runtime-src/**/*"/> 
    69                 <include name="build-src/**/*"/> 
    70             </fileset> 
    71         </copy> 
     74        <exec dir="${basedir}" executable="cp"> 
     75            <arg line="-r distributions/web/common-src distributions/web/build-src distributions/web/runtime-src components/tmp/sourcecode"/> 
     76        </exec> 
     77        <exec dir="distributions/web" executable="cp"> 
     78            <arg line="acconfig.h aclocal.m4 config.guess config.sub configtest.pl configure configure.in install-sh Makefile.in micotest.cpp ${basedir}/components/tmp/sourcecode"/> 
     79        </exec> 
    7280                 
    7381        <mkdir dir="products"/> 
    74  
    7582        <!-- create a script to create the tar --> 
    7683        <echo output="create-sourcecode-component.sh"> 
  • release-kits/lirk2/ant-scripts/create-distribution.xml

    r17996 r18005  
    5858        <exec dir="${basedir}" executable="cp"><arg line="-r compiled/bin/linux distributions/web/bin"/></exec> 
    5959        <exec dir="${basedir}" executable="cp"><arg line="compiled/cgi-bin/library distributions/web/cgi-bin"/></exec> 
    60         <exec dir="${basedir}" executable="cp"><arg line="compiled/cgi-bin/oaiserver distributions/web/cgi-bin"/> 
    61 </exec> 
    62 <copy file="${basedir}/compiled/bin/java/LuceneWrapper.jar" todir="${basedir}/distributions/web/bin/java" /> 
     60        <exec dir="${basedir}" executable="cp"><arg line="compiled/cgi-bin/oaiserver distributions/web/cgi-bin"/></exec> 
     61        <copy file="${basedir}/compiled/bin/java/LuceneWrapper.jar" todir="${basedir}/distributions/web/bin/java" /> 
    6362    </target> 
    6463 
  • release-kits/mark2/ant-scripts/create-components.xml

    r18002 r18005  
    4949                <include name="**/*"/> 
    5050 
    51                 <!-- exclude sourcecode + imagemagick --> 
     51                <!-- exclude sourcecode + imagemagick + build files --> 
    5252                <exclude name="common-src"/> 
    5353                <exclude name="common-src/**/*"/> 
     
    6060                <exclude name="bin/darwin/ghostscript"/> 
    6161                <exclude name="bin/darwin/ghostscript/**/*"/> 
     62 
     63                <exclude name="acconfig.h"/> 
     64                <exclude name="aclocal.m4"/> 
     65                <exclude name="config.sub"/> 
     66                <exclude name="configtest.pl"/> 
     67                <exclude name="configure"/> 
     68                <exclude name="configure.in"/> 
     69                <exclude name="install-sh"/> 
     70                <exclude name="Makefile.in"/> 
     71                <exclude name="micotest.cpp"/> 
    6272 
    6373            </fileset> 
     
    7686        <mkdir dir="components/tmp/sourcecode"/> 
    7787 
    78         <copy todir="components/tmp/sourcecode" overwrite="true"> 
    79             <fileset dir="distributions/web"> 
    80                 <include name="common-src/**/*"/> 
    81                 <include name="runtime-src/**/*"/> 
    82                 <include name="build-src/**/*"/> 
    83             </fileset> 
    84         </copy> 
     88        <exec dir="${basedir}" executable="cp"> 
     89            <arg line="-r distributions/web/common-src distributions/web/build-src distributions/web/runtime-src components/tmp/sourcecode"/> 
     90        </exec> 
     91        <exec dir="distributions/web" executable="cp"> 
     92            <arg line="acconfig.h aclocal.m4 config.guess config.sub configtest.pl configure configure.in install-sh Makefile.in micotest.cpp ${basedir}/components/tmp/sourcecode"/> 
     93        </exec> 
    8594                 
    8695        <mkdir dir="products"/> 
  • release-kits/shared/greenstone2/ant-scripts/rk2-targets.xml

    r18003 r18005  
    5151        <!-- delete loose files --> 
    5252        <delete> 
    53             <fileset dir="${binzip.dir}" includes="README*.txt,Uninstall.sh,uninst.jar" excludes="READMEen.txt"/> 
     53            <fileset 
     54                dir="${binzip.dir}" 
     55                includes="README*.txt,Uninstall.sh,uninst.jar,acconfig.h,aclocal.m4,config.guess,config.sub,configtest.pl,configure,configure.in,install-sh,Makefile.in,micotest.cpp" 
     56                excludes="READMEen.txt"/> 
    5457        </delete> 
    5558 
     
    7679                <include name="README*.txt"/> 
    7780                <exclude name="READMEen.txt"/> 
    78                 <include name="Uninstaller.bat"/> 
    79                 <include name="uninst.bat"/> 
    80                 <include name="uninst.jar"/> 
     81                <include name="Uninstaller.bat,uninst.bat,uninst.jar,win32.mak,win32cfg.h"/> 
    8182            </fileset> 
    8283        </delete> 
     
    8485 
    8586</project> 
     87