commit: r328 - trunk/java

[email protected]
Newsgroups gmane.network.spread.cvs
Message-ID <[email protected]>
Author: jonathan
Date: 2006-03-02 13:51:23 -0500 (Thu, 02 Mar 2006)
New Revision: 328

Modified:
   trunk/java/build.xml
   trunk/java/readme.txt
Log:
Update Java build instructions
Switch ant build to use modern compiler instead of jikes and add classpath for sample 
apps. 


Modified: trunk/java/build.xml
===================================================================
--- trunk/java/build.xml	2006-03-02 18:27:37 UTC (rev 327)
+++ trunk/java/build.xml	2006-03-02 18:51:23 UTC (rev 328)
@@ -12,7 +12,7 @@
         <property name="project" value="spread"/>
         <property name="title" value="${Name} ${version} API for Java"/>
         <property name="year" value="2006"/>
-        <property name="build.compiler" value="jikes"/>
+        <property name="build.compiler" value="modern"/>
         <property name="build.dir" value="dest"/>
         <property name="build.src" value="${build.dir}/src"/>
         <property name="build.dest" value="${build.dir}/class"/>
@@ -20,7 +20,7 @@
         <property name="jar.name" value="${project}-${version}.jar"/>
         <property name="lib.dir" value="/usr/lib/java"/>
         <property name="sample.build.src" value="${build.dir}/sample"/>
-        <property name="javadoc.destdir" value="testdocs"/>
+        <property name="javadoc.destdir" value="docs"/>
         <property name="debug" value="on"/>
         <property name="optimize" value="off"/>
         <property name="deprecation" value="on"/>
@@ -51,6 +51,7 @@
         </copy>
         <javac srcdir="${sample.build.src}"
             destdir="."
+            classpath="${build.dir}/${jar.name}"
             debug="${debug}"
             deprecation="${deprecation}"
             optimize="${optimize}">

Modified: trunk/java/readme.txt
===================================================================
--- trunk/java/readme.txt	2006-03-02 18:27:37 UTC (rev 327)
+++ trunk/java/readme.txt	2006-03-02 18:51:23 UTC (rev 328)
@@ -16,25 +16,27 @@
  * License.
  *
  * The Creators of Spread are:
- *  Yair Amir, Michal Miskin-Amir, Jonathan Stanton.
+ *  Yair Amir, Michal Miskin-Amir, Jonathan Stanton, John Schultz.
  *
- *  Copyright (C) 1993-2001 Spread Concepts LLC <[email protected]>
+ *  Copyright (C) 1993-2006 Spread Concepts LLC <[email protected]>
  *
  *  All Rights Reserved.
  *
  * Major Contributor(s):
  * ---------------
- *    Dan Schoenblum   [email protected] - Java Interface Developer.
- *    John Schultz     [email protected] - contribution to process group membership.
- *    Theo Schlossnagle [email protected] - Perl library and Skiplists.
+ *    Ryan Caudy           [email protected] - contributions to process groups.
+ *    Cristina Nita-Rotaru [email protected] - group communication security.
+ *    Theo Schlossnagle    [email protected] - Perl, autoconf, old skiplist.
+ *    Dan Schoenblum       [email protected] - Java interface.
  *
  */
 
+
 This is the Java library for Spread along with some sample programs.
 
 To compile the library run:
 
-javac splib_src/*.java -d ./ from this directory. That should create a 'spread'
+javac spread/*.java -d ./ from this directory. That will fill the 'spread'
 subdirectory with all the .class files. (on Windows the '/' in the above
 command need to be '\' ).
 
@@ -64,9 +66,9 @@
 are generated by javadoc.
 
 To rebuild it run:
-mkdir testdocs
-javadoc -sourcepath splib_src/ -verbose -windowtitle 'Spread for Java' \
-  -nodeprecated -d testdocs splib_src/*.java
+mkdir docs
+javadoc -sourcepath spread/ -verbose -windowtitle 'Spread for Java' \
+  -nodeprecated -d docs spread/*.java
 
 or
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.