|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Eclipse Development
I am trying to set up the plugins for Eclipse, and although I have updated Eclipse to the latest version, and Eclipse reports that the plugins are installed, neither the help section for it, nor the preference pane for it, nor any other reference to FIRST or FRC. Has anyone set Eclipse up yet successfully?
P.S. Running Mac OS X 10.5.8, Macbook |
|
#2
|
||||
|
||||
|
Re: Eclipse Development
When you installed the plug-ins, did it ask you to accept a certificate? In that certificate accept pane, did you check off the first.wpi.edu certificate and then hit OK, or just hit OK? Eclipse has a strange property of allowing you to continue without accepting certs, and then just not installing anything with that cert - without telling you. If you go to the install new software page, on the FIRST update site, and they are still available for download (including being colored in to indicate they are still not installed) then this is the most likely issue.
Otherwise, please give me some more details about you eclipse install. Also, note that once the plug-ins are installed (or before), they will need Eclipse to be setup to use the Java Development Kit (JDK) instead of the Java Runtime Environment (JRE) - instructions on how to do this are in the help contents, which will appear once installation succeeds. I can't really think of any other reason for the install to silently fail - if you are getting an error dialog at any point, please tell what it says. |
|
#3
|
|||
|
|||
|
Re: Eclipse Development
What do I click to accept the certificate? I don't see any buttons with accept on them, all I see is an unlabeled checkbox.
I am running Helios Service Release 1: Build ID 20100917-0705 I checked the "what's already installed" menu, and they do show up there, however, there is no trace of any functionality or documentation. |
|
#4
|
||||
|
||||
|
Re: Eclipse Development
The unlabeled check box needs to be checked before selecting ok on that dialog. If that seems ineffective, I suggest uninstalling the plug-ins and trying again. If that doesn't work, we can continue from there.
So, exact moment: After you have accepted the license, and during the time when it is installing, you will be presented with a dialog asking you if you trust such-and-such certificates. Check off the box next to the first.wpi.edu certificate, and then click ok - you are still able to click ok without checking off the box, but the plug-ins won't actually install. I would recommend "uninstalling: the plug-ins and trying to re-install them, this time specifically checking off the certificate (I'm sure the first time it was just another dialog, don't exactly expect you to remember if you did or not that time). If this does not work, then please give me a step-by-step of what you did. Also useful would be the configuration details from your eclipse install - available at About Eclipse->Installation Details->Configuration (Under help for me, but I'm running windows, it may be under Eclipse of the far left for you) Last edited by Ryan O : 21-01-2011 at 16:30. |
|
#5
|
|||
|
|||
|
Re: Eclipse Development
Ok, I checked the box, clicked next, and if asked me to restart. I restarted, and again there were no signs of the FRC plugin. I tried again, and it still didn't work. Should I try to install them manually somehow, or do something else? I included images.
http://www.mediafire.com/?wftadqk937b10z9 http://www.mediafire.com/?wftadqk937b10z9 |
|
#6
|
|||
|
|||
|
Re: Eclipse Development
|
|
#7
|
|||
|
|||
|
Re: Eclipse Development
I just reinstalled the plugins completely, but still nothing shows up. Is there a way to install them manually?
|
|
#8
|
||||
|
||||
|
Re: Eclipse Development
Alright then...
Next step is to see if Eclipse is trying and failing to start the plug-ins. In the folder you are using for your workspace, there is a folder called ".metadata", and within that a file called ".log". this will contain any stack traces Eclipse threw. Could you please provide that file? On a mac, these files will be hidden, as they start with a ".", so you will have to turn on showing hidden files/folders. If there is no .log file even after showing hidden items, then no stack traces were generated. |
|
#9
|
|||
|
|||
|
Re: Eclipse Development
Ok, I attached the log files, but in a ZIP format because they were too big for the forum (420 KB then, 20 KB now).
|
|
#10
|
||||
|
||||
|
Re: Eclipse Development
Looking at the logs, I see a lot of exceptions relating to equinox. Did you just update to the latest version? And by latest version, do you mean Helios?
I can't see any exceptions which trace back to the FRC plug-ins... maybe the other exceptions are preventing them from loading? The easiest thing to do might be to grab a new copy of Eclipse and start fresh - which would at least remove most of the variables in this situation, though I know that probably isn't the preferred solution for you to go with. Also, you could try deleting the .log file, opening eclipse, and then closing it (assuming there is still no sing of the FRC plug-ins) - this would give me a log with only one run attempt in it. The FRC plug-ins do not interfere with any other plug-ins, but they do use other plug-ins (hence dependencies) and if those plug-ins are failing to start for some reason that could cause Eclipse to skip them. However, given that nothing seems to trace back to the FRC plug-ins in the logs (a lot of it is referencing UI actions on widgets, which would require the plug-ins being loaded and visible in the first place). |
|
#11
|
|||
|
|||
|
Re: Eclipse Development
Yes, I just updated to the latest version of Helios (now the version is Helios Service Release 1, Build id: 20100917-0705). I have absolutely no idea what equinox is, but from the about page, I take it is the plugin architecture. Is there configuration that needs to be done there for the FRC plugins?
Just started with a completely new Eclipse install, and a new workspace, but still no sign of installation, other than the installed software window. I attached the log file, but still no mention of the FRC plugins. Where could I find a list of dependencies, because I agree, this would be a probable cause. Also, I found another interesting menu: There is a startup menu, which contains a few plugins, but does not contain the FRC plugins. Do I need to add them to that list somehow? Just as a test, I'll try the same steps in a Linux VM. Then we'll know if it's just Mac, or if it is Eclipse. |
|
#12
|
||||
|
||||
|
Re: Eclipse Development
Where is this startup menu? The FRC Plug-ins should be added to that when installed (by the Eclipse installer). I don't know why they wouldn't be on that list, but they would have to be to work - anything Eclipse doesn't startup knowing about cannot be activated at any time
|
|
#13
|
|||
|
|||
|
Re: Eclipse Development
It is in Preferences/General/Startup and shutdown. For me, this appears in the list:
Usage data gathering plugin Usage data recording plugin Equinox Provisioning Platform Automatic Update Support Mylyn Tasks UI Mylyn Team UI Eclipse UI Automatic Updates Scheduler Also, I tried installing the plugin on linux (Ubuntu 10.10), and it simply said: "Cannot complete the install because one or more required items could not be found." Are there prerequisites for the plugins? Maybe linux prerequisites would also apply to Mac OS X? |
|
#14
|
||||
|
||||
|
Re: Eclipse Development
The prerequisites would take the form of required plug-ins, which Eclipse would automatically find and ask you to install - the only time I have encountered it saying that when I needed to upgrade versions entirely - though I would assume you are using Helios in Linux as well. Are you able to add FRC to your startup? And there is no help or anything showing, correct?
|
|
#15
|
|||
|
|||
|
Re: Eclipse Development
In linux, it just give me the error message, on Mac, they are reported installed but do not have any effect. I used helios on the Linux test, like you said. I cannot find any way to add plugins to the startup menu, unless they are there but unchecked, which is not the case.
Also, I found the plugin files in /Applications/eclipse/plugins, and three of the FRC plugins are folders instead of JARs. One of the files references an initializer as "edu.wpi.first.javadev.sunspotfrcsdk.preferences.i nitializer", however, there is no plugin by that name, merely a sequence of folders that follows the specified order exactly. Do they need to be compiled? Last edited by enbug : 22-01-2011 at 19:58. Reason: Answering previous question |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|