|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||||
|
||||||
|
Re: RobotBuilder Not Opening Through Eclipse
Quote:
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:
Last edited by Joe Ross : 05-01-2015 at 14:25. |
|
#4
|
|||
|
|||
|
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!
![]() |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
Re: RobotBuilder Not Opening Through Eclipse
Quote:
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|