Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EPP » UDC : how to identify that UDC dialog box is displayed ?
UDC : how to identify that UDC dialog box is displayed ? [message #986433] Tue, 20 November 2012 12:16 Go to next message
Gidi Gal is currently offline Gidi GalFriend
Messages: 42
Registered: July 2009
Member
Hello to the forum members,
I am working with Eclipse 3.6.2.
I am trying to fix a crash in Eclipse caused by plug-in code that I wrote that tries to create Eclipse projects. The crash happens when UDC dialog is displayed at Eclipse start-up.
I read in one of the posts here that no API was exported for UDC.
My question: is there any flag I can check through Eclipse API that relates to the display of UDC dialog ? (or some general status of Eclipse that is changed due to the display of the dialog)

One more question: I am trying to make this dialog displayed in Linux and fail to do so. I tried starting from a fresh workspace (as far as I understand, the properties regarding UDC are in .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.usagedata.recording.prefs), this does not do the trick.

Many thanks for your help,
Gidi
Re: UDC : how to identify that UDC dialog box is displayed ? [message #986507 is a reply to message #986433] Tue, 20 November 2012 16:49 Go to previous messageGo to next message
Wayne Beaton is currently offline Wayne BeatonFriend
Messages: 554
Registered: December 2017
Senior Member
You can control whether or not the dialog displays in the preferences.
If you set all the preferences, then the dialog won't have to open to
ask for them. If something is missing, the dialog will open.

There is a timing setting that you can use to shorten the time between
attempts to upload data. If the settings require it, the dialog will open.

A better solution would be to remove or stop the UDC. We have
discontinued its development and use, so the upload operation is a NOP
anyway.

Wayne

On 11/20/2012 07:16 AM, Gidi Gal wrote:
> Hello to the forum members,
> I am working with Eclipse 3.6.2.
> I am trying to fix a crash in Eclipse caused by plug-in code that I
> wrote that tries to create Eclipse projects. The crash happens when UDC
> dialog is displayed at Eclipse start-up.
> I read in one of the posts here that no API was exported for UDC. My
> question: is there any flag I can check through Eclipse API that relates
> to the display of UDC dialog ? (or some general status of Eclipse that
> is changed due to the display of the dialog)
>
> One more question: I am trying to make this dialog displayed in Linux
> and fail to do so. I tried starting from a fresh workspace (as far as I
> understand, the properties regarding UDC are in
> .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.usagedata.recording.prefs),
> this does not do the trick.
> Many thanks for your help,
> Gidi
Re: UDC : how to identify that UDC dialog box is displayed ? [message #986518 is a reply to message #986507] Tue, 20 November 2012 17:41 Go to previous messageGo to next message
Gidi Gal is currently offline Gidi GalFriend
Messages: 42
Registered: July 2009
Member
Hello Wayne,
Many thanks for your reply. I understand and agree with the suggestion to disable UDC. However, I would still like to fix the crash, for the sake of users that by mistake have this feature active. I guess that while this dialog is launched it sets Eclipse to a state that would not allow adding new projects. If there's Eclipse API that can identify this state, I'll be grateful if you could add a pointer for it.
Best regards,
Gidi
Re: UDC : how to identify that UDC dialog box is displayed ? [message #986533 is a reply to message #986518] Tue, 20 November 2012 18:52 Go to previous message
Wayne Beaton is currently offline Wayne BeatonFriend
Messages: 554
Registered: December 2017
Senior Member
The dialog box shouldn't have any effect on the Eclipse resource model
or any other workbench state. It just opens a dialog box. In fact, the
dialog box opens with setBlockOnOpen(false), so it should sit on top of
an otherwise completely functional workbench.

If you add

-Dorg.eclipse.epp.usagedata.recording.period=0

To your VM arguments in the launch configuration, it should force the
UDC to open the dialog with 15 minutes of on opening the workbench. That
may help with your testing.

The UDC actually holds off starting until after all the startup bundles
have been loaded and then runs passively in the background (until it
opens the dialog).

My gut feeling is that the UDC dialog is a red herring. If you provide
more information about the symptoms, I'll help where I can.

Wayne

On 11/20/2012 12:41 PM, Gidi Gal wrote:
> Hello Wayne,
> Many thanks for your reply. I understand and agree with the suggestion
> to disable UDC. However, I would still like to fix the crash, for the
> sake of users that by mistake have this feature active. I guess that
> while this dialog is launched it sets Eclipse to a state that would not
> allow adding new projects. If there's Eclipse API that can identify this
> state, I'll be grateful if you could add a pointer for it.
> Best regards,
> Gidi
Previous Topic:Where is the EPP Package Repository for Juno?
Next Topic:EPP Java Package broken in Juno ???
Goto Forum:
  


Current Time: Wed Apr 24 21:12:11 GMT 2024

Powered by FUDForum. Page generated in 0.03146 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top