View Single Post
  #13   Spotlight this post!  
Unread 29-01-2017, 15:40
wildcat5e's Avatar
wildcat5e wildcat5e is offline
Registered User
FRC #6705
 
Join Date: Jan 2017
Location: Dunwoody, GA
Posts: 7
wildcat5e is an unknown quantity at this point
Re: Build Error: Image of roboRIO does not match plugin

Quote:
Originally Posted by java4first View Post
The path of the file (replacing {user} with your username) is: C:\Users\{user}\wpilib\java\current\ant

The file is build.xml

The comment out part is an assert at about 278 - just use XML comments to comment out the whole thing like below.

We really shouldn't have to be doing this, and if you re-install the WPILib stuff at any point it will wipe this out, but it will get you past the immediate blockage (as long as you are sure you have the right version on the RIO which can be verified by the NI dashboard webpage - Image Version should be FRC_roboRIO_2017_v8).

<!-- <assert message="Image of roboRIO does not match plugin. ${line.separator}Allowed image year: ${roboRIOAllowedYear} version: ${roboRIOAllowedImages}. ${line.separator}Actual image year: ${roboRIOImageYear} version ${roboRIOImage}. ${line.separator}RoboRIO needs to be re-imaged or plugins updated.">
<bool>
<and>
<contains string="${roboRIOAllowedImages}" substring="${roboRIOImage}"/>
<contains string="${roboRIOAllowedYear}" substring="${roboRIOImageYear}"/>
</and>
</bool>
</assert>
<echo>roboRIO image version validated</echo> -->
Thanks. I will be sure to try that and see if it works.
Reply With Quote