1

I'm building a plugin to extend the Eclipse BPEL Designer. That plugin is supposed to allow users to add meta information to certain model elements via EAnnotations. I already did the same thing for a BPMN model and it work just finde but when doing this for the BPEL designer I reveive rather strange exceptions. The first I thing realized when trying to extend the BPEL Designer was that the designers plugins are defined in an unusual package structure. Instead of org.eclipse.bpel.xxx they have a "bin" in front of all package names. When I'm trying to import some of the designers classes I therefore have to refernce the bin path to make it work. However all the examples I was able to find just imported classes from the ordinary package structure.

Most of the time importing classes with the bin in front of the package name worked fine for me but every now and then I receive a strange error message. The message is in the form of: The type org.eclipse.bpel.xxx cannot be resolved. It is indirectly referenced from required .class files It seems that Eclipse somehow can't find certain classes. I'm stuck at this point for over a week now and don't find any solution. From my point of view the problem has to be seen in the BPEL Designer plugins. Inside those plugins they reference classes in the form of org.eclipse.bpel.xxx but as I said when I reference those plugins their classes are inside packages with a "bin" in front of the normal package name. Could that be an explanation why certain classes can't be referenced by Eclipse and I get those strange error messages?

I'd appreciate any new ideas about that problem and hope that somwebody can give me an advice to solve that problem.

Cheers Stefan

4

1 回答 1

0

I already encountered in the past such troubles ...

I think there is a problem with the export/import of the BPEL Designer plugin.

How did you get this plugin ? Are you working with binary plugin or plugin imported as source in your SDk ?

Try to get again this plugin, may be an other version, or from an other source .. an update site.

I really think these "bin" packages/folders should not be here

Hope this can help ...

于 2009-06-09T07:58:46.373 回答