Skip to main content



      Home
Home » Modeling » EMF » [ANN] Merlin Generator alpha is out
[ANN] Merlin Generator alpha is out [message #391736] Sun, 13 March 2005 20:41 Go to next message
Eclipse UserFriend
Dear EMF-ers,

I'm please to announce the alpha release of Merlin Generator plugin.

Merlin is a free Eclipse plugin, based on EMF, that provides Enhanced Code
Generation and Model Transformation tools.
These two concepts are critical for Model Driven Development, and promoted
by several popular MDD architectures like OMG's MDA or Microsoft's
Software Factories.

Merlin comes with a set of wizards & editors for easilly customizing and
performing code generation and model transformations.
The tool also has a Java JET file editor with usefull features such as
syntax coloring, code completion and dynamic checking.

Last but not least, Merlin provides a built-in GEF generator, created with
Merlin's own mappings and templates tools, and that can generate GEF
editors from any ecore model.

You can download it on sourceforge :
http://sourceforge.net/projects/merlingenerator/

The tool is also available on the EMF Corner Site (the description is
quite old but anyways the link is still valid).

The plugin works only with the latests EMF (2.1.0) and GEF (3.1.0) drivers.

Your feedbacks are most welcome & appreciated (via the sourceforge forum).

Enjoy ...

Joel.
Re: [ANN] Merlin Generator alpha is out [message #391739 is a reply to message #391736] Mon, 14 March 2005 03:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Tam.Nguyen.imag.fr

I cannot use this version. It occurs problem when loading a Jet project into
Jet Template Model .


!ENTRY com.metys.merlin.generation.templates.ui 2 0 mars 14, 2005
09:31:37.726
!MESSAGE
!STACK 0
java.lang.reflect.InvocationTargetException
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:316)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:253)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 752)
at
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.performFinish(JETTemplateModelWizard.java:436)
at
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.performFinish(JETTemplateModelWizard.java:392)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:609)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:305)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:506)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:668 )
at org.eclipse.jface.window.Window.open(Window.java:648)
at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:163)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handleEven t(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
Caused by: java.lang.NoSuchMethodError:
org.eclipse.core.runtime.IPath.toPortableString()Ljava/lang/ String;
at
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.fetchTemplateFilesRecursively(JETTemplateModel Wizard.java:297)
at
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.fetchTemplateFilesRecursively(JETTemplateModel Wizard.java:305)
at
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.createInitialModels(JETTemplateModelWizard.jav a:233)
at
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard$6.execute(JETTemplateModelWizard.java:420)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:91)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1673)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:105)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:303)
... 38 more
Root exception:
java.lang.NoSuchMethodError:
org.eclipse.core.runtime.IPath.toPortableString()Ljava/lang/ String;
at
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.fetchTemplateFilesRecursively(JETTemplateModel Wizard.java:297)
at
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.fetchTemplateFilesRecursively(JETTemplateModel Wizard.java:305)
at
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.createInitialModels(JETTemplateModelWizard.jav a:233)
at
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard$6.execute(JETTemplateModelWizard.java:420)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:91)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1673)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:105)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:303)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:253)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 752)
at
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.performFinish(JETTemplateModelWizard.java:436)
at
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.performFinish(JETTemplateModelWizard.java:392)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:609)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:305)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:506)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:668 )
at org.eclipse.jface.window.Window.open(Window.java:648)
at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:163)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handleEven t(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)


""Jo
Re: [ANN] Merlin Generator alpha is out [message #391740 is a reply to message #391739] Mon, 14 March 2005 04:33 Go to previous messageGo to next message
Eclipse UserFriend
Tam,

According to the stack trace, you did'nt have the latest Eclipse 3.1.0
driver installed, and then the compiler doesn't found the
org.eclipse.core.runtime.IPath.toPortableString() method. The new release
only works with that Eclipse version, and with the latests EMF (2.1.0) &
GEF (3.1.0) versions also.

Please drop a message in the merlin's sourceforge forum if you experience
any problems with the 3.1.0 driver.

Cheers.

Joel.

Tam wrote:

> I cannot use this version. It occurs problem when loading a Jet project into
> Jet Template Model .


> !ENTRY com.metys.merlin.generation.templates.ui 2 0 mars 14, 2005
> 09:31:37.726
> !MESSAGE
> !STACK 0
> java.lang.reflect.InvocationTargetException
> at
>
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:316)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:253)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 752)
> at
>
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.performFinish(JETTemplateModelWizard.java:436)
> at
>
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.performFinish(JETTemplateModelWizard.java:392)
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:609)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:305)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:506)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:668 )
> at org.eclipse.jface.window.Window.open(Window.java:648)
> at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:163)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:915)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:866)
> at
>
org.eclipse.jface.action.ActionContributionItem$7.handleEven t(ActionContributionItem.java:785)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
> at org.eclipse.core.launcher.Main.run(Main.java:704)
> at org.eclipse.core.launcher.Main.main(Main.java:688)
> Caused by: java.lang.NoSuchMethodError:
> org.eclipse.core.runtime.IPath.toPortableString()Ljava/lang/ String;
> at
>
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.fetchTemplateFilesRecursively(JETTemplateModel Wizard.java:297)
> at
>
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.fetchTemplateFilesRecursively(JETTemplateModel Wizard.java:305)
> at
>
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.createInitialModels(JETTemplateModelWizard.jav a:233)
> at
>
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard$6.execute(JETTemplateModelWizard.java:420)
> at
>
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:91)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1673)
> at
>
org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:105)
> at
>
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:303)
> ... 38 more
> Root exception:
> java.lang.NoSuchMethodError:
> org.eclipse.core.runtime.IPath.toPortableString()Ljava/lang/ String;
> at
>
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.fetchTemplateFilesRecursively(JETTemplateModel Wizard.java:297)
> at
>
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.fetchTemplateFilesRecursively(JETTemplateModel Wizard.java:305)
> at
>
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.createInitialModels(JETTemplateModelWizard.jav a:233)
> at
>
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard$6.execute(JETTemplateModelWizard.java:420)
> at
>
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:91)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1673)
> at
>
org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:105)
> at
>
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:303)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:253)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 752)
> at
>
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.performFinish(JETTemplateModelWizard.java:436)
> at
>
com.metys.merlin.generation.templates.presentation.JETTempla teModelWizard.performFinish(JETTemplateModelWizard.java:392)
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:609)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:305)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:506)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:668 )
> at org.eclipse.jface.window.Window.open(Window.java:648)
> at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:163)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:915)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:866)
> at
>
org.eclipse.jface.action.ActionContributionItem$7.handleEven t(ActionContributionItem.java:785)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
> at org.eclipse.core.launcher.Main.run(Main.java:704)
> at org.eclipse.core.launcher.Main.main(Main.java:688)


> ""Joël" Cheuoua" <jcheuoua@wanadoo.fr> a écrit dans le message de news:
> d12q4d$pcd$1@www.eclipse.org...
>> Dear EMF-ers,
>>
>> I'm please to announce the alpha release of Merlin Generator plugin.
>>
>> Merlin is a free Eclipse plugin, based on EMF, that provides Enhanced Code
>> Generation and Model Transformation tools.
>> These two concepts are critical for Model Driven Development, and promoted
>> by several popular MDD architectures like OMG's MDA or Microsoft's
>> Software Factories.
>>
>> Merlin comes with a set of wizards & editors for easilly customizing and
>> performing code generation and model transformations. The tool also has a
>> Java JET file editor with usefull features such as syntax coloring, code
>> completion and dynamic checking.
>> Last but not least, Merlin provides a built-in GEF generator, created with
>> Merlin's own mappings and templates tools, and that can generate GEF
>> editors from any ecore model.
>> You can download it on sourceforge :
>> http://sourceforge.net/projects/merlingenerator/
>>
>> The tool is also available on the EMF Corner Site (the description is
>> quite old but anyways the link is still valid).
>>
>> The plugin works only with the latests EMF (2.1.0) and GEF (3.1.0)
>> drivers.
>>
>> Your feedbacks are most welcome & appreciated (via the sourceforge forum).
>>
>> Enjoy ...
>>
>> Joel.
>>
Re: [ANN] Merlin Generator alpha is out [message #391741 is a reply to message #391736] Mon, 14 March 2005 05:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: joerg.von.frantzius.artnology.nospam.com

Hi Joël,

I took a look at the .javajet editor coming with your plugin, and the
syntax highlighting is nice!

I tried Ctrl+Space, and it seems there would be some code completion,
but instead I get the following error. My .javajet file has "<%@ jet
package="org.eclipse.emf.codegen.ecore.templates.model"" in its header,
but it resides in a templates folder in my own project in my workspace.
It seems that your editor is looking at the template package from the
EMF plugin, which is read-only, instead of looking at my file in the
workspace:

Warning 2005-03-14 11:53:23.620
org.eclipse.emf.codegen.ecore.templates.model is read-only
Java Model Exception: Java Model Status
[org.eclipse.emf.codegen.ecore.templates.model is read-only]
at
org.eclipse.jdt.internal.core.JarPackageFragment.createCompi lationUnit(JarPackageFragment.java:98)
at
com.metys.merlin.generation.templates.codeassist.JETTemplate CompletionProcessor.computeCompletionProposals(JETTemplateCo mpletionProcessor.java:188)
at
org.eclipse.jface.text.contentassist.ContentAssistant.comput eCompletionProposals(ContentAssistant.java:1470)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup .computeProposals(CompletionProposalPopup.java:250)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup .access$7(CompletionProposalPopup.java:247)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup $9.run(CompletionProposalPopup.java:961)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup .incrementalComplete(CompletionProposalPopup.java:956)
at
org.eclipse.jface.text.contentassist.ContentAssistant.showPo ssibleCompletions(ContentAssistant.java:1318)
at
org.eclipse.jface.text.source.SourceViewer.doOperation(Sourc eViewer.java:711)
at
org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentA ssistAction.java:82)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAss istAction.java:80)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:100 3)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler. java:182)
at
org.eclipse.ui.internal.commands.LegacyHandlerWrapper.execut e(LegacyHandlerWrapper.java:107)
at org.eclipse.core.commands.Command.execute(Command.java:260)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeComman d(WorkbenchKeyboard.java:418)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(Workben chKeyboard.java:698)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEve nt(WorkbenchKeyboard.java:741)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequ enceBindings(WorkbenchKeyboard.java:510)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(Work benchKeyboard.java:453)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent (WorkbenchKeyboard.java:229)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:783 )
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:841)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:879)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:875)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1181)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3121)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3024 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3480 )
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:16 19)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2539)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1612)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:293)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:228)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:333)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
at org.eclipse.core.launcher.Main.run(Main.java:887)
at org.eclipse.core.launcher.Main.main(Main.java:871)




Joël Cheuoua schrieb:

> Dear EMF-ers,
>
> I'm please to announce the alpha release of Merlin Generator plugin.
>
> Merlin is a free Eclipse plugin, based on EMF, that provides Enhanced
> Code Generation and Model Transformation tools.
> These two concepts are critical for Model Driven Development, and
> promoted by several popular MDD architectures like OMG's MDA or
> Microsoft's Software Factories.
>
> Merlin comes with a set of wizards & editors for easilly customizing
> and performing code generation and model transformations. The tool
> also has a Java JET file editor with usefull features such as syntax
> coloring, code completion and dynamic checking.
> Last but not least, Merlin provides a built-in GEF generator, created
> with Merlin's own mappings and templates tools, and that can generate
> GEF editors from any ecore model.
> You can download it on sourceforge :
> http://sourceforge.net/projects/merlingenerator/
>
> The tool is also available on the EMF Corner Site (the description is
> quite old but anyways the link is still valid).
>
> The plugin works only with the latests EMF (2.1.0) and GEF (3.1.0)
> drivers.
>
> Your feedbacks are most welcome & appreciated (via the sourceforge
> forum).
>
> Enjoy ...
>
> Joel.
>
Re: [ANN] Merlin Generator alpha is out [message #391748 is a reply to message #391741] Mon, 14 March 2005 09:02 Go to previous messageGo to next message
Eclipse UserFriend
Joerg,

In order to not polute this forum with Merlin's specific threads, could
you please post your thread in the Merlin's sourceforge forum instead ?
thanks in advance.

Back to the issue, this sounds like a bug indeed : the JET Editor tries to
find the compilation unit contained in the Java JET project by using the
qualified name of the JET skeleton. But obviously in this case, it finds
the JarPackageFragment first. It should not consider JarPackageFragment
but only writable package fragments. I'll register this as a bug.

I guess you tried to change the package name of your JET directive ? isn't
that satisfactory as a workaround ? Do you need to have the generated
package being the same as EMF's ?

Cheers.

Joel.

Joerg von Frantzius wrote:

> Hi Joël,

> I took a look at the .javajet editor coming with your plugin, and the
> syntax highlighting is nice!

> I tried Ctrl+Space, and it seems there would be some code completion,
> but instead I get the following error. My .javajet file has "<%@ jet
> package="org.eclipse.emf.codegen.ecore.templates.model"" in its header,
> but it resides in a templates folder in my own project in my workspace.
> It seems that your editor is looking at the template package from the
> EMF plugin, which is read-only, instead of looking at my file in the
> workspace:

> Warning 2005-03-14 11:53:23.620
> org.eclipse.emf.codegen.ecore.templates.model is read-only
> Java Model Exception: Java Model Status
> [org.eclipse.emf.codegen.ecore.templates.model is read-only]
> at
>
org.eclipse.jdt.internal.core.JarPackageFragment.createCompi lationUnit(JarPackageFragment.java:98)
> at
>
com.metys.merlin.generation.templates.codeassist.JETTemplate CompletionProcessor.computeCompletionProposals(JETTemplateCo mpletionProcessor.java:188)
> at
>
org.eclipse.jface.text.contentassist.ContentAssistant.comput eCompletionProposals(ContentAssistant.java:1470)
> at
>
org.eclipse.jface.text.contentassist.CompletionProposalPopup .computeProposals(CompletionProposalPopup.java:250)
> at
>
org.eclipse.jface.text.contentassist.CompletionProposalPopup .access$7(CompletionProposalPopup.java:247)
> at
>
org.eclipse.jface.text.contentassist.CompletionProposalPopup $9.run(CompletionProposalPopup.java:961)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
>
org.eclipse.jface.text.contentassist.CompletionProposalPopup .incrementalComplete(CompletionProposalPopup.java:956)
> at
>
org.eclipse.jface.text.contentassist.ContentAssistant.showPo ssibleCompletions(ContentAssistant.java:1318)
> at
> org.eclipse.jface.text.source.SourceViewer.doOperation(Sourc eViewer.java:711)
> at
>
org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentA ssistAction.java:82)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
>
org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAss istAction.java:80)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:100 3)
> at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler. java:182)
> at
>
org.eclipse.ui.internal.commands.LegacyHandlerWrapper.execut e(LegacyHandlerWrapper.java:107)
> at org.eclipse.core.commands.Command.execute(Command.java:260)
> at
>
org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeComman d(WorkbenchKeyboard.java:418)
> at
>
org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(Workben chKeyboard.java:698)
> at
>
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEve nt(WorkbenchKeyboard.java:741)
> at
>
org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequ enceBindings(WorkbenchKeyboard.java:510)
> at
>
org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(Work benchKeyboard.java:453)
> at
>
org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent (WorkbenchKeyboard.java:229)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Display.filterEvent(Display.java:783 )
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:841)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:879)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:875)
> at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1181)
> at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3121)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3024 )
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:3480 )
> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:16 19)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2539)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1612)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:293)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:228)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:333)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:150)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
> at org.eclipse.core.launcher.Main.run(Main.java:887)
> at org.eclipse.core.launcher.Main.main(Main.java:871)




> Joël Cheuoua schrieb:

>> Dear EMF-ers,
>>
>> I'm please to announce the alpha release of Merlin Generator plugin.
>>
>> Merlin is a free Eclipse plugin, based on EMF, that provides Enhanced
>> Code Generation and Model Transformation tools.
>> These two concepts are critical for Model Driven Development, and
>> promoted by several popular MDD architectures like OMG's MDA or
>> Microsoft's Software Factories.
>>
>> Merlin comes with a set of wizards & editors for easilly customizing
>> and performing code generation and model transformations. The tool
>> also has a Java JET file editor with usefull features such as syntax
>> coloring, code completion and dynamic checking.
>> Last but not least, Merlin provides a built-in GEF generator, created
>> with Merlin's own mappings and templates tools, and that can generate
>> GEF editors from any ecore model.
>> You can download it on sourceforge :
>> http://sourceforge.net/projects/merlingenerator/
>>
>> The tool is also available on the EMF Corner Site (the description is
>> quite old but anyways the link is still valid).
>>
>> The plugin works only with the latests EMF (2.1.0) and GEF (3.1.0)
>> drivers.
>>
>> Your feedbacks are most welcome & appreciated (via the sourceforge
>> forum).
>>
>> Enjoy ...
>>
>> Joel.
>>
Re: [ANN] Merlin Generator alpha is out [message #391767 is a reply to message #391736] Mon, 14 March 2005 20:44 Go to previous message
Eclipse UserFriend
Hi again,

The 0.4.5 release contains several discreapancies mostly due to the useage
of non-standard dependencies configuration releases.

Due to several demands, I've updated the current release so that it may
work on a "stable" configuration that is :

Eclipse 3.1.0 M5a
GEF 3.1M5
EMF 2.1.0 build I200503100800
UML2 1.1M3

Folks that have downloaded the 0.4.5 version should upgrade to version
0.4.6. and use the above configuration.

Cheers.

Joël Cheuoua wrote:

> Dear EMF-ers,

> I'm please to announce the alpha release of Merlin Generator plugin.

> Merlin is a free Eclipse plugin, based on EMF, that provides Enhanced Code
> Generation and Model Transformation tools.
> These two concepts are critical for Model Driven Development, and promoted
> by several popular MDD architectures like OMG's MDA or Microsoft's
> Software Factories.

> Merlin comes with a set of wizards & editors for easilly customizing and
> performing code generation and model transformations.
> The tool also has a Java JET file editor with usefull features such as
> syntax coloring, code completion and dynamic checking.

> Last but not least, Merlin provides a built-in GEF generator, created with
> Merlin's own mappings and templates tools, and that can generate GEF
> editors from any ecore model.

> You can download it on sourceforge :
> http://sourceforge.net/projects/merlingenerator/

> The tool is also available on the EMF Corner Site (the description is
> quite old but anyways the link is still valid).

> The plugin works only with the latests EMF (2.1.0) and GEF (3.1.0) drivers.

> Your feedbacks are most welcome & appreciated (via the sourceforge forum).

> Enjoy ...

> Joel.
Previous Topic:DeseFeatureNotFoundException: Feature 'version' not found
Next Topic:Relatively Referencing References! Say that one ten times fast!
Goto Forum:
  


Current Time: Fri Sep 26 15:19:02 EDT 2025

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

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

Back to the top