View Single Post
  #1   Spotlight this post!  
Unread 10-16-2016, 04:30 PM
Bradley Boxer's Avatar
Bradley Boxer Bradley Boxer is offline
Registered User
AKA: Bradley Boxer
FRC #0303 (TEST Team 303)
Team Role: Programmer
 
Join Date: May 2015
Rookie Year: 2015
Location: United States
Posts: 12
Bradley Boxer is an unknown quantity at this point
Re: Creating Separate WPIlib Installs on one User

Quote:
Originally Posted by Thad House View Post
What differences are you seeing? The only change should be the location of the CANTalon package in Java. I'd be interested in hearing what else isn't working properly for you.

Regarding the multiple packages, I believe those locations are hardcoded into the plugins. I will take a look and see if there is anything we can do.
In addition to the CANTalon problem we were seeing a weird eclipse error where the code would not compile if the plugins were not installed completely when eclipse started. The problem would be fixed by either generating a new blank robot project or going through each .java file and saving it again.

Quote:
Originally Posted by fsilberberg View Post
Short answer is no, there's no easy way. Longer answer is to take a look at this issue: https://github.com/wpilibsuite/EclipsePlugins/issues/15. If you change your HOME environment variable and then fix up things inside eclipse, you can do it. I'd suggest instead just keeping a backup of the ~/wpilib directory and swapping it as needed. If you also have two eclipse instances, each with a different version installed, you can just delete the ~/wpilib directory and then let them restore it.
Replacing the wpilib folder to match whichever installation we were running worked. Thanks!
__________________
The opinions expressed in this post are mine and do not necessarily reflect those of my team.
Reply With Quote