View Single Post
  #13   Spotlight this post!  
Unread 29-01-2017, 15:38
java4first java4first is offline
(Java) Programming Mentor
AKA: Stu
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2011
Location: Goffstown, NH
Posts: 62
java4first is an unknown quantity at this point
Re: Build Error: Image of roboRIO does not match plugin

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> -->
Reply With Quote