Ignore:
Timestamp:
2008-10-31T16:29:30+13:00 (16 years ago)
Author:
oranfry
Message:

standardized these files

File:
1 edited

Legend:

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

    r17652 r17659  
    3030
    3131    <!-- 3rd level -->
     32
     33    <!-- core -->
    3234    <target name="prepare-core-component">
    3335
     
    6466        </copy>
    6567       
    66         <!-- do some cleanup -->
    67 <!--        <delete dir="components/tmp/core/gs2build/common-src"/>
    68         <delete dir="components/tmp/core/gs2build/build-src"/>
    69         <delete dir="components/tmp/core/gs2build/runtime-src"/>
    70         <delete dir="components/tmp/core/gs2build/bin/windows/imagemagick"/>
    71         <delete dir="components/tmp/core/gs2build/bin/windows/ghostscript"/>-->
    72                
    7368        <zip destfile="components/core.comp" basedir="components/tmp/core" compress="false" />
    7469    </target>
     
    7772        <sevenzip task="encode" input="components/core.comp" output="components/core.lzma" dictionnary="26"/>
    7873    </target>
    79    
    80     <target name="prepare-sourcecode-component">
    8174
    82         <delete dir="components/tmp/sourcecode"/>
    83         <mkdir dir="components/tmp/sourcecode"/>
    84 
    85         <copy todir="components/tmp/sourcecode" overwrite="true">
    86                 <fileset dir="distribution/greenstone3">
    87                     <include name="src/**/*"/>
    88                     <include name="gs2build/common-src/**/*"/>
    89                     <include name="gs2build/build-src/**/*"/>
    90                     <include name="gs2build/runtime-src/**/*"/>
    91                 </fileset>
    92         </copy>
    93                
    94         <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" />
    95     </target>
    96        
    97     <target name="compress-sourcecode-component">
    98         <sevenzip task="encode" input="components/sourcecode.comp" output="components/sourcecode.lzma" dictionnary="26"/>
    99     </target>
    100    
    101     <target name="prepare-ant-component">
    102 
    103         <delete dir="components/tmp/ant"/>
    104         <mkdir dir="components/tmp/ant"/>
    105 
    106         <copy todir="components/tmp/ant" overwrite="true">
    107             <fileset dir="distribution/greenstone3/packages">
    108                 <include name="ant/**/*"/>
    109             </fileset>
    110         </copy>
    111        
    112         <zip destfile="components/ant.comp" basedir="components/tmp/ant" compress="false" />
    113     </target>
    114        
    115     <target name="compress-ant-component">
    116         <sevenzip task="encode" input="components/ant.comp" output="components/ant.lzma" dictionnary="26"/>
    117     </target>
    118    
    119     <target name="prepare-tomcat-component">
    120 
    121         <delete dir="components/tmp/tomcat"/>
    122         <mkdir dir="components/tmp/tomcat"/>
    123 
    124         <copy todir="components/tmp/tomcat" overwrite="true">
    125             <fileset dir="distribution/greenstone3/packages">
    126                 <include name="tomcat/**/*"/>
    127             </fileset>
    128         </copy>
    129        
    130         <zip destfile="components/tomcat.comp" basedir="components/tmp/tomcat" compress="false" />
    131     </target>
    132        
    133     <target name="compress-tomcat-component">
    134         <sevenzip task="encode" input="components/tomcat.comp" output="components/tomcat.lzma" dictionnary="26"/>
    135     </target>
    136 
    137     <target name="prepare-imagemagick-component">
    138 
    139         <delete dir="components/tmp/imagemagick"/>
    140         <mkdir dir="components/tmp/imagemagick"/>
    141 
    142         <copy todir="components/tmp/imagemagick" overwrite="true">
    143             <fileset dir="distribution/greenstone3/gs2build/bin/linux">
    144                 <include name="imagemagick/**/*"/>
    145             </fileset>
    146         </copy>
    147                
    148         <zip destfile="components/imagemagick.comp" basedir="components/tmp/imagemagick" compress="false" includes="**/*"/>
    149     </target>
    150        
    151     <target name="compress-imagemagick-component">
    152         <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/>
    153     </target>
    154 
     75    <!-- sourcecode-core -->
    15576    <target name="prepare-sourcecode-core-component">
    15677        <delete dir="components/tmp/sourcecode-core"/>
     
    17798        <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/>
    17899    </target>
     100   
     101    <!-- sourcecode -->
     102    <target name="prepare-sourcecode-component">
     103
     104        <delete dir="components/tmp/sourcecode"/>
     105        <mkdir dir="components/tmp/sourcecode"/>
     106
     107        <copy todir="components/tmp/sourcecode" overwrite="true">
     108                <fileset dir="distribution/greenstone3">
     109                    <include name="src/**/*"/>
     110                    <include name="gs2build/common-src/**/*"/>
     111                    <include name="gs2build/build-src/**/*"/>
     112                    <include name="gs2build/runtime-src/**/*"/>
     113                </fileset>
     114        </copy>
     115               
     116        <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" />
     117    </target>
     118       
     119    <target name="compress-sourcecode-component">
     120        <sevenzip task="encode" input="components/sourcecode.comp" output="components/sourcecode.lzma" dictionnary="26"/>
     121    </target>
     122
     123    <!-- ant -->   
     124    <target name="prepare-ant-component">
     125
     126        <delete dir="components/tmp/ant"/>
     127        <mkdir dir="components/tmp/ant"/>
     128
     129        <copy todir="components/tmp/ant" overwrite="true">
     130            <fileset dir="distribution/greenstone3/packages">
     131                <include name="ant/**/*"/>
     132            </fileset>
     133        </copy>
     134       
     135        <zip destfile="components/ant.comp" basedir="components/tmp/ant" compress="false" />
     136    </target>
     137       
     138    <target name="compress-ant-component">
     139        <sevenzip task="encode" input="components/ant.comp" output="components/ant.lzma" dictionnary="26"/>
     140    </target>
     141   
     142    <!-- tomcat -->
     143    <target name="prepare-tomcat-component">
     144
     145        <delete dir="components/tmp/tomcat"/>
     146        <mkdir dir="components/tmp/tomcat"/>
     147
     148        <copy todir="components/tmp/tomcat" overwrite="true">
     149            <fileset dir="distribution/greenstone3/packages">
     150                <include name="tomcat/**/*"/>
     151            </fileset>
     152        </copy>
     153       
     154        <zip destfile="components/tomcat.comp" basedir="components/tmp/tomcat" compress="false" />
     155    </target>
     156       
     157    <target name="compress-tomcat-component">
     158        <sevenzip task="encode" input="components/tomcat.comp" output="components/tomcat.lzma" dictionnary="26"/>
     159    </target>
     160
     161    <!-- imagemagick -->
     162    <target name="prepare-imagemagick-component">
     163
     164        <delete dir="components/tmp/imagemagick"/>
     165        <mkdir dir="components/tmp/imagemagick"/>
     166
     167        <copy todir="components/tmp/imagemagick" overwrite="true">
     168            <fileset dir="distribution/greenstone3/gs2build/bin/linux">
     169                <include name="imagemagick/**/*"/>
     170            </fileset>
     171        </copy>
     172               
     173        <zip destfile="components/imagemagick.comp" basedir="components/tmp/imagemagick" compress="false" includes="**/*"/>
     174    </target>
     175       
     176    <target name="compress-imagemagick-component">
     177        <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/>
     178    </target>
    179179
    180180</project>
Note: See TracChangeset for help on using the changeset viewer.