swarm-support
[Top][All Lists]
Advanced

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

Re: New Java app available on Swarm ftp


From: Paul Johnson
Subject: Re: New Java app available on Swarm ftp
Date: Mon, 13 Jan 2003 23:02:00 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918


Li An wrote:
Dear Swarm colleagues,

I downed the JSpatialEpidemic-1.0-2.1.zip from the website mentioned below and unzipped it. I found a error in compiling. What could be the problem?

address@hidden JSpatialEpidemic]$ make
make: *** Warning: File `Agent.java' has modification time in the future (2003-01-13 21:37:48 > 2003-01-13 20:43:42)

That just means their clock is ahead of yours. No big deal.


/usr/bin/javacswarm Agent.java ModelSwarm.java ObserverSwarm.java Start.java
Found 2 semantic errors compiling "ModelSwarm.java":
   338.                         new FArgumentsImpl (this, sel, true)));
                                <---------------------------------->
*** Error: No match was found for constructor "FArgumentsImpl(ModelSwarm, swarm.Selector, boolean)".

   351.                         new FArgumentsImpl (this, sel, true)));
                                <---------------------------------->
*** Error: No match was found for constructor "FArgumentsImpl(ModelSwarm, swarm.Selector, boolean)".
make: *** [all] Error 1



Delete the ",true" from the parentheses and it compiles fine. I deduce this change is necessary by looking in my Swarm build tree, where I see this directory:

build/swarm/java/swarm/defobj

I say:

$ grep FArgumentsI *

and one of the lines is this declaration....

FArgumentsImpl.java:public FArgumentsImpl (Zone aZone, swarm.Selector aSel)
--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700


                 ==================================
  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]