After extracting the files, get the models into Eclipse easily by:
1. Select File -> Import Repast Examples from the Eclipse main menu   
2. Check Select root directory: /home/rlr/Repast/Repast-Models/models         (not: Select archive file) 
3. Check the boxes for the example projects you would like to import    select all    copy projects into workspace 
4. Click Finish   
Now they all appear in the packages panel 
On a Mac eveything should work fine, if working on Windows there may now be problems running some of the example models due to JOGL and Java3D errors.
Meghan Hutchins provides an excellent outline of how to fix these errors, please see the link on the left to her blog, or else click here for the specfici pages related to demo models and how to fix errors that may occur. (User guide to Eclipse/Repast)
http://meghanhutchins.com/pmwiki.php/Main/InstallJava3DLibraries
 
 
No comments:
Post a Comment