Jörn Kottmann wrote:

I played around with the CasEditor and tried to add a cas processor, but unfortunately without success. I was able to add the cas processor (annotator) to my project and I found the place in the context menu to run it, but I ever get ClassNotFound exceptions... what is true, I never specified the classpath for the component. Since we are in an eclipse environment, I guess we can only add plugins dependencies to the classpath. So I have to package my annotator component as plugin to add it as dependency to the CasEditor... is that right?

Thats correct they must be loaded form the class loader which loaded the uima runtime plugin.
Would a better design be to consider the user has a "project" he's working in, and use the classpath associated with that project?
That's what the CDE does.

-Marshall

Reply via email to