Author: nextgens
Date: 2006-04-14 12:44:45 +0000 (Fri, 14 Apr 2006)
New Revision: 8550
Added:
trunk/apps/installer/installclasspath/welcome.html
Modified:
trunk/apps/installer/build.xml
Log:
installer: Fix bug 181
The welcome page is now auto-generated
Modified: trunk/apps/installer/build.xml
===================================================================
--- trunk/apps/installer/build.xml 2006-04-14 10:58:25 UTC (rev 8549)
+++ trunk/apps/installer/build.xml 2006-04-14 12:44:45 UTC (rev 8550)
@@ -138,6 +138,10 @@
<replacefilter token="@serviceName@"
value="freenet-${freenetWorkingMode}"/>
<replacefilter token="@testnet@"
value="${freenetWorkingMode}"/>
</replace>
+ <copy file="${basedir}/welcome.html"
tofile="${installDir}/welcome.html"/>
+ <replace file="${installDir}/welcome.html">
+ <replacefilter token="@port@" value="${fproxyport}"/>
+ </replace>
<copy file="${basedir}/freenet-cvs-snapshot.jar"
tofile="${installDir}/freenet-cvs-snapshot.jar" failonerror="false"/>
<copy file="${basedir}/freenet-ext.jar"
tofile="${installDir}/freenet-ext.jar" failonerror="false"/>
<property name="freenet-cvs-snapshot.location" value="true"/>
@@ -257,7 +261,7 @@
<target name="start_browser">
<java classpath="${basedir}/browser.jar"
classname="BareBonesBrowserLaunch" failonerror="false" fork="true"
logError="true">
- <arg
value="http://freenetproject.org/index.php?page=installed"/>
+ <arg value="file://${installDir}/welcome.html"/>
</java>
</target>
Added: trunk/apps/installer/installclasspath/welcome.html
===================================================================
--- trunk/apps/installer/installclasspath/welcome.html 2006-04-14 10:58:25 UTC
(rev 8549)
+++ trunk/apps/installer/installclasspath/welcome.html 2006-04-14 12:44:45 UTC
(rev 8550)
@@ -0,0 +1,59 @@
+<html>
+ <head>
+ <title>Successful installation of Freenet 0.7!</title>
+ <style type="text/css">
+ p, span, div, td, th, li, h1, h2, h3, h4, h5 {
+ font-family: Arial;
+ font-weight: normal;
+ font-size: 11pt;
+ }
+
+ h2 {
+ text-align: center;
+ font-weight: bold;
+ font-size: 16pt;
+ }
+
+ pre, textarea {
+ font-family: Courier;
+ font-weight: normal;
+ font-size: 8pt;
+ }
+
+ table, pre {
+ margin: 0 0 5px 0;
+ padding: 0;
+ }
+
+ body {
+ margin: 0;
+ padding: 0;
+ background-color: #f0f0f0;
+ }
+
+ a {
+ color: #000000;
+ }
+
+ a:hover {
+ color: #ff0000;
+ }
+
+ </style>
+ </head>
+ <body>
+ <div name="title">
+ <h2>Successful installation of Freenet 0.7!</h2>
+ </div>
+ <p>Congratulations, you have successfully installed a Freenet
0.7 alpha-test node.</p>
+ <p>You can access it <a
href="http://127.0.0.1:@port@/">here</a>.</p>
+ <p>These links will take you to FProxy, the web interface to
Freenet. You can also run Frost, a message boards program, which may have been
installed; there may be an icon on your desktop, otherwise have a look at the
directory the node was installed to.</p>
+ <p>You will need to get some darknet (or testnet) connections.
If you know people using Freenet, ask them for their noderefs (this is ideal),
otherwise please join us on IRC on #freenet-refs (or #freenet) on
irc.freenode.net, and we will get you wired in to the network. Note that you
are especially vulnerable to your peers, so if you are paranoid you should only
connect to people you trust.</p>
+ <p>Connecting to a node means you send them your <a
href="http://127.0.0.1:@port@/darknet/myref.txt">noderef</a> and they send you
theirs, for you to add on the <a
href="http://127.0.0.1:@port@/darknet/">darknet</a> page, when both ends have
added the other they should connect.</p>
+ <br>
+ <div name="greetings">
+ <p>Once again thanks for using Freenet!</p>
+ </div>
+ <p>If you can we would really appreciate it if you could <a
href="http://freenetproject.org/index.php?page=donate">donate here</a> so that
we can continue to employ a full time coder.</p>
+ </body>
+</html>