Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [mdt-papyrus.dev] update of org.eclipse.papyrus.di.*

Hi,

You use the old wizard of the scribe.clazz plugin.
So I have comment it, and now it remains only the wizard made by Jerôme. I have committed it

Patrick 


---------------------------------------------------------
Patrick Tessier
Research Engineer
DRT LIST/DTSI/SOL/LISE CEA-Saclay
91191 Gif sur Yvette Cedex
Tel: 01 69 08 48 63
www.papyrusuml.org
---------------------------------------------------------

-----Message d'origine-----
De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de Francisco Javier Cano
Envoyé : jeudi 13 novembre 2008 10:12
À : Papyrus Project list
Objet : RE: [mdt-papyrus.dev] update of org.eclipse.papyrus.di.*

I found this exact same problem after updating this morning.

----
Francisco Javier Cano Muñoz
Programador senior
Prodevelop
www.prodevelop.es



-----Original Message-----
From: mdt-papyrus.dev-bounces@xxxxxxxxxxx on behalf of Jacques LESCOT
Sent: Thu 13/11/2008 10:04
To: Papyrus Project list
Subject: Re: [mdt-papyrus.dev] update of org.eclipse.papyrus.di.*
 
I tried on my side updating all the latest changes, but I am not able to create new uml diagrams through the wizard. It seems that there are remaining references to the old "di2" extension. Here is the error message I got :

org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: 
org.eclipse.core.internal.resources.ResourceException: Resource '/testPapy/umlExample1.di2' does not exist.
    at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315)
    at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
    at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397)
    at
org.eclipse.papyrus.core.utils.DiResourceSet.loadResources(DiResourceSet.java:291)
    at
org.eclipse.papyrus.core.editor.SashMultiDiagramEditor.init(SashMultiDiagramEditor.java:293)
    at
org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:802)
    at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:660)
    at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:444)
    at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
    at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
    at
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
    at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
    at
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
    at
org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
    at
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
    at
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
    at
org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:782)
    at
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:681)
    at
org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:642)
    at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2817)
    at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
    at
org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
    at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
    at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605)
    at
org.eclipse.papyrus.diagram.clazz.scribe.adapter.wizard.CreateModelWizard$CreationPage.finish(CreateModelWizard.java:153)
    at
org.eclipse.papyrus.diagram.clazz.scribe.adapter.wizard.CreateModelWizard.performFinish(CreateModelWizard.java:86)
    at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
    at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3848)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3446)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at
org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:135)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
    at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
    at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3848)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3446)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:370)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: org.eclipse.core.internal.resources.ResourceException: 
Resource '/testPapy/umlExample1.di2' does not exist.
    at
org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:317)
    at
org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:194)
    at org.eclipse.core.internal.resources.File.getContents(File.java:296)
    at org.eclipse.core.internal.resources.File.getContents(File.java:287)
    at
org.eclipse.emf.ecore.resource.impl.PlatformResourceURIHandlerImpl$WorkbenchHelper.createPlatformResourceInputStream(PlatformResourceURIHandlerImpl.java:204)
    at
org.eclipse.emf.ecore.resource.impl.PlatformResourceURIHandlerImpl.createInputStream(PlatformResourceURIHandlerImpl.java:448)
    at
org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:301)
    at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1212)
    at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
    at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
    ... 77 more


Cedric Dumoulin a écrit :
>
>  It seems to work :-).
>
>  The bad news is that all existing examples are not working anymore. 
> Do you have a simple solution ? Does just renaming the .di2 in .di 
> works ?
>
>  Cedric
>
> TESSIER Patrick 202707 wrote:
>> Hi,
>>  
>> I have rename all plugins "di2" to "di".
>> So, pay attention about dependencies to these plugins.
>>  
>> Patrick
>>  
>> ---------------------------------------------------------
>> Patrick Tessier
>> Research Engineer
>> DRT LIST/DTSI/SOL/LISE CEA-Saclay
>> 91191 Gif sur Yvette Cedex
>> Tel: 01 69 08 48 63
>> www.papyrusuml.org <http://www.papyrusuml.org/>
>> ---------------------------------------------------------
>>  
>> _______________________________________________
>> mdt-papyrus.dev mailing list
>> mdt-papyrus.dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev
>>   
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> mdt-papyrus.dev mailing list
> mdt-papyrus.dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev
>   

-- 
Anyware Technologies <http://www.anyware-tech.com> 	
*Jacques LESCOT*
Project Manager
Eclipse Technical Expert
jacques.lescot@xxxxxxxxxxxxxxxx <mailto:jacques.lescot@xxxxxxxxxxxxxxxx>
Standard : +33(0)5 61 00 52 90
Direct : +33(0)5 61 00 06 60
Mobile : +33(0)6 74 49 23 34
Fax : +33(0)5 61 00 51 46 	*Anyware Technologies
* Lake Park
ZAC de l'Hers - Allée du Lac
BP 87216
31672 Labège Cedex
France
www.anyware-tech.com <http://www.anyware-tech.com>

This message and any attachments (the "Message") are confidential and intended solely for the addressees.
Any unauthorized modification, edition, use or dissemination is prohibited.
Neither Anyware Technologies nor its headquarters Wavecom shall be liable for the Message if altered, changed, falsified or edited, diffused without authorization.

BEGIN:VCARD
VERSION:2.1
N:TESSIER;Patrick
FN:TESSIER Patrick 202707 (Patrick.TESSIER@xxxxxx)
ORG:;SOL/LLSP
TITLE:Ingénieur Chercheur
TEL;WORK;VOICE:(01) 69 08 48 63
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;B=E2t. 451 Pce 9;CEA SACLAY=0D=0ADRT/DTSI;GIF/YVETTE CEDEX;;91191;FRANCE
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:B=E2t. 451 Pce 9=0D=0ACEA SACLAY=0D=0ADRT/DTSI=0D=0AGIF/YVETTE CEDEX 91191=
=0D=0AFRANCE
EMAIL;PREF;INTERNET:Patrick.TESSIER@xxxxxx
REV:20071011T094630Z
END:VCARD

Back to the top