I answer, both of your questions (I'm referring to your previous mail), so:

  1. The Eclipse version I'm using is 3.2,
  2. Concerning, the architecture of my application it is the
     following: I have a first plugin containing an automaton toolkit I
     use for text analysis, a second plugin contains the UIMA
     components using classes of the first plugin, finally I have a
     third plugin using the UIMA ones and EMF plugins to implement a
     GUI. This third plugin will be integrated in a RCP application but
     at the moment in the development phase I test it running the
     workbench application I call using the run menu. When I'm in the
     workbench I create a general project where I put UIMA descriptors
     which use  classes of the UIMA plugin. Depending the corpora and
     the automata  I want  to use  I change the parameters of these
     descriptors or the CPE file in the project. So far, using the
     buddy mechanism everything work fine.
     Now I would like to add some flexibility allowing users to select
     select different TAE defined in the UIMA plugin and it is when
     things go wrong. To do that I use the browse button of the
     Descriptor Editor and I get the message I told you. Indeed I could
     reinvent the wheel and update the descriptor with an editor of my
     own but I think it would be a pity. If it is mandatory to use a
     java project I will obviously have to do that because exporting
     all the PDE plugins to the RCP app will be too huge.

Forgive the length of this message, I wanted to be as exhaustive as possible.

Marshall Schor wrote:
Christian Mauceri wrote:
Hi,

recently in the UIMA AlphaWorks forum Marshall Schor saved my life explaining me how to use the buddy class loading in the Eclipse Manifest file of a plugin to make UIMAFramework recognizes my classes. It works fine and my class are recognized. However I still cannot completly use the Descriptor Editor Component in my application, indeed when I push the browse button in the Overview Tab to get the list of available Analysis Engine Java classes I get the following error message: Unexpected exception while getting type information for type 'com.ibm.uima.analysis_component.AnalysisComponent'. FSATest does not exist.
(FSATest is the Eclipse workplace project I put my xml descriptor in)
Any suggestion?


More thinking... When you click the "browse" button it does the following:

It first goes to the Eclipse project containing the XML descriptor.
It then assumes (perhaps incorrectly) that this project is a "Java" project, and that its classpath is set up to indicate all the classes used in the project, including the UIMA framework classes.
Is this project a "Java" project, with its class path set up properly?

-Marshall


--
Cordialement/Regards
Christian Mauceri
http://hermeneute.com/Christian

Reply via email to