Go to Post As a wise man from PA once said to me "Changing the culture is hard work." - RoboMom [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 04-01-2015, 19:15
Manusha4Lyfe Manusha4Lyfe is offline
Registered User
FRC #5124
 
Join Date: Jan 2015
Location: Torrance
Posts: 6
Manusha4Lyfe is an unknown quantity at this point
Unhappy RobotBuilder Not Opening Through Eclipse

Our team just downloaded all of the needed components for using Java through Eclipse for the RoboRIO (eclipse, update Java8, WPIlib plugins, UpdateSuite). RobotBuilder opens independently, but not through Eclipse. When it's open independently, we can't open the project in Eclipse. Any suggestions?
Reply With Quote
  #2   Spotlight this post!  
Unread 05-01-2015, 13:19
cdewane cdewane is offline
Registered User
FRC #3381 (Droid Rage)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Kellnersville, WI
Posts: 8
cdewane is an unknown quantity at this point
Re: RobotBuilder Not Opening Through Eclipse

I'm at work and don't have my laptop here for specifics, but here is what I did.

1. Open eclipse for the first time and create a worspace. You can use the default or enter your own path. Either way, make note of the path.

2. Open Robotbuilder by double clicking on the jar file.

3. Create a new robot in RB. On the main page put the workspace path into the Eclipse Workspace field.

4. Save and export in RB.

5. Go back to Eclipse. Click on File, Import. In the Import dialog, click the triangle next to General. Then click Existing Projects...

6. After exporting the robot there will now be a folder under the workspace path matching the robot name, select that.

You should now have the robot project in the project explorer.

Check this link for how to have Eclipse automatically refresh code files after they have been modified by RB. You still may have to manually refresh the Eclipse project after adding new source code files from RB. If you add or rename subsystems, commands, etc and you don't see it in Eclipse after exporting from RB, right click the project name and select refresh.

https://wpilib.screenstepslive.com/s...-robot-project
Reply With Quote
  #3   Spotlight this post!  
Unread 05-01-2015, 14:22
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: RobotBuilder Not Opening Through Eclipse

Quote:
Originally Posted by Manusha4Lyfe View Post
Our team just downloaded all of the needed components for using Java through Eclipse for the RoboRIO (eclipse, update Java8, WPIlib plugins, UpdateSuite). RobotBuilder opens independently, but not through Eclipse. When it's open independently, we can't open the project in Eclipse. Any suggestions?
Do any of the other items in the wpilib menu start? We have one computer that won't start any of them, but they all run manually and RobotBuilder is able to create eclipse projects and we are able to import them into eclipse. Launching from eclipse works on the other computer's we've tried.

Make sure you're starting the 2015 version manually, rather then the 2014 version. The 2015 version location is documented here: http://wpilib.screenstepslive.com/s/...g-robotbuilder

Quote:
Originally Posted by cdewane View Post
FYI, that link is actually to the 2014 instructions. It won't cause a problem if you're only on that page, but if you move around you'll get old instructions. Here is the 2015 link: https://wpilib.screenstepslive.com/s...-robot-project

Last edited by Joe Ross : 05-01-2015 at 14:25.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-01-2015, 23:31
Manusha4Lyfe Manusha4Lyfe is offline
Registered User
FRC #5124
 
Join Date: Jan 2015
Location: Torrance
Posts: 6
Manusha4Lyfe is an unknown quantity at this point
Re: RobotBuilder Not Opening Through Eclipse

Thanks! I tried your suggestions and it works. None of the launchable items from wpilib launch from eclipse, but importing into eclipse works and it updates automatically once you import, and i can still run the wpilib stuff through the jar files. Thanks for the help!
Reply With Quote
  #5   Spotlight this post!  
Unread 25-01-2015, 17:56
MitchTolson MitchTolson is offline
Registered User
FRC #3393
 
Join Date: Jan 2015
Location: USA
Posts: 1
MitchTolson is an unknown quantity at this point
Re: RobotBuilder Not Opening Through Eclipse

I had the same problem where robot builder and the other tools were not launching from Eclipse.
from a cmd prompt: java - version, returned a mismatch. Where, I had version 8, but the registry was expecting version 7.
To solve, I uninstalled all versions of Java, restarted, then reinstalled the latest version of java.
Reply With Quote
  #6   Spotlight this post!  
Unread 04-01-2016, 17:29
Cdog Cdog is offline
Registered User
FRC #3853
 
Join Date: Jan 2015
Location: Arizona
Posts: 1
Cdog is an unknown quantity at this point
Re: RobotBuilder Not Opening Through Eclipse

Quote:
Originally Posted by cdewane View Post
I'm at work and don't have my laptop here for specifics, but here is what I did.

1. Open eclipse for the first time and create a worspace. You can use the default or enter your own path. Either way, make note of the path.

2. Open Robotbuilder by double clicking on the jar file.

3. Create a new robot in RB. On the main page put the workspace path into the Eclipse Workspace field.

4. Save and export in RB.

5. Go back to Eclipse. Click on File, Import. In the Import dialog, click the triangle next to General. Then click Existing Projects...

6. After exporting the robot there will now be a folder under the workspace path matching the robot name, select that.

You should now have the robot project in the project explorer.

Check this link for how to have Eclipse automatically refresh code files after they have been modified by RB. You still may have to manually refresh the Eclipse project after adding new source code files from RB. If you add or rename subsystems, commands, etc and you don't see it in Eclipse after exporting from RB, right click the project name and select refresh.

https://wpilib.screenstepslive.com/s...-robot-project
Workspace not worspace
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 10:53.

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