Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jwt-dev] Fwd: Re: Semantic annotation of business process models

Hi Deena

There may be some bugs in the conf editor...

I suggest you open your conf file and your custom ecore model on a text editor, compare to working examples like logging (*) and property (**), and patch them as needed.

Regards,
Marc
(*)
http://dev.eclipse.org/svnroot/soa/org.eclipse.jwt/trunk/examples/jwt-we-sample-logging/conf/
http://dev.eclipse.org/svnroot/soa/org.eclipse.jwt/trunk/examples/jwt-we-sample-logging/model/

(**)
http://dev.eclipse.org/svnroot/soa/org.eclipse.jwt/trunk/we/jwt-we-conf-property-model/samples/
http://dev.eclipse.org/svnroot/soa/org.eclipse.jwt/trunk/we/jwt-we-conf-property-model/model/


Le 25/05/2011 00:01, Deena Awny a écrit :
Hey Marc,
 
Thanks a lot for passing me this :) it did help i was able to create a profile and an aspect and embed them with the other profiles. However
when I load a resource on to the aspect an error occurs which is :

java.io.IOException: Unable to resolve plug-in "platform:/plugin/jwt-we-conf-model/model/ConfMetaModel.ecore".
 at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:64)
 at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.resolve(PlatformURLPluginConnection.java:75)
 at org.eclipse.core.internal.boot.PlatformURLHandler.openConnection(PlatformURLHandler.java:67)
 at org.eclipse.osgi.framework.internal.protocol.URLStreamHandlerProxy.openConnection(URLStreamHandlerProxy.java:112)
 at java.net.URL.openConnection(Unknown Source)
 at org.eclipse.emf.ecore.resource.impl.URIHandlerImpl.createInputStream(URIHandlerImpl.java:177)
 at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:301)
 at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1254)
 at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
 at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
 at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397)
 at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:216)
 at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:202)
 at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:262)
 at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eResolveProxy(BasicEObjectImpl.java:1483)
 at org.eclipse.emf.ecore.impl.EGenericTypeImpl.getEClassifier(EGenericTypeImpl.java:572)
 at org.eclipse.emf.ecore.provider.EGenericTypeItemProvider.getText(EGenericTypeItemProvider.java:497)
 at org.eclipse.emf.ecore.provider.EClassItemProvider.getText(EClassItemProvider.java:318)
 at org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider.getText(AdapterFactoryLabelProvider.java:380)
 at org.eclipse.jface.viewers.WrappedViewerLabelProvider.getText(WrappedViewerLabelProvider.java:108)
 at org.eclipse.jface.viewers.WrappedViewerLabelProvider.update(WrappedViewerLabelProvider.java:164)
 at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:152)
 at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:934)
 at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:102)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
 at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
 at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
 at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1014)
 at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:481)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
 at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
 at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
 at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2141)
 at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:829)
 at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:804)
 at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
 at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:778)
 at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:644)
 at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:749)
 at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1444)
 at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:952)
 at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1455)
 at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:132)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
 at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7408)
 at org.eclipse.swt.widgets.Control.wmNotify(Control.java:5098)
 at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1887)
 at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4728)
 at org.eclipse.swt.widgets.Control.windowProc(Control.java:4217)
 at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
 at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
 at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2362)
 at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1536)
 at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6303)
 at org.eclipse.swt.widgets.Control.windowProc(Control.java:4197)
 at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5844)
 at org.eclipse.swt.widgets.Display.windowProc(Display.java:4886)
 at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
 at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
 at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
 
 
Even though I have jwt-we-conf-model imorted as a plugin in my workspace. I dont know where the problem is coming from exactly.
 
Thanks a lot for trying to help me :)
 
Deena Awny
On Tue, May 24, 2011 at 3:36 PM, Marc Dutoo <marc.dutoo@xxxxxxxxxxx> wrote:
FYI

-------- Message original --------
Sujet: Re: [jwt-dev] Semantic annotation of business process models
Date : Tue, 24 May 2011 14:35:55 +0200
De : Marc Dutoo <marc.dutoo@xxxxxxxxxxx>
Pour : Ahmed Samir Saleh Wafa <ahmed.wafa@xxxxxxxxxxxxxxxxxx>


Hi Samir

Great, I'm happy to know it works for you !
There are still a few bugs, and it probably could be simpler to use, so 
here at JWT we're interested in any kind of feeback.

Regards,
Marc


Le 24/05/2011 12:00, Ahmed Samir Saleh Wafa a écrit :
> Dear Marc,
>
> I found out why wasn't it there and i solved the problem. It was something stupid so disregard my last email. Anyway, I'll let you know if I still face some other difficulties. Thank you very much. You have helped me a lot until this point and I really appreciate it.
>
> best regards,
> Samir
>
> ________________________________________
> From: Marc Dutoo [marc.dutoo@xxxxxxxxxxx]
> Sent: Monday, May 23, 2011 01:09 PM
> To: Ahmed Samir Saleh Wafa
> Cc: Java Workflow Toolbox
> Subject: Re: [jwt-dev] Semantic annotation of business process models
>
> Hi Ahmed
>
> I've added a new screenshot in step 3 that shows what you should have, at
> http://wiki.eclipse.org/JWT_Metamodel_Extension#Setting_up_simple_.28key-value.29_additional_model_extensions
>
> Hope it helps !
>
> Regards,
> Marc
>
> Le 21/05/2011 02:13, Ahmed Samir Saleh Wafa a écrit :
>> Hi Marc,
>>
>> Thank you very much for your reply. It worked for me and I was able to create my profile :) but I still can not reach the point where I can add my custom property. In step 3 in the link u sent me I am supposed to export my *_conf file to just a .conf file. To do that I should select the ManageProfile tab of the (workflow) model editor, and in the "Export profiles that are not among installed ones", choose a new target .conf file and click on the "Export" button. The problem is that in this tab there is no "Export profiles that are not among installed ones" button or something. is this documentation outdated or something ??
>> I really appreciate ur help until now and I would be extremely thankful if you can help me out all the way through. Thank you very much :)
>>
>>
>> best regards,
>> Samir
>> ________________________________________
>> From: Marc Dutoo [marc.dutoo@xxxxxxxxxxx]
>> Sent: Friday, May 20, 2011 08:45 PM
>> To: Ahmed Samir Saleh Wafa
>> Subject: Re: [jwt-dev] Semantic annotation of business process models
>>
>> Hi Ahmed
>>
>> It should rather open with the Conf Editor. Try this : close it, right
>> click on it and choose Open With, then "Conf Editor".
>>
>> Regards,
>> Marc
>>
>>
>> Le 20/05/2011 18:27, Ahmed Samir Saleh Wafa a écrit :
>>> Dear Marc,
>>>
>>> Thank you very much for the warm welcome and for the reply. I can not follow these steps. I have a workflow called "Process.workflow" and I also have the file "Process.workflow_conf". I double-click on it and it simply opens an editor with this :
>>>
>>> <?xml version="1.0" encoding="ASCII"?>
>>> <conf:ConfModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:conf="org.eclipse.jwt.conf">
>>>      <enrichedModel href=""/>
>>> </conf:ConfModel>
>>>
>>> I am then supposed to create my own custom Profile in it by right-click>    New Child>    Profile on the ConfModel root element but there's no place I right click and find  the option to do that.
>>>
>>> What am I doing wrong ?? Please advice.
>>>
>>> thank you very much.
>>>
>>> best regards,
>>> Samir
>>>
>>>
>>>
>>>
>>> ________________________________________
>>> From: Marc Dutoo [marc.dutoo@xxxxxxxxxxx]
>>> Sent: Friday, May 20, 2011 06:28 PM
>>> To: Java Workflow Tooling
>>> Cc: Ahmed Samir Saleh Wafa
>>> Subject: Re: [jwt-dev] Semantic annotation of business process models
>>>
>>> Hi Ahmed
>>>
>>> First a warm welcome to the JWT community !
>>>
>>> The simplest way to add custom information on a JWT process model is by
>>> using custom properties, see here (read the previous parts also) :
>>> http://wiki.eclipse.org/JWT_Metamodel_Extension#Setting_up_simple_.28key-value.29_additional_model_extensions
>>> You can for example design a custom property "Semantic annotation" of
>>> type String (actually containing semantic info, like OWL XML...) that
>>> can be added to any element.
>>>
>>> In addition, if you need to get it "out" of JWT, for instance to execute
>>> it on a process engine, you then need to write or enrich a
>>> transformation towards your chosen business process format.
>>> JWT already has several transformations, as well as a stub project in
>>> order to help creating your own, see in the svn here :
>>> http://dev.eclipse.org/svnroot/soa/org.eclipse.jwt/trunk/transformations/
>>> For instance if you want to have it as an XPDL business process that is
>>> executable on the Bonita 4 engine, you can copy-paste the existing XPDL
>>> transformation and add some XSL scripting that uses your semantic
>>> annotations, for example to enrich said XPDL process.
>>>
>>> Hope that gives you some ideas !
>>>
>>> Best regards,
>>> Marc
>>>
>>>
>>> Le 19/05/2011 16:49, Ahmed Samir Saleh Wafa a écrit :
>>>> Dear all,
>>>>
>>>> I am using JWT for my business process modelling and I am in a part of my bachelor thesis where I need to semantically annotate business process models with their resource requirements (the resources a process needs to be executed). Does anyone know what is the best way to do that ?? Any help or advice will be greatly appreciated =D
>>>>
>>>> thanks a lot in advance,
>>>> Samir
>>>> _______________________________________________
>>>> jwt-dev mailing list
>>>> jwt-dev@xxxxxxxxxxx
>>>> https://dev.eclipse.org/mailman/listinfo/jwt-dev


_______________________________________________
jwt-dev mailing list
jwt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jwt-dev


_______________________________________________ jwt-dev mailing list jwt-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/jwt-dev


Back to the top