Go to Post Without programmers there would only be a robotic beauty contest. - mallot1243 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-02-2016, 13:31
Cyberfajita Cyberfajita is offline
Registered User
FRC #4734
 
Join Date: Oct 2015
Location: Lubbock
Posts: 1
Cyberfajita is an unknown quantity at this point
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2016, 13:42
pblankenbaker pblankenbaker is offline
Registered User
FRC #0868
 
Join Date: Feb 2012
Location: Carmel, IN, USA
Posts: 102
pblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of lightpblankenbaker is a glorious beacon of light
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-02-2016, 13:44
ahartnet's Avatar
ahartnet ahartnet is offline
Registered User
AKA: Andrew Hartnett
FRC #5414 (Pearadox)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2005
Location: Houston, Texas
Posts: 194
ahartnet has a brilliant futureahartnet has a brilliant futureahartnet has a brilliant futureahartnet has a brilliant futureahartnet has a brilliant futureahartnet has a brilliant futureahartnet has a brilliant futureahartnet has a brilliant futureahartnet has a brilliant futureahartnet has a brilliant futureahartnet has a brilliant future
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.
__________________
Team 451 The Cat Attack, Student Alumni (2005)
Team 1646 Precision Guessworks, Mentor (2006-2008)
Team 2936 Gatorzillas, Mentor (2011-2014)
Team 5414 Pearadox, Mentor (2015-Present)
Reply With Quote
  #4   Spotlight this post!  
Unread 03-02-2016, 15:29
soundfx's Avatar
soundfx soundfx is offline
Registered User
AKA: Aaron J
FRC #3238 (Cyborg Ferrets)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Anacortes, WA
Posts: 14
soundfx is an unknown quantity at this point
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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