Go to Post Scrap it and use the cheesey poof's design - vladtheimpaled [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 18-02-2016, 22:17
tcjinaz tcjinaz is offline
Tim
FRC #3853
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2011
Location: Arizona
Posts: 206
tcjinaz has a spectacular aura abouttcjinaz has a spectacular aura about
Re: RobotBuilder overwriting Java Commands

Quote:
Originally Posted by lopsided98 View Post
I updated the wpilib plugins, and the latest update seems to have introduced a major bug into RobotBuilder. If I modify the "extends Command" part of the class declaration for Commands, RobotBuilder overwrites the entire file. This bug is not triggered by adding comments to the beginning of the line, or by changing the visibility of the class. It only occurs when the base class is changed, or the class implements an interface.

I use a ParameterCommand base class for many of our commands, which allows me to set parameters from the SmartDashboard, so this bug is a very big problem for me. All the classes that extend ParameterCommand were overwritten the first time I regenerated the code after updating the Eclipse plugins.

There is also the possibility that this is not a new bug, because I may have not previously regenerated the code after adding the ParameterCommand
code.

Does anyone where I can get the earlier plugins, because the old versions are immediately removed from the update site when an update is released?

EDIT: This bug was not introduced in the latest update, it has been around for a while.
Are you sure you are getting a proper save of the changes you made? We have found that if we do not force saves efore updating from RB, that we can lose changes we made in eclipse.

Tim
__________________
Software Mentor
3853 Pridetronics[

Reply With Quote
 


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 06:10.

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