Go to Post Competition isn't about the resources you don't have, it's making the most out of what you do have. - CalTran [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-01-2011, 11:20
enbug enbug is offline
Registered User
FRC #1884 (Griffins)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: London
Posts: 14
enbug is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2011, 11:54
Ryan O's Avatar
Ryan O Ryan O is offline
FRC Eclipse Plug-in Developer
no team (FRC Eclipse)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Plaistow
Posts: 111
Ryan O is an unknown quantity at this point
Send a message via AIM to Ryan O
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.
__________________
CRUD Name: Windows
Rookie Year: 2005
Alumni to Team: 350
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2011, 15:39
enbug enbug is offline
Registered User
FRC #1884 (Griffins)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: London
Posts: 14
enbug is an unknown quantity at this point
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2011, 16:05
Ryan O's Avatar
Ryan O Ryan O is offline
FRC Eclipse Plug-in Developer
no team (FRC Eclipse)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Plaistow
Posts: 111
Ryan O is an unknown quantity at this point
Send a message via AIM to Ryan O
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)
__________________
CRUD Name: Windows
Rookie Year: 2005
Alumni to Team: 350

Last edited by Ryan O : 21-01-2011 at 16:30.
Reply With Quote
  #5   Spotlight this post!  
Unread 21-01-2011, 16:21
enbug enbug is offline
Registered User
FRC #1884 (Griffins)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: London
Posts: 14
enbug is an unknown quantity at this point
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
Reply With Quote
  #6   Spotlight this post!  
Unread 21-01-2011, 16:28
enbug enbug is offline
Registered User
FRC #1884 (Griffins)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: London
Posts: 14
enbug is an unknown quantity at this point
Re: Eclipse Development

I tried uninstalling, and the box was checked both times. Should I try to install manually, or should I do something else? I attached images of the menu:


Reply With Quote
  #7   Spotlight this post!  
Unread 21-01-2011, 17:24
enbug enbug is offline
Registered User
FRC #1884 (Griffins)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: London
Posts: 14
enbug is an unknown quantity at this point
Re: Eclipse Development

I just reinstalled the plugins completely, but still nothing shows up. Is there a way to install them manually?
Attached Thumbnails
Click image for larger version

Name:	software.png
Views:	9
Size:	72.6 KB
ID:	9760  
Attached Files
File Type: zip plugins.png.zip (229.6 KB, 3 views)
Reply With Quote
  #8   Spotlight this post!  
Unread 21-01-2011, 17:40
Ryan O's Avatar
Ryan O Ryan O is offline
FRC Eclipse Plug-in Developer
no team (FRC Eclipse)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Plaistow
Posts: 111
Ryan O is an unknown quantity at this point
Send a message via AIM to Ryan O
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.
__________________
CRUD Name: Windows
Rookie Year: 2005
Alumni to Team: 350
Reply With Quote
  #9   Spotlight this post!  
Unread 21-01-2011, 18:01
enbug enbug is offline
Registered User
FRC #1884 (Griffins)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: London
Posts: 14
enbug is an unknown quantity at this point
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).
Attached Files
File Type: zip log.txt.zip (16.9 KB, 2 views)
Reply With Quote
  #10   Spotlight this post!  
Unread 21-01-2011, 18:31
Ryan O's Avatar
Ryan O Ryan O is offline
FRC Eclipse Plug-in Developer
no team (FRC Eclipse)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Plaistow
Posts: 111
Ryan O is an unknown quantity at this point
Send a message via AIM to Ryan O
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).
__________________
CRUD Name: Windows
Rookie Year: 2005
Alumni to Team: 350
Reply With Quote
  #11   Spotlight this post!  
Unread 22-01-2011, 07:00
enbug enbug is offline
Registered User
FRC #1884 (Griffins)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: London
Posts: 14
enbug is an unknown quantity at this point
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.
Attached Files
File Type: txt log.txt (1.6 KB, 1 views)
Reply With Quote
  #12   Spotlight this post!  
Unread 22-01-2011, 10:02
Ryan O's Avatar
Ryan O Ryan O is offline
FRC Eclipse Plug-in Developer
no team (FRC Eclipse)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Plaistow
Posts: 111
Ryan O is an unknown quantity at this point
Send a message via AIM to Ryan O
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
__________________
CRUD Name: Windows
Rookie Year: 2005
Alumni to Team: 350
Reply With Quote
  #13   Spotlight this post!  
Unread 22-01-2011, 19:19
enbug enbug is offline
Registered User
FRC #1884 (Griffins)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: London
Posts: 14
enbug is an unknown quantity at this point
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?
Reply With Quote
  #14   Spotlight this post!  
Unread 22-01-2011, 19:51
Ryan O's Avatar
Ryan O Ryan O is offline
FRC Eclipse Plug-in Developer
no team (FRC Eclipse)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Plaistow
Posts: 111
Ryan O is an unknown quantity at this point
Send a message via AIM to Ryan O
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?
__________________
CRUD Name: Windows
Rookie Year: 2005
Alumni to Team: 350
Reply With Quote
  #15   Spotlight this post!  
Unread 22-01-2011, 19:52
enbug enbug is offline
Registered User
FRC #1884 (Griffins)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: London
Posts: 14
enbug is an unknown quantity at this point
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
Reply With Quote
Reply


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 12:38.

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