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

standardized these files

File:
1 edited

Legend:

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

    r17652 r17659  
    2828
    2929    <!-- 3rd level -->
     30    <!-- core -->
    3031    <target name="prepare-core-component">
    3132
     
    6667    </target>
    6768   
    68     <target name="prepare-sourcecode-component">
    69 
    70         <delete dir="components/tmp/sourcecode"/>
    71         <mkdir dir="components/tmp/sourcecode"/>
    72 
    73         <copy todir="components/tmp/sourcecode" overwrite="true">
    74                 <fileset dir="distribution/greenstone3">
    75                     <include name="src/**/*"/>
    76                     <include name="gs2build/common-src/**/*"/>
    77                     <include name="gs2build/build-src/**/*"/>
    78                     <include name="gs2build/runtime-src/**/*"/>
    79                 </fileset>
    80         </copy>
    81                
    82         <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" />
    83     </target>
    84        
    85     <target name="compress-sourcecode-component">
    86         <sevenzip task="encode" input="components/sourcecode.comp" output="components/sourcecode.lzma" dictionnary="26"/>
    87     </target>
    88    
    89     <target name="prepare-ant-component">
    90 
    91         <delete dir="components/tmp/ant"/>
    92         <mkdir dir="components/tmp/ant"/>
    93 
    94         <copy todir="components/tmp/ant" overwrite="true">
    95             <fileset dir="distribution/greenstone3/packages">
    96                 <include name="ant/**/*"/>
    97             </fileset>
    98         </copy>
    99        
    100         <zip destfile="components/ant.comp" basedir="components/tmp/ant" compress="false" />
    101     </target>
    102        
    103     <target name="compress-ant-component">
    104         <sevenzip task="encode" input="components/ant.comp" output="components/ant.lzma" dictionnary="26"/>
    105     </target>
    106    
    107     <target name="prepare-tomcat-component">
    108 
    109         <delete dir="components/tmp/tomcat"/>
    110         <mkdir dir="components/tmp/tomcat"/>
    111 
    112         <copy todir="components/tmp/tomcat" overwrite="true">
    113             <fileset dir="distribution/greenstone3/packages">
    114                 <include name="tomcat/**/*"/>
    115             </fileset>
    116         </copy>
    117        
    118         <zip destfile="components/tomcat.comp" basedir="components/tmp/tomcat" compress="false" />
    119     </target>
    120        
    121     <target name="compress-tomcat-component">
    122         <sevenzip task="encode" input="components/tomcat.comp" output="components/tomcat.lzma" dictionnary="26"/>
    123     </target>   
    124 
     69    <!-- sourcecode-core -->
    12570    <target name="prepare-sourcecode-core-component">
    12671        <delete dir="components/tmp/sourcecode-core"/>
     
    14893    </target>
    14994
     95
     96    <!-- sourcecode -->
     97    <target name="prepare-sourcecode-component">
     98
     99        <delete dir="components/tmp/sourcecode"/>
     100        <mkdir dir="components/tmp/sourcecode"/>
     101
     102        <copy todir="components/tmp/sourcecode" overwrite="true">
     103                <fileset dir="distribution/greenstone3">
     104                    <include name="src/**/*"/>
     105                    <include name="gs2build/common-src/**/*"/>
     106                    <include name="gs2build/build-src/**/*"/>
     107                    <include name="gs2build/runtime-src/**/*"/>
     108                </fileset>
     109        </copy>
     110               
     111        <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" />
     112    </target>
     113       
     114    <target name="compress-sourcecode-component">
     115        <sevenzip task="encode" input="components/sourcecode.comp" output="components/sourcecode.lzma" dictionnary="26"/>
     116    </target>
    150117   
     118    <!-- ant -->
     119    <target name="prepare-ant-component">
     120
     121        <delete dir="components/tmp/ant"/>
     122        <mkdir dir="components/tmp/ant"/>
     123
     124        <copy todir="components/tmp/ant" overwrite="true">
     125            <fileset dir="distribution/greenstone3/packages">
     126                <include name="ant/**/*"/>
     127            </fileset>
     128        </copy>
     129       
     130        <zip destfile="components/ant.comp" basedir="components/tmp/ant" compress="false" />
     131    </target>
     132       
     133    <target name="compress-ant-component">
     134        <sevenzip task="encode" input="components/ant.comp" output="components/ant.lzma" dictionnary="26"/>
     135    </target>
     136   
     137    <!-- tomcat -->
     138    <target name="prepare-tomcat-component">
     139
     140        <delete dir="components/tmp/tomcat"/>
     141        <mkdir dir="components/tmp/tomcat"/>
     142
     143        <copy todir="components/tmp/tomcat" overwrite="true">
     144            <fileset dir="distribution/greenstone3/packages">
     145                <include name="tomcat/**/*"/>
     146            </fileset>
     147        </copy>
     148       
     149        <zip destfile="components/tomcat.comp" basedir="components/tmp/tomcat" compress="false" />
     150    </target>
     151       
     152    <target name="compress-tomcat-component">
     153        <sevenzip task="encode" input="components/tomcat.comp" output="components/tomcat.lzma" dictionnary="26"/>
     154    </target>
     155
     156    <!-- imagemagick -->
     157    <target name="prepare-imagemagick-component">
     158
     159        <delete dir="components/tmp/imagemagick"/>
     160        <mkdir dir="components/tmp/imagemagick"/>
     161
     162        <copy todir="components/tmp/imagemagick" overwrite="true">
     163            <fileset dir="distribution/greenstone3/gs2build/bin/linux">
     164                <include name="imagemagick/**/*"/>
     165            </fileset>
     166        </copy>
     167               
     168        <zip destfile="components/imagemagick.comp" basedir="components/tmp/imagemagick" compress="false" includes="**/*"/>
     169    </target>
     170       
     171    <target name="compress-imagemagick-component">
     172        <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/>
     173    </target>
     174
    151175</project>
Note: See TracChangeset for help on using the changeset viewer.