WPILib C++ Deploy went away?

We’re using Eclipse and C++. On at least one of our laptops, we no longer see the option for Run As -> WPILib C++ Deploy on our projects, and it’s intermittent on the other. I.e. the optioned outlined in yellow below isn’t there anymore. I was able to create a different run configuration to deploy to the robot via ssh, but it doesn’t work the same way as the official deploy.

Does anyone know how this is supposed to be setup and/or how to restore the default setup? I’ve searched around Eclipse some and I can’t find any obvious settings (actually, it seems there are no “obvious” settings in Eclipse) for this.

OK, to answer part of my own question – I did an update on the WPILib FRC plugins, and got back the WPILib C++ Deploy – for now at least.

I’d still like to know where/how this is configured in case it goes away again. Or is it just magic that the plug-ins do and the only solution is to re-install them?

Bingo. The plugins declare that they have a way to launch code and Eclipse adds them.

This happens to me a good bit. It works most reliably when I left-click the project in the explorer, and right-click, chose Run As and the Deploy option.

But sometimes it disappears after having done several successful deploys. When that happens, I shutdown Eclipse and restart it. That fixes it. Sometimes the fix doesn’t last very long (one deploy).

Huh, now that a more interesting issue than I though then… Are there any steps that can reliably do this on multiple machines? or is is very random?

I can corroborate what JefferMC said; same thing here. I’ve also had deploy not work when I select it. The menu will close, Eclipse will freeze for a bit, then the console will briefly show up then close. This happens both when I’m connected to the robot’s router and when I’m not connected to any network. I’m able to ping our roboRIO (10.35.12.2) when this happens. The contents contain the compiler commands invoked for the robot code but no deploy-related messages. Yesterday, it would even build random projects in the workspace instead of the robot code when I selected deploy.

I assume the code is deployed via the scp command, and if so, I definitely have a /usr/bin/scp. I’m running Arch Linux with the latest packages as of yesterday.

Edit: My team also has several Thinkpads running Debian Jessie on which the deploy command disappears.

Brad Miller commented on this in another thread.

http://www.chiefdelphi.com/forums/showpost.php?p=1422386&postcount=3

The Java perspective thing doesn’t seem to match my scenario. I never explicitly switch to the Java perspective, nor does the UI show being changed to that, when this bug occurs. Also, I just tried switching to the Java perspective and the C++ deploy option didn’t disappear.

True…My point, not adequately stated, is that there is a bug related to switching perspectives in general that causes it to disappear.

Yes, it most certainly happens when you switch perspectives. However, that’s not the only thing that causes it. And it’s a multi-platform problem, because I’m on a Windows 7 system.