Changeset 17596 for release-kits/lirk3
- Timestamp:
- 2008-10-24T10:59:47+13:00 (15 years ago)
- Location:
- release-kits/lirk3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk3/ant-scripts/build.xml
r17466 r17596 15 15 <property name="rk.home" value="${lirk3.home}" /> 16 16 <property name="rk.os" value="linux" /> 17 17 <property name="os.suffix" value="linux"/> 18 18 19 19 <!-- IMPORT OTHER ANT SCRIPTS --> -
release-kits/lirk3/ant-scripts/create-installer.xml
r17538 r17596 5 5 <antcall target="copy-installer-files"/> 6 6 <antcall target="make-installer-files-concrete"><param name="java.os" value="linux"/></antcall> <!-- from rk3-targets --> 7 <antcall target="compile-installer"/> 7 <antcall target="compile-binary-installer"/> <!-- from init --> 8 <antcall target="compile-minimal-installer"/> <!-- from init --> 9 <antcall target="compile-source-installer"/> <!-- from init --> 10 8 11 </target> 9 12 10 13 <target name="copy-installer-files"> 11 <echo>Getting things ready to compile the installer</echo> 14 12 15 <mkdir dir="${basedir}/installer/resources"/> 13 16 <copy todir="${basedir}/installer" file="${lirk3.home}/installer/antinstall-config.xml" overwrite="true" /> … … 26 29 </target> 27 30 28 <target name="compile-installer">29 30 <installer file="${basedir}/installer/greenstone3.jar"31 compress="true"32 extractType="NonExtractor"33 installConfig="${basedir}/installer/antinstall-config.xml"34 buildFile="${basedir}/installer/build.xml"35 antInstallLib="${lirk3.home}/packages/ant-installer/lib"36 antLib="${lirk3.home}/packages/ant/lib"37 validateConfig="true"38 icons="bluecurve">39 40 <zipfileset dir="${basedir}/installer/classes" includes="**/*"/>41 <zipfileset dir="${basedir}/components" includes="*.lzma"/>42 </installer>43 44 <dcff45 file="${basedir}/installer/antinstall-config.xml"46 startTag=".*<!-- start full -->"47 endTag=".*<!-- end full -->"/>48 49 <installer file="${basedir}/installer/Greenstone-${version}-linux-minimal.jar"50 compress="true"51 extractType="NonExtractor"52 installConfig="${basedir}/installer/antinstall-config.xml"53 buildFile="${basedir}/installer/build.xml"54 antInstallLib="${lirk3.home}/packages/ant-installer/lib"55 antLib="${lirk3.home}/packages/ant/lib"56 validateConfig="true"57 icons="bluecurve">58 59 <zipfileset dir="${basedir}/installer/classes" includes="**/*"/>60 <zipfileset dir="${basedir}/components" includes="core.lzma"/>61 </installer>62 63 64 </target>65 66 31 </project> -
release-kits/lirk3/ant-scripts/wrap.xml
r17446 r17596 17 17 <!-- copy bundled files --> 18 18 <copy todir="${basedir}/wrapped-installer/build" file="${lirk3.home}/linux/${linux-java.installer}"/> 19 <copy to dir="${basedir}/wrapped-installer/build" file="${basedir}/installer/greenstone3.jar"/>19 <copy tofile="${basedir}/wrapped-installer/build/greenstone3.jar" file="${basedir}/installer/Greenstone-${version}-${os.suffix}.jar"/> 20 20 21 21 <!-- substitute the real java installer filename and min version into various files --> … … 62 62 <echo level="info">relink, bundling the files to be bundled</echo> 63 63 <exec executable="g++" dir="${basedir}/wrapped-installer/build"> 64 <arg line="-static -static-libgcc -o ../ greenstone-${version}-linux.bin wrapper.o libsearch4j.o greenstone3.jar.o java.o"/>64 <arg line="-static -static-libgcc -o ../Greenstone-${version}-${os.suffix}.bin wrapper.o libsearch4j.o greenstone3.jar.o java.o"/> 65 65 </exec> 66 66 -
release-kits/lirk3/installer/antinstall-config.xml
r17538 r17596 46 46 47 47 <target 48 target=" install-core-components"48 target="Installing Core System" 49 49 diskRequirement="@component.size.core@" 50 50 defaultValue="true" … … 52 52 force="true"/> 53 53 54 <!-- start full-->54 <!-- start bundled components --> 55 55 <target 56 target=" install-tomcat"56 target="Installing Tomcat" 57 57 diskRequirement="@component.size.tomcat@" 58 58 defaultValue="true" … … 60 60 61 61 <target 62 target=" install-ant"62 target="Installing Ant" 63 63 diskRequirement="@component.size.ant@" 64 64 defaultValue="true" 65 65 displayText=""/> 66 <!-- end full-->66 <!-- end bundled components --> 67 67 68 <!-- start sourcecode --> 68 69 <target 69 target=" install-source-code"70 target="Installing Source Code" 70 71 diskRequirement="@component.size.sourcecode@" 71 72 defaultValue="false" 72 73 displayText=""/> 74 <!-- end sourcecode --> 73 75 74 76 </page> 75 77 76 <page type="input" name="tomcat-config" ifProperty="(${ install-tomcat}==true)" displayText="">78 <page type="input" name="tomcat-config" ifProperty="(${Installing Tomcat}==true)" displayText=""> 77 79 78 80 <text property="tomcat.server" defaultValue="localhost" displayText=""/> … … 82 84 </page> 83 85 84 <page type="progress" name="progress" showTargets="false" target="cleanuptarget" displayText=""> 85 </page> 86 <page type="progress" name="progress" showTargets="true" displayText=""/> 86 87 87 88 </installer> -
release-kits/lirk3/installer/build.xml
r17470 r17596 17 17 <taskdef name="sevenzip" classname="org.apache.tools.ant.SevenZip" classpathref="project.classpath"/> 18 18 19 <target name=" install-core-components" depends="">19 <target name="Installing Core System" depends=""> 20 20 21 21 <!-- create the installation directory --> … … 81 81 82 82 <!-- Source --> 83 <target name=" install-source-code" depends="">83 <target name="Installing Source Code" depends=""> 84 84 85 85 <echo>Installing Source Code</echo> … … 93 93 </target> 94 94 95 <target name=" install-tomcat">95 <target name="Installing Tomcat"> 96 96 <echo>Installing Tomcat (packages/tomcat)</echo> 97 97 <mkdir dir="packages"/> … … 116 116 </target> 117 117 118 <target name=" install-ant">118 <target name="Installing Ant"> 119 119 <echo>Installing Ant (packages/ant)</echo> 120 120 <mkdir dir="packages"/> … … 130 130 </target> 131 131 132 <target name="cleanuptarget"></target>133 134 132 </project>
Note:
See TracChangeset
for help on using the changeset viewer.