My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
QuickStart  
Get started with gt-mobisim
Updated Sep 7, 2009 by pestip

How to get gt-mobisim, along with source code, sample simulation configs & maps?

  1. Download and unzip Java SDK: http://java.sun.com/javase/downloads/index.jsp, eg. choose JDK 6 Update 16
  2. Choose:
    1. Development with Eclipse:
      1. Download and unzip Eclipse: http://www.eclipse.org/downloads/, eg. choose Eclipse IDE for Java Developers
      2. Get gt-mobisim by choosing one of these 2 methods:
        1. From Google Code SVN source depot:
          1. Install Subclipse SVN plugin for Eclipse: http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
          2. 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
        2. Without source depot:
          1. Download and unpack the latest zip into a gt-mobisim directory in your Eclipse workspace: http://code.google.com/p/gt-mobisim/downloads/list
          2. In Eclipse: File/Import.../General/Existing Projects into Workspace
      3. Create a run target in Eclipse:
        1. Select gt-mobisim/edu.gatech.lbs.sim.Simulation, then right click/Run As/Run Configurations...
        2. on the Arguments tab:
          1. Program arguments: jnlp-demo.xml
          2. VM arguments: -Xmx500M (increase for simulations with many agents)
          3. Working directory: Other: ${workspace_loc:gt-mobisim/configs}
          4. Run
    2. Just use the ready-made gtmobisim.jar (no Eclipse):
      1. Download and unpack the latest zip into a gt-mobisim directory: http://code.google.com/p/gt-mobisim/downloads/list
      2. 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
Comment by oscs...@gmail.com, Jan 20, 2010

how I will read the trace files? please its urgent

Comment by oscs...@gmail.com, Jan 20, 2010

thanks in advance.


Sign in to add a comment
Powered by Google Project Hosting