Tracker Eclipse Workspace

Developers can use the step-by-step instructions in this document to create an Eclipse Workspace with source code for the Tracker Video Analysis and Modeling Tool. The source code is cloned from the Open Source Physics (OSP) GutHub home at https://github.com/OpenSourcePhysics. Note: in order to clone source from GitHub, you must have an account. To create a new account, click the green Sign Up button at the top of the OSP GitHub home page.

Note: the instructions below are for the Kepler version of Eclipse.

  1. Launch Eclipse and open a new, empty workspace named workspace_tracker. (One way to do this: choose File|Switch Workspace|Other..., enter the desired workspace path in the Workspace field, click OK.) Close the Welcome tab.

  2. Choose Window|Show View|Other|Git|Git Repositories to add a Git Repositories view to your Eclipse workspace.

  3. In a web browser, open the OSP GitHub home (https://github.com/OpenSourcePhysics) and clone the osp, tracker and video-engines repositories using the following steps:

  4. In Eclipse, create a new Java project:

  5. Add the osp source code to the project:

  6. Add the tracker source code to the project:

  7. At this point you should be able to run Tracker from Eclipse. In the Package Explorer view, open the tracker/src_tracker/org.opensourcephysics.cabrillo.tracker package. Right-click the Tracker.java file and choose Run As|Java Application from the popup menu. If all is well Tracker should launch. It may warn you that there are video engine problems (which you will fix below) but you should still be able to open images and animated GIFs and otherwise have a fully functional Tracker.

  8. Prepare to add video engine support by installing the required third-party code libraries and (on Windows) a 32-bit Java VM:

  9. Add the third-party libraries to your project:

  10. On Windows, change the JRE System Library to a 32-bit VM:

  11. Add the video-engines source code to the project:

  12. Eclipse should now be able to build the entire tracker project including the video-engine code.