Author: nextgens Date: 2006-04-13 10:59:58 +0000 (Thu, 13 Apr 2006) New Revision: 8534
Modified: trunk/apps/installer/build.xml Log: installer: Revolve issue https://bugs.freenetproject.org/view.php?id=282 Summary 0000282: Installer should tell Frost, if installed with a testnet node, to use it Description If the user installs a testnet node, the installer should tell frost to use it (i.e. set the FCP port number). Modified: trunk/apps/installer/build.xml =================================================================== --- trunk/apps/installer/build.xml 2006-04-12 21:51:41 UTC (rev 8533) +++ trunk/apps/installer/build.xml 2006-04-13 10:59:58 UTC (rev 8534) @@ -270,7 +270,14 @@ <arg value="frost/frost.tbz"/> </java> + <echo message="Extracting Frost"/> <untar src="${basedir}/frost.tbz" dest="${installDir}" compression="bzip2"/> + + <echo message="Setting Frost up"/> + <replace file="${installDir}/frost/config/frost.ini"> + <replacefilter token="nodePort=26000" value="nodePort=${fcpport}"/> + <replacefilter token="availableNodes=127.0.0.1:9481" value="availableNodes=127.0.0.1:${fcpport}"/> + </replace> </target> <target name="jSite" unless="skip_jSite">
