How to get gt-mobisim, along with source code, sample simulation configs & maps?- Download and unzip Java SDK: http://java.sun.com/javase/downloads/index.jsp, eg. choose JDK 6 Update 16
- Choose:
- Development with Eclipse:
- Download and unzip Eclipse: http://www.eclipse.org/downloads/, eg. choose Eclipse IDE for Java Developers
- Get gt-mobisim by choosing one of these 2 methods:
- From Google Code SVN source depot:
- Install Subclipse SVN plugin for Eclipse: http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
- In Eclipse:
- File/New/Other.../SVN/Checkout projects from SVN
- Select Create new repository location
- URL: http://gt-mobisim.googlecode.com/svn (for non-read-only access, use https here)
- Select trunk folder
- Select Check out as a project configured using the New Project Wizard
- Select Java Project, and name it gt-mobisim
- more instructions: http://blog.msbbc.co.uk/2007/06/using-googles-free-svn-repository-with.html
- Without source depot:
- Download and unpack the latest zip into a gt-mobisim directory in your Eclipse workspace: http://code.google.com/p/gt-mobisim/downloads/list
- In Eclipse: File/Import.../General/Existing Projects into Workspace
- Create a run target in Eclipse:
- Select gt-mobisim/edu.gatech.lbs.sim.Simulation, then right click/Run As/Run Configurations...
- on the Arguments tab:
- Program arguments: jnlp-demo.xml
- VM arguments: -Xmx500M (increase for simulations with many agents)
- Working directory: Other: ${workspace_loc:gt-mobisim/configs}
- Run
- Just use the ready-made gtmobisim.jar (no Eclipse):
- Download and unpack the latest zip into a gt-mobisim directory: http://code.google.com/p/gt-mobisim/downloads/list
- In the configs subdirectory run:
java -Xmx500M -cp "../thirdparty/*.jar" -jar ../gtmobisim.jar jnlp-demo.xml You could also try runjar.bat jnlp-demo.xml for the same result. Also consider the example commands that run the ExampleCodes
|
how I will read the trace files? please its urgent
thanks in advance.