|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hi!
Our team is doing a demonstration of our robot very soon and we need to deploy code onto it. I'm essentially working on a new computer, and just got the FRC plugins and NI software from the 2016 competition loaded onto it. I'm using Eclipse Mars, because Neon wouldn't install the FRC plugins. Our source code can be found at https://github.com/tkdberger/3494_2016_repo. However, whenever I try to deploy code, over any method, it will build fine, but the actual deploy process does nothing. I'm left staring at a blank console window labeled with Code:
<terminated> build.xml [Ant Build] Other notes: Eclipse consistently gives the following error on start: Code:
An internal error occurred during: "Initializing Java Tooling".
org.eclipse.core.runtime.SubMonitor.split(I)Lorg/eclipse/core/runtime/SubMonitor;
|
|
#2
|
||||
|
||||
|
Re: Having trouble deploying code
There's a number of settings to check in eclipse. I don't have our team laptop to check what all they are. Did you make sure to go through the WPI lib steps: https://wpilib.screenstepslive.com/s...ller-java-only
I seem to remember something like checking boxes for wpilib and networktables after right clicking on the project -> properties -> Java Build path. There's also checking to make sure that you have the team number set up correctly in your project and when you set up your rio. I'm assuming you have the same language on the rio now as you did last time you used it as well. Really need more information from the output console to help. Some notes from the last time I tried to help someone remotely trouble shoot why code wasn't loading. I also just noticed this is the C/C++ forum and not java, but I imagine there are similar things to look for in eclipse. Quote:
Last edited by ahartnet : 23-08-2016 at 18:50. Reason: adding help |
|
#3
|
||||
|
||||
|
Re: Having trouble deploying code
Quote:
I just ensured the team number is correct, I'll get back to you with results. The main issue is that the console isn't printing out anything, at all. I can film this if you want. |
|
#4
|
||||
|
||||
|
Re: Having trouble deploying code
Sorry, I noted that this was the C/C++ forum without me updating my link. The correct link to make sure you go through is here: https://wpilib.screenstepslive.com/s/4485/m/13810. In particular, look at the addendum if you're running windows 8
Last edited by ahartnet : 23-08-2016 at 19:08. |
|
#5
|
||||
|
||||
|
Re: Having trouble deploying code
Currently re-installing Eclipse. Will get back to you.
Note to self: do not allow laptops to be re-imaged unless steps are documented to restore them. |
|
#6
|
||||
|
||||
|
Re: Having trouble deploying code
I'm on the verge of madness here.
I've reinstalled Eclipse at least three times now. Every time it manages to remember the broken config from the last one. Each time, the 'Install new software' option appears on the help menu exactly once before vanishing. The option for running as a deploy is gone. I can't get it to come back. I fell like I'm living in a nightmare right now. I hope I am at this rate. |
|
#7
|
||||
|
||||
|
Re: Having trouble deploying code
After you've installed eclipse (and perhaps again after you've installed the frc plug-ins) try restarting the computer.
I've never seen the 'install new software' disappear before. |
|
#8
|
||||
|
||||
|
Re: Having trouble deploying code
It may have to do with the way the compute is connected to the internet. I'll experiment when/if I can
UPDATE: Found the reason for the configs being unchanging, I think. In the home folder there's a .eclipse folder that likely contains all configs. Last edited by tkdberger : 23-08-2016 at 20:32. Reason: add why config was constant |
|
#9
|
||||
|
||||
|
Re: Having trouble deploying code
Try running build.xml manually. Install ant, then in your project directory open a terminal and run
Code:
ant deploy |
|
#10
|
||||
|
||||
|
I'll try that, thanks
|
|
#11
|
||||
|
||||
|
Update:
.eclipse is indeed the culprit of the "Install New Software" button vanishing, that and the fact that the computers at school have a proxy on them (for "security" reasons). |
|
#12
|
||||
|
||||
|
Re: Having trouble deploying code
Ahh, the classic school "security" that never seems to be done right, at any school.
|
|
#13
|
||||
|
||||
|
Re: Having trouble deploying code
True that. At least our robot drives now, since we have a DS and a RoboRIO with code deployed from competition.
|
|
#14
|
||||
|
||||
|
Re: Having trouble deploying code
Well, I'm not sure what i did, but working from a clean PC everything seems fine.
I am cautiously optimistic. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|