greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 17471

Show
Ignore:
Timestamp:
2008-10-03 14:45:06 (3 months ago)
Author:
oranfry
Message:

component fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • release-kits/wirk3/ant-scripts/create-components.xml

    r17447 r17471  
    22<project name="wirk3-create-components" default="create-components"> 
    33 
     4 
     5        <target name="create-components"> 
     6                <antcall target="prepare-components" /> 
     7                <antcall target="compress-components" /> 
     8        </target> 
     9         
    410        <!-- create components from the distribution folder --> 
    5         <target name="create-components"> 
    6                 <antcall target="create-core-component" /> 
    7                 <antcall target="create-imagemagick-component" /> 
    8                 <antcall target="create-ghostscript-component" /> 
    9                 <antcall target="create-sourcecode-component" /> 
    10                 <antcall target="create-ant-component" /> 
    11                 <antcall target="create-tomcat-component" /> 
     11        <target name="prepare-components"> 
     12                <antcall target="prepare-core-component" /> 
     13                <antcall target="prepare-imagemagick-component" /> 
     14                <antcall target="prepare-ghostscript-component" /> 
     15                <antcall target="prepare-sourcecode-component" /> 
     16                <antcall target="prepare-ant-component" /> 
     17                <antcall target="prepare-tomcat-component" /> 
     18        </target> 
     19         
     20        <target name="compress-components"> 
     21                <antcall target="compress-core-component" /> 
     22                <antcall target="compress-imagemagick-component" /> 
     23                <antcall target="compress-ghostscript-component" /> 
     24                <antcall target="compress-sourcecode-component" /> 
     25                <antcall target="compress-ant-component" /> 
     26                <antcall target="compress-tomcat-component" /> 
    1227        </target> 
    1328         
    1429         
    15         <target name="create-core-component"> 
    16                 <antcall target="prepare-core-component" /> 
    17                 <antcall target="compress-core-component" /> 
    18         </target> 
    19  
    20         <target name="create-imagemagick-component"> 
    21                 <antcall target="prepare-imagemagick-component" /> 
    22                 <antcall target="compress-imagemagick-component" />      
    23         </target> 
    24          
    25          
    26         <target name="create-ghostscript-component"> 
    27                 <antcall target="prepare-ghostscript-component" /> 
    28                 <antcall target="compress-ghostscript-component" />      
    29         </target> 
    30          
    31          
    32         <target name="create-sourcecode-component"> 
    33                 <antcall target="prepare-sourcecode-component" /> 
    34                 <antcall target="compress-sourcecode-component" />       
    35         </target> 
    36          
    37          
    38         <target name="create-ant-component"> 
    39                 <antcall target="prepare-ant-component" /> 
    40                 <antcall target="compress-ant-component" />      
    41         </target> 
    42          
    43          
    44         <target name="create-tomcat-component"> 
    45                 <antcall target="prepare-tomcat-component" /> 
    46                 <antcall target="compress-tomcat-component" />   
    47         </target> 
    4830 
    4931         
     
    6042                                <!-- exclude ghostscript --> 
    6143                                <exclude name="gs2build/bin/windows/ghostscript/**/*"/> 
     44                                <exclude name="gs2build/bin/windows/ghostscript"/> 
    6245 
    6346                                <!-- exclude imagemagick --> 
    6447                                <exclude name="gs2build/bin/windows/imagemagick/**/*"/> 
     48                                <exclude name="gs2build/bin/windows/imagemagick"/> 
    6549 
    6650                                <!-- exclude sourcecode --> 
    6751                                <exclude name="src/**/*"/> 
     52                                <exclude name="src"/> 
    6853                                <exclude name="gs2build/common-src/**/*"/> 
     54                                <exclude name="gs2build/common-src"/> 
    6955                                <exclude name="gs2build/build-src/**/*"/> 
     56                                <exclude name="gs2build/build-src"/> 
    7057                                <exclude name="gs2build/runtime-src/**/*"/> 
     58                                <exclude name="gs2build/runtime-src"/> 
    7159                                 
    7260                                <!-- exclude ant --> 
    7361                                <exclude name="packages/ant/**/*"/> 
     62                                <exclude name="packages/ant"/> 
    7463 
    7564                                <!-- exclude tomcat --> 
    7665                                <exclude name="packages/tomcat/**/*"/> 
     66                                <exclude name="packages/tomcat"/> 
    7767 
    7868                        </fileset> 
    7969                </copy> 
     70                 
     71                 
    8072                                 
    8173                <zip destfile="components/core.comp" basedir="components/tmp/core" compress="false" /> 
  • release-kits/wirk3/ant-scripts/operations-on-gs3home.xml

    r17460 r17471  
    4949                <antcall target="prepare-axis"/> 
    5050                 
     51                 
    5152                <!-- delete old axis dir --> 
    5253                <delete dir="${packages.home}/axis"/> 
     
    6061 
    6162                <delete file="${packages.home}/*.zip"/> 
     63                 
     64                <delete> 
     65                        <fileset dir="${packages.home}" includes="*.zip"/> 
     66                </delete> 
     67 
    6268                 
    6369                <!-- documented collections -->