commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doc/www.gnu.org/README doc/www.gnu.org/newsitems.txt doc/www.gnu.org/faq


From: Patrik Reali
Subject: doc/www.gnu.org/README doc/www.gnu.org/newsitems.txt doc/www.gnu.org/faq/faq.wml doc/www.gnu.org/include/layout.wml doc/www.gnu.org/include/macros.wml
Date: Mon, 5 Apr 2004 23:11:56 +0200 (CEST)

2004-04-05  Patrik Reali  <address@hidden>

        * doc/www.gnu.org/README: some custom tags documented
        * doc/www.gnu.org/newsitems.txt: planet classpath added
        * doc/www.gnu.org/faq/faq.wml doc/www.gnu.org/include/layout.wml 
        doc/www.gnu.org/include/macros.wml: faq entry on installing classpath
        and mauve, custom tags for commented code

Index: doc/www.gnu.org/README
===================================================================
RCS file: /cvsroot/classpath/classpath/doc/www.gnu.org/README,v
retrieving revision 1.4
diff -u -r1.4 README
--- doc/www.gnu.org/README      27 Nov 2003 14:49:57 -0000      1.4
+++ doc/www.gnu.org/README      5 Apr 2004 21:03:15 -0000
@@ -45,3 +45,41 @@
 
 Some pages define their own tags (e.g. faq.wml, tools.wml, downloads.wml)
 to organize their content.
+
+
+Guide to the custom-defined tags
+--------------------------------
+
+Links
+  <createlink name="name" url="url>
+  <createlink url="url>
+
+  creates a <a href="url">name</a> entry; if name is missing, uses the url 
+  as name
+
+
+Commented code
+
+  <commented-code>
+    <code-line code="1st code-line">comment to 1st line of code</code-line>
+    <code-line code="2nd code-line">comment to 2nd line of code</code-line>
+    <code-line code="3rd code-line" />
+  </commented-code>
+
+
+FAQ-Lists
+
+  <faq-section name="section name">
+    <faq question="1st question">
+      1st answer
+    </faq>
+    <faq question="2nd question">
+      2nd answer
+    </faq>
+  </faq-section>
+  <faq-section name="section name">
+    <faq question="1st question">
+      1st answer
+    </faq>
+  </faq-section>
+
Index: doc/www.gnu.org/newsitems.txt
===================================================================
RCS file: /cvsroot/classpath/classpath/doc/www.gnu.org/newsitems.txt,v
retrieving revision 1.2
diff -u -r1.2 newsitems.txt
--- doc/www.gnu.org/newsitems.txt       15 Mar 2004 21:54:14 -0000      1.2
+++ doc/www.gnu.org/newsitems.txt       5 Apr 2004 21:03:15 -0000
@@ -1,3 +1,7 @@
+<newsitem date="26 Mar. 2004">
+<createlink name="Planet Classpath" 
url="http://classpath.wildebeest.org/planet/";> launched; it aggregates the 
blogs of most Classpath's developers
+</nextitem>
+
 <newsitem date="13 Mar. 2004">
 <createlink name="GNU Classpath 0.08 released" url="announce/20040313.html">
 </nextitem>
Index: doc/www.gnu.org/faq/faq.wml
===================================================================
RCS file: /cvsroot/classpath/classpath/doc/www.gnu.org/faq/faq.wml,v
retrieving revision 1.6
diff -u -r1.6 faq.wml
--- doc/www.gnu.org/faq/faq.wml 15 Mar 2004 21:54:14 -0000      1.6
+++ doc/www.gnu.org/faq/faq.wml 5 Apr 2004 21:03:15 -0000
@@ -230,6 +230,62 @@
 maintainer of GNU Classpath, Mark Wielaard <address@hidden>.
 </p>
 </faq>
+
+<faq question="How do I install GNU Classpath?">
+<p>Follow these steps to install GNU Classpath. Please note that you need this 
only if you want to work directly with it; usually JVMs contain a pre-packaged 
version of GNU Classpath.
+
+<commented-code>
+<code-line code="<createlink url="ftp://ftp.gnu.org/gnu/classpath/";>">
+  Download the current release
+</code-line>
+<code-line code="tar zxf classpath-<i>version</i>.tar.gz">
+  unpack
+</code-line>
+<code-line code="cd classpath-<i>version</i>" />
+<code-line code="more INSTALL">
+  make sure you have all pre-requirements
+</code-line>
+<code-line code="./configure">
+  configure the distribution; use <code>--help</code> to get the list of 
options: you will usually need <code>--prefix=<i>dest/dir/for/classpath</i>; 
use <code>--disable-gtk-peer</code> if you don't use gtk+/gnome.
+</code-line>
+
+<code-line code="make; make install" />
+</commented-code>
+
+
+</faq>
+
+<faq question="How do I install Mauve?">
+
+<commented-code>
+<code-line code="export CVSROOT=:pserver:address@hidden:/cvs/mauve" />
+<code-line code="cvs login">password is anoncvs</code-line>
+<code-line code="cvs checkout mauve" />
+<code-line code="cd mauve" />
+<code-line code="./configure">
+The main thing this does is creating the gnu/testlet/config.java. You could 
also do this by hand from the config.java.in file
+</code-line>
+<code-line code="vi batch_runner">
+Edit the script 'batch_runner' to set the variable COMPILER correctly
+  (there are a couple of example settings)
+</code-line>
+<code-line code="vi runner">
+Edit script 'runner' to set the variable RUNTIME correctly
+  (there are a couple of example settings)
+</code-line>
+<code-line code="./batch_run">
+run ./batch_run and look at the results. You can also run individual tests 
with<br>
+<code>- echo gnu.testlet.java.lang.String.getBytes | jamvm 
+gnu.testlet.SimpleTestHarness</code><br>
+(Option flags are -verbose and -debug)
+
+</code-line>
+
+</commented-code>
+
+
+</faq>
+
 </faq-section>
 
 <faq-section name="Classpath Implementation">
Index: doc/www.gnu.org/include/layout.wml
===================================================================
RCS file: /cvsroot/classpath/classpath/doc/www.gnu.org/include/layout.wml,v
retrieving revision 1.3
diff -u -r1.3 layout.wml
--- doc/www.gnu.org/include/layout.wml  1 Mar 2004 19:41:46 -0000       1.3
+++ doc/www.gnu.org/include/layout.wml  5 Apr 2004 21:03:15 -0000
@@ -36,11 +36,27 @@
 <preserve name>
 <preserve url>
 <set-var %attributes>
+<ifeq <get-var name> "" <set-var name="<get-var url>">>
 <a href="<get-var url>"><get-var name></a>
 <restore url>
 <restore name>
 </define-tag>
 
+<define-tag commented-code endtag=required>
+  <ul>
+  <table cellspacing="0" cellpadding="4">
+  %body
+  </table>
+  </ul>
+</define-tag>
+
+<define-tag code-line endtag=required>
+  <preserve code>
+  <set-var %attributes>
+  <tr><td valign="top"><code><get-var code></code></td><td 
style="padding-left: 20px;">%body</td></tr>
+  <tr bgcolor="#999999"><td colspan="2"></td></tr>
+  <restore code>
+</define-tag>
 
 ##
 #
Index: doc/www.gnu.org/include/macros.wml
===================================================================
RCS file: /cvsroot/classpath/classpath/doc/www.gnu.org/include/macros.wml,v
retrieving revision 1.7
diff -u -r1.7 macros.wml
--- doc/www.gnu.org/include/macros.wml  27 Nov 2003 14:49:58 -0000      1.7
+++ doc/www.gnu.org/include/macros.wml  5 Apr 2004 21:03:15 -0000
@@ -25,10 +25,13 @@
 permitted in any medium, provided this notice is preserved.<P>
 Updated:
 </en>
+$Date:$ $Author:$
+<!--
 <preserve info>
 <set-var info=<get-file-properties <__file__>>>
 <date <get-var info[2]>> <get-var last-modified-author>
 <restore info>
+-->
 <HR>
 </define-tag>
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]