Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Mylyn Intent » Synchronization error / not being able to create reference(I am getting synchronization errors and I am not being able to create references)
Synchronization error / not being able to create reference [message #1085198] Mon, 12 August 2013 15:34 Go to next message
Miguel A. Artaso is currently offline Miguel A. ArtasoFriend
Messages: 6
Registered: June 2013
Junior Member
Hello there,

I am finally trying to create documentation with Intent and I am not being successful. From the very beginning, I would like to state that I think it's a matter of how to use it, not because a problem with the plugin.

So, my first problems are creating the project itself. The workspace I worked in is based of several maven projects. All of them, despite sharing part of the package name, are completely independent, also in the disk. Let's say that the maven projects are:

com.mydomain.part1Project
com.mydomain.part2Project
...

They are not stored as

com
mydomain
part1Project
part2Project

but in complete separate folders:

com.mydomain.part1Project
com.mydomain.part2Project

If I try to create an Intent project like

com.mydomain.intentDoc

Eclipse becomes unresponsive and I need kill it finally.

If the intent project name has nothing to do with the other project's names, everything is smooth when creating the project. I think this could have to do with the physical organization of my maven projects...

And maybe this issue is also related with the references.I am not being able to make references to methods. My guess is that the Intent project is not "seeing" the other projects...

Any ideas?

Regards,
Miguel A.
Re: Synchronization error / not being able to create reference [message #1085656 is a reply to message #1085198] Tue, 13 August 2013 07:21 Go to previous messageGo to next message
Alex Lagarde is currently offline Alex LagardeFriend
Messages: 193
Registered: May 2010
Senior Member

Hi Miguel,

first of all, you may want to use the latest Intent nightly
http://download.eclipse.org/intent/updates/nightly/0.8/N201308121238

We made a lot of stability/performance fixes since the June release.

In regards to your deadlock issue, it is pretty ugly, I'll try to
reproduce your deadlock issue ASAP (I've created a blocker bugzilla
issue https://bugs.eclipse.org/bugs/show_bug.cgi?id=414935)

Le 12/08/2013 17:34, Miguel A. Artaso a écrit :
> And maybe this issue is also related with the references.I am not being
> able to make references to methods. My guess is that the Intent project
> is not "seeing" the other projects...

What are you doing to create those references? To reference a Java
method inside an Intent document, you just have to drop the method from
the project explorer (see
https://raw.github.com/eclipse/mylyn.docs.intent.main/master/doc/org.eclipse.mylyn.docs.intent.idoc/html/user/images/intent_06_dropjava.png
or the getting started documentation).
Once this method is linked, you can use hyperlink (F3 or ctrl+click) to
navigate from documentation to code.

If this mechanism does not work, do you have any entry in the error log
that might help me reproducing the issue?

Hope this answers your questions, I'll investigate your deadlock issue ASAP.

Best regards,
Alex
Re: Synchronization error / not being able to create reference [message #1102973 is a reply to message #1085656] Fri, 06 September 2013 08:58 Go to previous messageGo to next message
Miguel A. Artaso is currently offline Miguel A. ArtasoFriend
Messages: 6
Registered: June 2013
Junior Member
Hi Alex,

Sorry for the late response... I updated the system to the latest stable Intent version and now Eclipse doesn't hung up when creating the project. So, that part is solved.

But whenever I drag and drop a method to the Intent project I get the following message:

An internal error occurred during: "Synchronizing Repository".
org.eclipse.mylyn.docs.intent.retro.RetroGeneratedElementListener.isExtensionFor(Lorg/eclipse/emf/common/util/URI;)Z

I'll try to update to the latest nightly build and I'll post feedback.

Best regards,
Miguel A.
Re: Synchronization error / not being able to create reference [message #1107595 is a reply to message #1102973] Thu, 12 September 2013 16:52 Go to previous messageGo to next message
Miguel A. Artaso is currently offline Miguel A. ArtasoFriend
Messages: 6
Registered: June 2013
Junior Member
Hi,

Is the stable version newer than the nightly build? It seems so to me. With the last stable version (Mylyn Intent 0.8.1.201308291003) I keep getting the *An internal error occurred during: "Synchronizing Repository"* error every time I try to drag and drop a method. And after clicking on "OK", it happens again every time I save the Intent document.

Any ideas?

Best regards,
Miguel A.
Re: Synchronization error / not being able to create reference [message #1108008 is a reply to message #1107595] Fri, 13 September 2013 07:41 Go to previous messageGo to next message
Alex Lagarde is currently offline Alex LagardeFriend
Messages: 193
Registered: May 2010
Senior Member

Hi Miguel,

the error you mentionned in your previous post
An internal error occurred during: "Synchronizing Repository".
org.eclipse.mylyn.docs.intent.retro.RetroGeneratedElementListener.isExtensionFor(Lorg/eclipse/emf/common/util/URI;)Z


references the RetroGeneratedElementListener, which was an example
bridge we wrote for Intent 0.7. It has been removed since we developped
the Java Bridge, and hence has not evolved to match the 0.8 API.

Could you please remove the Retro bridge from your installed plugins?

And yes, the latest stable build (which has been promoted asthe SR1
release of Intent 0.8) includes the most recent developments
http://download.eclipse.org/intent/updates/releases/0.8/R201308291003 .

Please keep me in tuch if you reproduce your issues with the Retro
plugin uninstalled, and sorry for the inconvenience.

Best regards,
Alex

Le 12/09/2013 18:52, Miguel A. Artaso a écrit :
> Hi,
>
> Is the stable version newer than the nightly build? It seems so to me.
> With the last stable version (Mylyn Intent 0.8.1.201308291003) I
> keep getting the *An internal error occurred during: "Synchronizing
> Repository"* error every time I try to drag and drop a method. And after
> clicking on "OK", it happens again every time I save the Intent document.
> Any ideas?
>
> Best regards,
> Miguel A.
Re: Synchronization error / not being able to create reference [message #1108698 is a reply to message #1108008] Sat, 14 September 2013 07:37 Go to previous messageGo to next message
Miguel A. Artaso is currently offline Miguel A. ArtasoFriend
Messages: 6
Registered: June 2013
Junior Member
Hi Alex,

I removed the suggested plugin and I no longer get the error! Let's do some Intent-doc Wink

Thanks a lot for your help,
Miguel A.
Re: Synchronization error / not being able to create reference [message #1108749 is a reply to message #1108698] Sat, 14 September 2013 09:34 Go to previous message
Alex Lagarde is currently offline Alex LagardeFriend
Messages: 193
Registered: May 2010
Senior Member

Hi Miguel,

great news! Please let me know if you encounter any issue or if some feature is missing for your use case, I'm currently establishing the roadmap for Intent 0.9 http://projects.eclipse.org/projects/mylyn.docs.intent/releases/0.9.0 and it's wide open for your ideas Smile

Best regards,
Alex
Previous Topic:Cannot install Mylyn Intent - CDO support (Incubation)
Next Topic:Intent 0.8 is waiting for your feedback
Goto Forum:
  


Current Time: Thu Apr 18 02:13:56 GMT 2024

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

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

Back to the top