Changeset 21652
- Timestamp:
- 2010-01-27T09:59:08+13:00 (13 years ago)
- Location:
- main/trunk/release-kits
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/bin/rk
r21394 r21652 27 27 elif [ "$rk_name" == "rk3" ]; then 28 28 rk_fullname="Release Kit for Greenstone3" 29 elif [ "$rk_name" == "sork2" ]; then 30 rk_fullname="Source Code Release Kit for Greenstone2" 31 elif [ "$rk_name" == "sork3" ]; then 32 rk_fullname="Source Code Release Kit for Greenstone3" 33 elif [ "$rk_name" == "cdrk2" ]; then 34 rk_fullname="CD-ROM Release Kit for Greenstone2" 35 elif [ "$rk_name" == "derk" ]; then 36 rk_fullname="Documented Examples Release Kit" 29 37 else 30 38 show_help 31 exit32 fi33 34 35 #cd up a level or two if needed36 if [ -e "$rk_name-build.properties" ]; then37 pushd . &>/dev/null38 elif [ -e "../$rk_name-build.properties" ]; then39 pushd .. &>/dev/null40 elif [ -e "../../$rk_name-build.properties" ]; then41 pushd ../.. &>/dev/null42 else43 echo "couldn't find file $rk_name-build.properties"44 echo "it should exist in the top level of the release"45 39 exit 46 40 fi … … 76 70 fi 77 71 78 #go back to original dir79 popd &>/dev/null -
main/trunk/release-kits/kits/cdrk2/ant-scripts/build.xml
r21651 r21652 201 201 202 202 <target name="properties" depends="core-properties"> 203 <echo>Optional Properties:</echo> 204 <echo>software.archive.linux the URL to the linux archive of components</echo> 205 <echo>software.archive.windows the URL to the windows archive of components</echo> 206 <echo>software.archive.mac the URL to the mac archive of components</echo> 207 <echo>software.archive.documented-examples the URL to the archive of documented examples</echo> 208 <echo/> 203 <echo>software.archive.linux (optional) the URL to the linux archive of components</echo> 204 <echo>software.archive.windows (optional) the URL to the windows archive of components</echo> 205 <echo>software.archive.mac (optional) the URL to the mac archive of components</echo> 206 <echo>software.archive.documented-examples (optional) the URL to the archive of documented examples</echo> 209 207 </target> 210 208 -
main/trunk/release-kits/kits/rk2/ant-scripts/build.xml
r21650 r21652 26 26 27 27 <!-- target to show properties in rk2-build.properties --> 28 <target name="properties" depends="core-properties "/>28 <target name="properties" depends="core-properties,gs2-properties"/> 29 29 30 30 </project> -
main/trunk/release-kits/kits/rk2/ant-scripts/compile.xml
r21648 r21652 270 270 271 271 <!-- tidy up gli --> 272 <antcall target="gli-tidy-for-dist"><param name="glibasedir" value="compiled/gli"/></ target>272 <antcall target="gli-tidy-for-dist"><param name="glibasedir" value="compiled/gli"/></antcall> 273 273 274 274 <!-- mac and linux: insert export to cdrom package --> -
main/trunk/release-kits/kits/rk3/ant-scripts/build.xml
r21650 r21652 14 14 <!-- IMPORT OTHER ANT SCRIPTS --> 15 15 <import file="${rk.home}/shared/core/ant-scripts/shared.xml"/> 16 <import file="${rk.home}/shared/greenstone 2/ant-scripts/greenstone3-shared.xml"/>16 <import file="${rk.home}/shared/greenstone3/ant-scripts/greenstone3-shared.xml"/> 17 17 18 18 <import file="compile.xml"/> … … 29 29 30 30 <!-- target to show properties in rk3-build.properties --> 31 <target name="properties" depends="core-properties "/>31 <target name="properties" depends="core-properties,gs3-properties"/> 32 32 33 33 <!-- create the property set to be forwarded to greenstone3 --> -
main/trunk/release-kits/kits/rk3/ant-scripts/compile.xml
r21630 r21652 9 9 <arg value="${svn.root}/main/${branch.path}/greenstone3"/> 10 10 <arg value="compiled"/> 11 <arg value="-r" ><arg value="${branch.revision}"/>11 <arg value="-r"/><arg value="${branch.revision}"/> 12 12 </exec> 13 13 -
main/trunk/release-kits/kits/sork2/ant-scripts/build.xml
r21650 r21652 123 123 </target> 124 124 125 <target name="properties" depends="core-properties "/>125 <target name="properties" depends="core-properties,gs2-properties"/> 126 126 127 127 </project> -
main/trunk/release-kits/kits/sork3/ant-scripts/build.xml
r21650 r21652 9 9 10 10 <project name="sork3-build" default="sork3"> 11 12 <!-- CONSTANTS -->13 14 <!-- for the benefit of the shared scripts, set release-kit home -->15 <property name="rk.name" value="sork3"/>16 <property name="rk.home" value="${sork3.home}" />17 <property name="rk.os" value="multi" />18 <property name="os.suffix" value="AnyPlatform"/>19 11 20 12 <!-- IMPORT OTHER ANT SCRIPTS --> … … 23 15 24 16 <!-- THE MAIN TARGET --> 25 <target name="sork3" depends="init ">17 <target name="sork3" depends="init,gs3-init"> 26 18 27 19 <!-- store the name of the distribution --> … … 75 67 </target> 76 68 77 <target name="properties" depends="core-properties "/>69 <target name="properties" depends="core-properties,gs3-properties"/> 78 70 79 71 </project> -
main/trunk/release-kits/shared/core/ant-scripts/shared.xml
r21648 r21652 193 193 <!-- show the core properties of all release-kits --> 194 194 <target name="core-properties"> 195 <echo>Required Properties:</echo> 196 <echo>version the version string for the release</echo> 197 <echo/> 198 <echo>Optional Properties:</echo> 199 <echo>branch.path the branch of Greenstone to make a release of. Eg: tags/2.81. Default: trunk.</echo> 200 <echo>branch.revision the revision of Greenstone to make a release of. Eg: 18273. Default: HEAD.</echo> 201 <echo/> 195 <echo>version (required) the version string for the release</echo> 196 <echo>branch.path (optional) the branch of Greenstone to make a release of. Eg: tags/2.81. Default: trunk.</echo> 197 <echo>branch.revision (optional) the revision of Greenstone to make a release of. Eg: 18273. Default: HEAD.</echo> 202 198 </target> 203 199 -
main/trunk/release-kits/shared/greenstone2/ant-scripts/greenstone2-shared.xml
r21648 r21652 14 14 </target> 15 15 16 <target name="gs2-properties"> 17 <echo>server.exe.location (optional) the version string for the release</echo> 18 </target> 19 16 20 </project> 17 21 -
main/trunk/release-kits/shared/greenstone3/ant-scripts/greenstone3-shared.xml
r21648 r21652 25 25 <echoproperties><propertyset refid="forward.properties"/></echoproperties> 26 26 27 </target> 28 29 <target name="gs3-properties"> 30 <echo>forward.* (eg, forward.proxy.host) (optional) any property to forward to greenstone3 during build</echo> 27 31 </target> 28 32
Note:
See TracChangeset
for help on using the changeset viewer.