Eventually I figured out that the Import-Package statements are good and that I had to install the feature "EMF - Eclipse Modelling Framework SDK" version "2.6.1.v20100914-1218" to get Eclipse to recognize all the UIMA Tooling stuff.
The semantics of Import-Package with version=2.3 used in the UIMA-AS bundles should be to accept any version in the range [2.3, infinity) where 2.3 corresponds to 2.3.0. Eclipse should notice that the UIMA Tooling you have installed in version 2.3.1 is within that range. Are you sure that the UIMA runtime plugin is properly installed and usable within Eclipse? -- Richard Am 08.08.2011 um 16:42 schrieb Alexander Klenner: > I created your suggested folder structure and tried the original .jars as > well as the updated MANIFEST.MFs ones and again eclipse doesn't seem to even > realize that I did something in its folders.. is there any way to check if > eclipse found those files/folders and just had problems to process them? The > problem here may still be that IT doesn't grand me permission to write in the > eclipse directory (they have to do all the folder updates...), so there will > be no log files I guess. > > Thanks, > > Alex > -- > Alexander G. Klenner > Fraunhofer-Institute for Algorithms and Scientific Computing (SCAI) > Schloss Birlinghoven, D-53754 Sankt Augustin > Tel.: +49 - 2241 - 14 - 2736 > E-mail: [email protected] > Internet: http://www.scai.fraunhofer.de > > > ----- Ursprüngliche Mail ----- > Von: "Richard Eckart de Castilho" <[email protected]> > An: [email protected] > Gesendet: Montag, 8. August 2011 15:33:27 > Betreff: Re: UIMA-AS Deployment Descriptor Editor installation fails > > Hi Alex, > > try creating the following structure and then restart Eclipse. > > dropins > uima-as > eclipse > plugins > org.apache.uima.deployeditor_2.3.1.jar > org.apache.uima.runtime.fragments.deployeditor_2.3.1.jar > org.apache.uima.runtime.uimaas_2.3.1.jar > > Cheers, > > Richard > > Am 08.08.2011 um 15:29 schrieb Alexander Klenner: > >> Hi Richard, >> >> thanks for your answer. First of all I had no problems whatsoever (last >> monday) to setup the core uima examples as projects so that all the >> additional stuff works e.g. "Run As UIMA CPE GUI". That just worked as >> described after I had all permissions set correctly. >> >> However, manually patching the MANIFEST files didnt lead to success with my >> problem. I found all the 2.3 notations in both files and switched them to >> 2.3.1. I really dont know what Eclipse is supposed to do when there are new >> files in the dropin folder but eclispe just seems to ignore them. There is >> no message (of success or failure) neither in Eclipse itself nor in the >> shell where it is started. >> >> alex >> >> -- >> Alexander G. Klenner >> Fraunhofer-Institute for Algorithms and Scientific Computing (SCAI) >> Schloss Birlinghoven, D-53754 Sankt Augustin >> Tel.: +49 - 2241 - 14 - 2736 >> E-mail: [email protected] >> Internet: http://www.scai.fraunhofer.de >> >> >> ----- Ursprüngliche Mail ----- >> Von: "Richard Eckart de Castilho" <[email protected]> >> An: [email protected] >> Gesendet: Montag, 8. August 2011 14:10:17 >> Betreff: Re: UIMA-AS Deployment Descriptor Editor installation fails >> >> Am 08.08.2011 um 13:37 schrieb Alexander Klenner: >> >>> I tried to install UIMA-AS Deployment Descriptor Editor 2.3.1 via the >>> Eclipse(latest version) "Help->Install New Software" interface from >>> http://www.apache.org/dist/uima/eclipse-update-site/. Both tools and >>> runtime are already installed(v.2.3.1). But installation fails with >>> following error: >>> >>> Cannot complete the install because one or more required items could not be >>> found. >>> Software being installed: UIMA-AS Deployment Descriptor Editor 2.3.1 >>> (org.apache.uima.as.deployeditor.feature.group 2.3.1) >>> Missing requirement: UIMA-AS Eclipse Plugin: uimaj-ep-runtime-deployeditor >>> 2.3.1 (org.apache.uima.runtime.fragments.deployeditor 2.3.1) requires >>> 'package org.apache.uima 2.3.0' but it could not be found >>> Cannot satisfy dependency: >>> From: UIMA-AS Deployment Descriptor Editor 2.3.1 >>> (org.apache.uima.as.deployeditor.feature.group 2.3.1) >>> To: org.apache.uima.runtime.fragments.deployeditor [2.3.1] >> >> That looks to me like an incarnation of the problem I found while trying to >> get the UIMA sources properly set up as projects in Eclipse >> (http://uima.markmail.org/search/?q=#query:+page:1+mid:ysdvf5lgj5k7rfuw+state:results). >> >> The problem is that the Import-Packge statements in the MANIFEST.MF of the >> org.apache.uima.deployeditor_2.3.1.jar file have the version "2.3" while it >> should be "2.3.1". The version "2.3" seems to be interpreted as "2.3.0" and >> hence the error. There seems to be an issue with the handling of versions by >> the maven-bundle-plugin during recent builds of UIMA and UIMA-AS. >> >> I think there may currently be no workaround other than manually patching >> the MANIFEST.MF and dropping the patched jars into the Eclipse dropins >> folder. -- ------------------------------------------------------------------- Richard Eckart de Castilho Technical Lead Ubiquitous Knowledge Processing Lab FB 20 Computer Science Department Technische Universität Darmstadt Hochschulstr. 10, D-64289 Darmstadt, Germany phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117 [email protected] www.ukp.tu-darmstadt.de Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de -------------------------------------------------------------------
