Home » Archived » Mylyn Intent » Kepler M6, Intent 0.8 - Editor won't save
|
Re: Kepler M6, Intent 0.8 - Editor won't save [message #1037370 is a reply to message #1037295] |
Tue, 09 April 2013 13:17   |
|
Hi Carl,
first of all, thanks a lot for giving Intent a try!
I'm unfortunatelly not available today, but I'll try to fix this issue
during the week.
Never had such an issue though, what is your environment (Eclipse
version, OS...)? Is your error log empty?
This may be related to the version of EMFCompare you are using.
Best regards, and deeply sorry for the inconvenience,
Alex
Le 09/04/2013 15:05, Carl Stainton a écrit :
> Hi,
>
> I'm testing out the java code referencing in the most recent stable
> Intent (0.8) on Kepler M6. I'm finding that after minimal use of the
> editor the intent document can't be saved. The normal save menu doesn't
> action the save, and on closure of the document the "save changes"
> dialogue also fails to action the save of the file, resulting in lost
> work. I had this behaviour on Kepler M5 too. Anyone else seen this ?
>
> Thanks,
> Carl
|
|
| |
Re: Kepler M6, Intent 0.8 - Editor won't save [message #1038827 is a reply to message #1037370] |
Thu, 11 April 2013 11:45   |
|
Hi Carl,
I just downloaded a brand new Eclipse Kepler M6 (Modeling) and installed
the Intent M6 from the kepler update site.
I'm able to drop java files in my Intent document, add some
documentation and save (I did not push the test further).
Could you enlight me about what you did to have save exceptions ?
Is your error log empty ?
Best regards,
Alex
|
|
| |
Re: Kepler M6, Intent 0.8 - Editor won't save [message #1038888 is a reply to message #1038878] |
Thu, 11 April 2013 13:26   |
|
Hi Carl, thank you so much for your fast answer.
I just love this kind of non-reproducible bugs :)
Did this issue happened after having exported the documentation? The
stacks seems to indicate that Acceleo has installed a workspace resource
listener. I'll check this one with the Acceleo team.
Thanks a lot for having raised this issue, I'm currently working on
stability and some prety exciting features...
Cheers,
Alex
Le 11/04/2013 15:12, Carl Stainton a écrit :
> Hi Alex,
>
> The error shown below is present in the log from when the save action
> started to fail. This error below was captured after re-opening the same
> project then making changes against the last saved state.
>
> I notice that this doesn't occur immediately. It takes a few edits and
> perhaps a bit of typing, additional sections etc. I can't say it was
> linked to the drag and drop of java resources either.
>
> Cheers,
> Carl
>
> java.lang.NoClassDefFoundError: org/eclipse/pde/core/plugin/PluginRegistry
> at
> org.eclipse.acceleo.common.internal.utils.workspace.AcceleoWorkspaceUtil$WorkspaceResourcesListener.processBuildEvent(AcceleoWorkspaceUtil.java:1114)
>
> at
> org.eclipse.acceleo.common.internal.utils.workspace.AcceleoWorkspaceUtil$WorkspaceResourcesListener.resourceChanged(AcceleoWorkspaceUtil.java:1080)
>
> at
> org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
>
> at
> org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
>
> at
> org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:382)
>
> at
> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:146)
>
> at
> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
|
|
|
Re: Kepler M6, Intent 0.8 - Editor won't save [message #1038900 is a reply to message #1038888] |
Thu, 11 April 2013 13:40   |
|
Hi Carl,
just got more information on the issue, I know this is easy to say but
this time Intent is not involved :)
Actually, Acceleo has two runtime modes :
- Stand-alone
- inside Eclipse
If it's in Eclipse-mode, it requires PDE. However, they had to define
this dependency as optional, otherwise the stand-alone mode would not be
standalone.
So to fix your issue, you have to install PDE.
I'll update the Intent FAQ right away, thanks again for noticing.
Please let me know if I was not clear, and do not hesitate to spam me
with bugs and feature requests :)
Bets regards,
Alex
|
|
| | |
Re: Kepler M6, Intent 0.8 - Editor won't save [message #1038978 is a reply to message #1038951] |
Thu, 11 April 2013 15:11   |
|
Yes it is true, you cannot save an Intent editor if you have SYNTAX
errors on it (however, validation or synchronization issues do not
prevent from saving).
The reason for that is that when you save your Intent editor, we parse
the text and get a model out of it, and it is this model that we store.
This model-based storage allow us to do cool things, like store it
inside a database and provide real-time updates thanks to CDO
(http://www.eclipse.org/intent/pages/transcripts/2012_EclipseConEurope/Intent_EConEurope2012.html#24
and next slide for demo).
The drawback of that approach is that if you have SYNTAX issues inside
your Intent editor you will not be able to save it. The editor will stay
dirty and a syntax error issue will be displayed until you fix it.
If this is indeed your issue, then from now on I would not consider it
as a bug, but more as a feature request.
I have though about a mechanism that would make a textual storage if the
editor contains syntax issue, so that you never loose your content.
I've just created the following bugzilla issue
https://bugs.eclipse.org/bugs/show_bug.cgi?id=405482 to track this idea,
however I don't think I will have time to fix it for the Kepler release.
I hope I answered your question,
Alex
Le 11/04/2013 16:43, Carl Stainton a écrit :
> Hi,
>
> I just installed PDE 3.9.0.v20130314 but the same behaviour occurs (
> without the acceleo related errors in the error log ). I did notice now
> that I couldn't save when I had an error on a modelling unit section.
> Without the offending section I could save.
>
> Cheers,
> Carl
|
|
| |
Re: Kepler M6, Intent 0.8 - Editor won't save [message #1042431 is a reply to message #1042396] |
Tue, 16 April 2013 12:27  |
|
Hi Carl,
ok great. The eclipse's hudson instance is currently broken, but as soon
as it is fixed I will promote a new nightly version with some
interesting new features, an improved syntax highlithing and completion
and some bugfixes :)
Cheers,
Alex
Le 16/04/2013 13:28, Carl Stainton a écrit :
> Thanks Alex, sorry for the delay - work took over. Yes it seems to be
> working as you describe and the question is answered.
> Cheers,
> Carl
|
|
|
Goto Forum:
Current Time: Sun Dec 03 02:32:04 GMT 2023
Powered by FUDForum. Page generated in 0.01946 seconds
|