On 7/24/06, Paul Thomson <
address@hidden> wrote: > > Thanks again, > > Do you know of anyone that has it working on in eclipse? My settings again: > > XP Pro SP2 > > Eclipse SDK, Version:
3.1.2 > > Latest Release of Swarm > Following "How to Set Up Java Swarm in Eclipse" by Lytinen and Railsback tutorial > > Two environmental settings set up > > Variable name: PATH Value: C:\Swarm-
2.2-java\bin\ > Variable name: SWARMHOME Value: c:/Swarm-2.2-java > > The error that i am getting is HeatBugModeSwarm.java class within the
http://ftp.swarm.org/pub/swarm/apps/java/sdg/testing/jheatbugs-2001-03-28.tar.gz > version specifically "actionForEach =modelActions.createFActionForEachHomogeneous$call(heatbugList, new FCallImpl (this, proto, sel,new FArgumentsImpl (this, sel, true)));"
> > Error: "The constructor FArgumentsImpl(HeatbugModelSwarm, Selector, boolean) is undefined" > > Which indicates to me that something is missing. I can run stupid model final version. I can see two pannels. The initial panel: start,stop,next,save,quit and the secondary panel (which was not present) numberOfInitialBugs ; bugMaxConsumptionRate ; initialBugSizeMean and lastly initial bug size. When i click start i get this error in the eclipse console:
> > "Error: input file not found > Exception in thread "main" java.lang.RuntimeException : Error: input file in wrong format > at stupidModel.DoubleFileGridReader.wrongFormat
(DoubleFileGridReader.java:70) > at stupidModel.DoubleFileGridReader.<init>(DoubleFileGridReader.java:24) > at stupidModel.StupidModelSwarm.buildObjects (StupidModelSwarm.java:111) > at
stupidModel.StupidObserverSwarm.buildObjects(StupidObserverSwarm.java:73) > at stupidModel.StartStupidModel.main(StartStupidModel.java:29) > *** event raised for warning: WarningMessage > *** function: swarm_directory_java_ensure_selector(), file: /src/swarm/src/defobj/java.m, line: 1995
> Method `add:' type (address@hidden:address@hidden) differs from Swarm method's type (address@hidden:address@hidden) > *** execution continuing... > *** event raised for warning: WarningMessage > *** function: swarm_directory_java_ensure_selector(), file: /src/swarm/src/defobj/java.m, line: 1995
> Method `remove:' type (address@hidden:address@hidden) differs from Swarm method's type (@address@hidden:address@hidden) > *** execution continuing... > " > > I assume that this is interrelated ? > > Thanks again guys
> > Paul Thomson > > > PS: Sorry if these questions appear to be stupid to you guys. Please note that i have endeavored to search the discussions and the tutorials provided on the website.
> > > > On 7/24/06, Marcus G. Daniels <address@hidden> wrote: > > > Paul Thomson wrote: > > >
http://ftp.swarm.org/pub/swarm/apps/java/sdg/testing/jheatbugs-2001-03-28.tar.gz > > > > > > Is that the right one? > > > > > Yes. That one works for me from the command line with CLASSPATH, PATH,
> > and SWARMHOME set. > > _______________________________________________ > > Support mailing list > > address@hidden > >
http://www.swarm.org/mailman/listinfo/support > > > > >