swarm-support
[Top][All Lists]
Advanced

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

Re: Swarm 2.2 pretest and java source files


From: Marcus G. Daniels
Subject: Re: Swarm 2.2 pretest and java source files
Date: 17 Dec 2001 12:45:00 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7

>>>>> "JJ" == Jules X Junker <address@hidden> writes:

JJ> I have been using Swarm 2.1.1.  When I remake Swarm, it seems to
JJ> generate a lot of ".java" files.  I can't seem to determine just
JJ> how these are generated.  Can anyone tell me where they come from.

There is an Emacs Lisp program that reads the interface files
(activity.h, defobj.h, collections.h, objectbase.h, space.h,
analysis.h), creating an in-memory object tree of the methods, global
variables, and types that are the public Swarm interfaces.  From this
object tree, various outputs can be generated (Java, COM, & DocBook).

For Java, two sets of files are created.  First, a bunch of Java
classes and interfaces declaring the Swarm interfaces in terms of
native methods.  Second, a bunch of C files that implement the Java
Native Interface `stubs'; global functions that are called by the JVM,
which in turn call Swarm methods.  There are a few classes implemented
in Java (e.g. Selector), but by far the majority make direct use of
the Swarm library. 

JJ> Also, I see a lot of reference to Swarm 2.2 Pretest, but I only
JJ> see Swarm 2.1.1 source to download.  Can anyone direct me where to
JJ> get the Swarm 2.2 Pretest source.

Yep, ftp://ftp.swarm.org/pub/swarm/src/testing/swarm-2001-12-07.tar.gz

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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