Skip to content

Project Setup in Eclipse

e-bonner edited this page Feb 10, 2018 · 2 revisions

For cloning the Robot Code 2018, follow these steps.

  1. From the Clone or Download Button, copy the link provided to the clipboard.
  2. In Eclipse, go to File - Import, then select Git-Projects from Git. Select Clone URI and enter the link that was copied earlier under URI. Proceed until you reach Local Destination, then enter the desired location and finish.

The new robot code imported will have many errors, but these can be easily fixed.

  1. Right click RobotCode2018 and select Build Path - Configure Build Path. Then, select Libraries (to the right of the large list) and click Add Library. Select JRE System Library, then select Workspace default JRE(version) and finish.
  2. Right click RobotCode2018 and configure the build path again, but this time go to the Source tab. Remove RobotCode2018 from the source folder list. Then click Add Folder and navigate to RobotCode2018 under the Source Folder Selection and click the box next to src. Click Ok and Apply and Close.

The robot code should be set up now, as long as you have the required libraries.

Clone this wiki locally