Changeset 15142 for release-kits/lirk3/installer
- Timestamp:
- 2008-03-28T12:43:46+13:00 (16 years ago)
- Location:
- release-kits/lirk3/installer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk3/installer/antinstall-config.xml
r15097 r15142 15 15 type="input" 16 16 name="intro" 17 displayText=" 绿å®ç³èœ¯ä»¶">17 displayText="Welcome to the Greenstone3 installer"> 18 18 </page> 19 19 … … 34 34 <directory 35 35 property="installDir" 36 defaultValue="/ research/oranfry/sandbox/Greenstone3.03a"37 defaultValueWin="${env.ProgramFiles}\Greenstone 3"36 defaultValue="/usr/local/Greenstone-@version@" 37 defaultValueWin="${env.ProgramFiles}\Greenstone-@version@" 38 38 displayText="Select an installation directory" 39 39 create="true"/> … … 45 45 <comment name="tomcatportsdescription" displayText="Please select the ports which the web server (Apache Tomcat) will use will use. It is usually safe to accept the defaults by just clicking Next. The exception is when you are running other services on these ports - if this is the case, select some free ports and click Next."/> 46 46 47 <text property="tomcat.server" defaultValue="localhost" displayText="Tomcat Server"/> 47 48 <text property="tomcat.port" defaultValue="8080" displayText="Tomcat Port"/> 48 49 <text property="tomcat.shutdown.port" defaultValue="8005" displayText="Tomcat Shutdown Port"/> 50 49 51 </page> 50 52 … … 54 56 name="selector" 55 57 displayText="Components to install"> 56 <comment 57 name="choosecomponents" 58 displayText="Choose the components you want to install" 59 bold="true"/> 60 <target 61 displayText="Core components" 62 target="default" 63 defaultValue="true" 64 force="true"/> 65 66 <target 67 displayText="Source code" 68 target="tgsrc" 69 defaultValue="false"/> 70 58 59 <comment name="choosecomponents" displayText="Choose the components you want to install" bold="true"/> 60 <target displayText="Core components" target="default" defaultValue="true" force="true"/> 61 <target displayText="Source code" target="tgsrc" defaultValue="false"/> 62 71 63 </page> 72 64 -
release-kits/lirk3/installer/build.xml
r14982 r15142 4 4 --> 5 5 6 <project name="Installation" default="" basedir="${basedir}">6 <project name="Installation" default=""> 7 7 8 8 <!-- this is required to pick up the properties generated during the install pages --> … … 15 15 <!-- custom tasks --> 16 16 <typedef name="rsr" classname="RegexSearchReplace" classpathref="project.classpath"/> 17 18 <condition property="bundled.java.exists"> 19 <available file="../@java.extracted@/bin/java"/> 20 </condition> 21 17 22 18 23 <target name="default" depends=""> … … 76 81 <chmod dir="${installDir}" includes="*.sh" perm="775"/> 77 82 <chmod dir="${installDir}/bin/script" includes="*" perm="775"/> 83 <chmod dir="${installDir}/bin" includes="*" perm="775"/> 78 84 <chmod dir="${installDir}/packages/tomcat/bin" includes="*.sh" perm="775"/> 85 <chmod dir="${installDir}/packages/ant/bin" includes="*" perm="775"/> 79 86 <chmod dir="${installDir}/gs2build/bin/linux" includes="*" perm="775"/> 80 87 <chmod dir="${installDir}/gs2build/bin/script" includes="**/*" perm="775"/> … … 110 117 <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 111 118 112 <!-- in the gs3-setup.sh file, set ANT_HOME and put it in PATH --> 113 <echo>In the gs3-setup.sh file, set ANT_HOME and put it in PATH</echo> 119 120 <!-- in the gs3-setup.sh file, set ANT_HOME and put it in PATH (no need anymore)--> 121 <!--<echo>In the gs3-setup.sh file, set ANT_HOME and put it in PATH</echo> 114 122 <exec executable="echo" output="${installDir}/gs3-setup.sh" append="true"> 115 123 <arg line="export ANT_HOME=${installDir}/packages/ant; export PATH=$ANT_HOME/bin:$PATH;"/> 116 </exec> 124 </exec>--> 117 125 118 126 <!-- delete unneeded files --> 127 <echo message="Deleting some extraneous files"/> 119 128 <delete dir="${installDir}/resources/icons"/> 120 129 <delete file="${installDir}/resources/*.png"/> 130 131 <echo message="Finished"/> 121 132 122 133 </target> … … 133 144 </target> 134 145 135 <target name="cleanuptarget"> 146 <target name="install-bundled-java" depends="" if="bundled.java.exists"> 147 <echo message="Installing bundled java"/> 148 <copy todir="${installDir}/packages/jre"> 149 <fileset dir="../@java.extracted@"/> 150 </copy> 151 <chmod dir="${installDir}/packages/jre/bin" includes="*" perm="775"/> 152 </target> 153 154 <target name="cleanuptarget" depends="install-bundled-java"> 136 155 </target> 137 156
Note:
See TracChangeset
for help on using the changeset viewer.