Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Sending code to teammate (http://www.chiefdelphi.com/forums/showthread.php?t=142979)

Cyberfajita 01-02-2016 13:31

Sending code to teammate
 
Hello! I'm trying to share the Java source code for my team's robot with a member on my team as he will be my alternate. I helped him install Eclipse and the needed plugins, as well as all the software provided by NI. Whenever we import the project into Eclipse it gives us a ton of errors about the build path.

pblankenbaker 01-02-2016 13:42

Re: Sending code to teammate
 
We have noticed this issue as well after a fresh install of Eclipse and the WPIlib plugins.

Have your teammate create a new Robot Project using the plugins. When they create a new project for the first time, they should be prompted to enter the team ID. This entering of the team ID seems to be a critical step in the completion of the installation.

Once, the team ID is entered, my guess is that the errors in your imported project will go away.

Our general rule of thumb for setting up a new developer machine:
  • Install Eclipse
  • Install Plugins
  • Create one Robot Project (and then optionally delete it)
  • Then import other Robot Projects from shared files or github

Hope that helps.

ahartnet 01-02-2016 13:44

Re: Sending code to teammate
 
There's two places I know of to check:

1) windows -> preferences -> Installed JREs and make sure that it's not the JRE and instead is the JDK (I've noticed that changing workspaces screws this default up)

2) right click on project I can't quite what you have to click on...properties? And you can find the build path options page. Frequently I've seen the wpilib, network tables, and one other thing unchecked.

soundfx 03-02-2016 15:29

Re: Sending code to teammate
 
You also may need to click add external JARs under libraries in your project properties, same as the last post. Navigate to the location of WPILib.jar if it's path is still set to that of the creator's computer.


All times are GMT -5. The time now is 09:12.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi