greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 17659

Show
Ignore:
Timestamp:
2008-10-31 16:29:30 (2 months ago)
Author:
oranfry
Message:

standardized these files

Files:

Legend:

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

    r17649 r17659  
    2626 
    2727        <!-- 3rd level -->       
     28 
     29        <!-- core --> 
    2830        <target name="prepare-core-component"> 
    2931 
     
    3537                                <include name="**/*"/> 
    3638 
    37                                 <!-- sourcecode + imagemagick --> 
     39                                <!-- exclude sourcecode + imagemagick --> 
    3840                                <exclude name="common-src"/> 
    3941                                <exclude name="common-src/**/*"/> 
    40                                  
    4142                                <exclude name="runtime-src"/> 
    4243                                <exclude name="runtime-src/**/*"/> 
    43                                  
    4444                                <exclude name="build-src"/> 
    4545                                <exclude name="build-src/**/*"/> 
    46                                  
    4746                                <exclude name="bin/linux/imagemagick"/> 
    4847                                <exclude name="bin/linux/imagemagick/**/*"/> 
     
    5655                <sevenzip task="encode" input="components/core.comp" output="components/core.lzma" dictionnary="26"/> 
    5756        </target> 
    58          
    59         <target name="prepare-sourcecode-component"> 
    6057 
    61                 <delete dir="components/tmp/sourcecode"/> 
    62                 <mkdir dir="components/tmp/sourcecode"/> 
    63  
    64                 <copy todir="components/tmp/sourcecode" overwrite="true"> 
    65                         <fileset dir="distributions/web"> 
    66                                 <include name="common-src/**/*"/> 
    67                                 <include name="runtime-src/**/*"/> 
    68                                 <include name="build-src/**/*"/> 
    69                         </fileset> 
    70                 </copy> 
    71                                  
    72                 <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" includes="**/*"/> 
    73         </target> 
    74                  
    75         <target name="compress-sourcecode-component"> 
    76                 <sevenzip task="encode" input="components/sourcecode.comp" output="components/sourcecode.lzma" dictionnary="26"/> 
    77         </target> 
    78          
    79         <target name="prepare-imagemagick-component"> 
    80  
    81                 <delete dir="components/tmp/imagemagick"/> 
    82                 <mkdir dir="components/tmp/imagemagick"/> 
    83  
    84                 <copy todir="components/tmp/imagemagick" overwrite="true"> 
    85                         <fileset dir="distributions/web/bin/linux"> 
    86                                 <include name="imagemagick/**/*"/> 
    87                         </fileset> 
    88                 </copy> 
    89                                  
    90                 <zip destfile="components/imagemagick.comp" basedir="components/tmp/imagemagick" compress="false" includes="**/*"/> 
    91         </target> 
    92                  
    93         <target name="compress-imagemagick-component"> 
    94                 <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/> 
    95         </target> 
    96  
     58        <!-- sourcecode core --> 
    9759        <target name="prepare-sourcecode-core-component"> 
    9860                <delete dir="components/tmp/sourcecode-core"/> 
     
    11779        </target> 
    11880 
     81        <!-- sourcecode --> 
     82        <target name="prepare-sourcecode-component"> 
     83 
     84                <delete dir="components/tmp/sourcecode"/> 
     85                <mkdir dir="components/tmp/sourcecode"/> 
     86 
     87                <copy todir="components/tmp/sourcecode" overwrite="true"> 
     88                        <fileset dir="distributions/web"> 
     89                                <include name="common-src/**/*"/> 
     90                                <include name="runtime-src/**/*"/> 
     91                                <include name="build-src/**/*"/> 
     92                        </fileset> 
     93                </copy> 
     94                                 
     95                <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" includes="**/*"/> 
     96        </target> 
     97                 
     98        <target name="compress-sourcecode-component"> 
     99                <sevenzip task="encode" input="components/sourcecode.comp" output="components/sourcecode.lzma" dictionnary="26"/> 
     100        </target> 
     101         
     102        <!-- imagemagick --> 
     103        <target name="prepare-imagemagick-component"> 
     104 
     105                <delete dir="components/tmp/imagemagick"/> 
     106                <mkdir dir="components/tmp/imagemagick"/> 
     107 
     108                <copy todir="components/tmp/imagemagick" overwrite="true"> 
     109                        <fileset dir="distributions/web/bin/linux"> 
     110                                <include name="imagemagick/**/*"/> 
     111                        </fileset> 
     112                </copy> 
     113                                 
     114                <zip destfile="components/imagemagick.comp" basedir="components/tmp/imagemagick" compress="false" includes="**/*"/> 
     115        </target> 
     116                 
     117        <target name="compress-imagemagick-component"> 
     118                <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/> 
     119        </target> 
     120 
    119121</project> 
  • 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> 
  • release-kits/mark2/ant-scripts/create-components.xml

    r17652 r17659  
    3434        </target> 
    3535         
     36        <!-- core --> 
    3637        <target name="prepare-core-component"> 
    3738 
     
    4344                                <include name="**/*"/> 
    4445 
    45                                 <!-- exclude sourcecode --> 
     46                                <!-- exclude sourcecode + imagemagick --> 
    4647                                <exclude name="common-src"/> 
    4748                                <exclude name="common-src/**/*"/> 
     
    5051                                <exclude name="build-src"/> 
    5152                                <exclude name="build-src/**/*"/> 
     53                                <exclude name="bin/linux/imagemagick"/> 
     54                                <exclude name="bin/linux/imagemagick/**/*"/> 
    5255 
    5356                        </fileset> 
     
    5962                <sevenzip task="encode" input="components/core.comp" output="components/core.lzma" dictionnary="26"/> 
    6063        </target> 
    61          
    62         <target name="prepare-sourcecode-component"> 
    6364 
    64                 <delete dir="components/tmp/sourcecode"/> 
    65                 <mkdir dir="components/tmp/sourcecode"/> 
    66  
    67                 <copy todir="components/tmp/sourcecode" overwrite="true"> 
    68                         <fileset dir="distributions/web"> 
    69                                 <include name="common-src/**/*"/> 
    70                                 <include name="runtime-src/**/*"/> 
    71                                 <include name="build-src/**/*"/> 
    72                         </fileset> 
    73                 </copy> 
    74                                  
    75                 <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" includes="**/*"/> 
    76         </target> 
    77                  
    78         <target name="compress-sourcecode-component"> 
    79                 <sevenzip task="encode" input="components/sourcecode.comp" output="components/sourcecode.lzma" dictionnary="26"/> 
    80         </target> 
    81          
     65        <!-- sourcecode core --> 
    8266        <target name="prepare-sourcecode-core-component"> 
    8367                <delete dir="components/tmp/sourcecode-core"/> 
     
    10286        </target> 
    10387 
     88        <!-- sourcecode --> 
     89        <target name="prepare-sourcecode-component"> 
     90 
     91                <delete dir="components/tmp/sourcecode"/> 
     92                <mkdir dir="components/tmp/sourcecode"/> 
     93 
     94                <copy todir="components/tmp/sourcecode" overwrite="true"> 
     95                        <fileset dir="distributions/web"> 
     96                                <include name="common-src/**/*"/> 
     97                                <include name="runtime-src/**/*"/> 
     98                                <include name="build-src/**/*"/> 
     99                        </fileset> 
     100                </copy> 
     101                                 
     102                <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" includes="**/*"/> 
     103        </target> 
     104 
     105        <target name="compress-sourcecode-component"> 
     106                <sevenzip task="encode" input="components/sourcecode.comp" output="components/sourcecode.lzma" dictionnary="26"/> 
     107        </target> 
     108 
     109        <!-- imagemagick --> 
     110        <target name="prepare-imagemagick-component"> 
     111 
     112                <delete dir="components/tmp/imagemagick"/> 
     113                <mkdir dir="components/tmp/imagemagick"/> 
     114 
     115                <copy todir="components/tmp/imagemagick" overwrite="true"> 
     116                        <fileset dir="distributions/web/bin/linux"> 
     117                                <include name="imagemagick/**/*"/> 
     118                        </fileset> 
     119                </copy> 
     120                                 
     121                <zip destfile="components/imagemagick.comp" basedir="components/tmp/imagemagick" compress="false" includes="**/*"/> 
     122        </target> 
     123                 
     124        <target name="compress-imagemagick-component"> 
     125                <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/> 
     126        </target> 
     127 
    104128</project> 
  • release-kits/mark2/ant-scripts/create-distribution.xml

    r17652 r17659  
    3030                        <export srcurl="${svn.root}/gli/${branch.path}" destPath="distributions/web/gli"/> 
    3131                </svn> 
    32                 <copy todir="distributions/source"><fileset dir="distributions/web"/></copy> 
    3332        </target> 
    3433 
  • 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> 
  • release-kits/mark3/ant-scripts/create-distribution.xml

    r17652 r17659  
    4040                        <export srcurl="${svn.root}/gli/${branch.path}" destPath="distribution/greenstone3/gli"/> 
    4141                </svn> 
    42                 <copy todir="distribution/source"><fileset dir="distribution/greenstone3"/></copy> 
    4342        </target> 
    4443