Changeset 17652 for release-kits/lirk3/ant-scripts
- Timestamp:
- 2008-10-31T15:08:31+13:00 (15 years ago)
- Location:
- release-kits/lirk3/ant-scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk3/ant-scripts/create-components.xml
r17645 r17652 3 3 4 4 <!-- create components from the distribution folder --> 5 6 <!-- 1st level --> 5 7 <target name="create-components"> 6 8 <antcall target="prepare-components" /> … … 8 10 </target> 9 11 12 <!-- 2nd level --> 10 13 <target name="prepare-components"> 11 14 <antcall target="prepare-core-component" /> … … 14 17 <antcall target="prepare-tomcat-component" /> 15 18 <antcall target="prepare-imagemagick-component" /> 16 19 <antcall target="prepare-sourcecode-core-component" /> 17 20 </target> 18 21 … … 23 26 <antcall target="compress-tomcat-component" /> 24 27 <antcall target="compress-imagemagick-component" /> 28 <antcall target="compress-sourcecode-core-component" /> 25 29 </target> 26 30 27 31 <!-- 3rd level --> 28 32 <target name="prepare-core-component"> 29 33 … … 148 152 <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/> 149 153 </target> 154 155 <target name="prepare-sourcecode-core-component"> 156 <delete dir="components/tmp/sourcecode-core"/> 157 <mkdir dir="components/tmp/sourcecode-core"/> 158 159 <copy todir="components/tmp/sourcecode-core" overwrite="true"> 160 <fileset dir="distribution/source"> 161 <include name="gli/**/*"/> 162 <include name="docs/**/*"/> 163 <include name="resources/**/*"/> 164 <include name="web/**/*"/> 165 <include name="gs2build/etc/**/*"/> 166 <include name="gs2build/setup.bash"/> 167 <include name="build.xml"/> 168 <include name="build.properties"/> 169 <include name="*.sh"/> 170 <include name="*.txt"/> 171 </fileset> 172 </copy> 173 <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false" includes="**/*"/> 174 </target> 150 175 176 <target name="compress-sourcecode-core-component"> 177 <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/> 178 </target> 179 151 180 </project> -
release-kits/lirk3/ant-scripts/create-distribution.xml
r17645 r17652 3 3 4 4 <target name="create-distribution"> 5 5 6 <!-- create distribution --> 6 7 <antcall target="export-greenstone3-gli" /> 7 <antcall target="greenstone3-set-version-numbers"> 8 <param name="greenstone3basedir" value="${basedir}/distribution/greenstone3"/> 9 </antcall> 10 <antcall target="gli-set-version-numbers"> 11 <param name="glibasedir" value="${basedir}/distribution/greenstone3/gli"/> 12 </antcall> 8 <antcall target="greenstone3-set-version-numbers"><param name="greenstone3basedir" value="${basedir}/distribution/greenstone3"/></antcall> 9 <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distribution/greenstone3/gli"/></antcall> 10 <antcall target="insert-user-manual"/> 13 11 14 <!-- create distributions 1, 2 and 3 --> 12 <antcall target="copy-web-to-source-greenstone3" /> <!-- from gs3-targets --> 13 15 14 <ant antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution/greenstone3" target="create-distribution-1" inheritAll="false"> 16 15 <property name="app.version" value="${version}"/> … … 29 28 30 29 <antcall target="copy-over-build-xml" /> 31 <antcall target="insert-user-manual"/>32 30 <antcall target="insert-compiled-binaries"/> 33 31 <antcall target="export-imagemagick-linux-binaries" /> 34 32 <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk3-targets --> 35 <antcall target="rename-build-xml-for-transit"/> 36 <antcall target="strip-svn-dirs"><param name="dir" value="distribution/greenstone3"/></antcall> <!-- from init --> 33 34 <antcall target="strip-svn-dirs"><param name="dir" value="distribution"/></antcall> <!-- from init --> 35 37 36 </target> 38 37 … … 72 71 </target> 73 72 74 <target name="rename-build-xml-for-transit">75 <move file="distribution/greenstone3/build.xml" tofile="distribution/greenstone3/greenstone3-build.xml"/>76 </target>77 78 73 </project>
Note:
See TracChangeset
for help on using the changeset viewer.