You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Thilo Götz <tw...@gmx.de> on 2011/07/14 14:28:27 UTC

What Eclipse version does our tooling work with?

Maybe it's just me, but I tried to install the latest
downloadable version of our tooling in Eclipse 3.7
and 3.6, and had no luck.  In 3.7, nothing at all
works.  In 3.6, I can add the UIMA nature to projects,
but I can't start the CDE.  I can create a CAS Editor
project, but it doesn't have the right icon, and I see
none of the things I should be seeing.

This is on Ubuntu, in case that makes a difference.

I really just want to run the CAS Editor.  What's my
best option?  Should I downgrade Eclipse to some ancient
level and use the download version?  If I build from
source, will it work in a recent version of Eclipse?

Thanks for any help.

--Thilo

Re: What Eclipse version does our tooling work with?

Posted by Thilo Götz <tw...@gmx.de>.
On 14/07/11 16:42, Jörn Kottmann wrote:
> On 7/14/11 4:01 PM, Thilo Götz wrote:
>> This was into a clean eclipse.  Here's the log for the attempt when I tried to
>> install from the update site.  Maybe just an incomplete download.  However,
>> downloading the distribution and copying the plugin jars into the dropins folder
>> didn't work either.
> 
> Ok, I will try to reproduce this problem. Did you succeed with the Cas Editor?

Yes, thank you.  I had a build failure in uimaj-ep-launcher, but
apparently nothing depends on it and I was able to carry on with
the rest.

--Thilo

> 
> Jörn

Re: What Eclipse version does our tooling work with?

Posted by Thilo Götz <tw...@gmx.de>.
Oh well, no matter.  Now I have the latest and greatest,
which is the preferred option anyway ;-)  Thanks for
looking into this.

--Thilo

On 14/07/11 17:31, Jörn Kottmann wrote:
> For me it just works. I used a fresh eclipse 3.7 (on ubuntu 32 Bit), the update
> site to install
> the UIMA 2.3.1 tools, after that was done I quickly tested the Cas Editor.
> 
> After the tools have been installed, eclipse suggested to restart which I did.
> 
> Jörn
> 
> On 7/14/11 4:42 PM, Jörn Kottmann wrote:
>> On 7/14/11 4:01 PM, Thilo Götz wrote:
>>> This was into a clean eclipse.  Here's the log for the attempt when I tried to
>>> install from the update site.  Maybe just an incomplete download.  However,
>>> downloading the distribution and copying the plugin jars into the dropins folder
>>> didn't work either.
>>
>> Ok, I will try to reproduce this problem. Did you succeed with the Cas Editor?
>>
>> Jörn
> 

Re: What Eclipse version does our tooling work with?

Posted by Jörn Kottmann <ko...@gmail.com>.
For me it just works. I used a fresh eclipse 3.7 (on ubuntu 32 Bit), the 
update site to install
the UIMA 2.3.1 tools, after that was done I quickly tested the Cas Editor.

After the tools have been installed, eclipse suggested to restart which 
I did.

Jörn

On 7/14/11 4:42 PM, Jörn Kottmann wrote:
> On 7/14/11 4:01 PM, Thilo Götz wrote:
>> This was into a clean eclipse.  Here's the log for the attempt when I 
>> tried to
>> install from the update site.  Maybe just an incomplete download.  
>> However,
>> downloading the distribution and copying the plugin jars into the 
>> dropins folder
>> didn't work either.
>
> Ok, I will try to reproduce this problem. Did you succeed with the Cas 
> Editor?
>
> Jörn


Re: What Eclipse version does our tooling work with?

Posted by Jörn Kottmann <ko...@gmail.com>.
On 7/14/11 4:01 PM, Thilo Götz wrote:
> This was into a clean eclipse.  Here's the log for the attempt when I tried to
> install from the update site.  Maybe just an incomplete download.  However,
> downloading the distribution and copying the plugin jars into the dropins folder
> didn't work either.

Ok, I will try to reproduce this problem. Did you succeed with the Cas 
Editor?

Jörn

Re: What Eclipse version does our tooling work with?

Posted by Thilo Götz <tw...@gmx.de>.
On 14/07/11 15:50, Marshall Schor wrote:
> 3.6.2 (windows) and 3.7 (Linux) both work for me.
> 
> I'm running with 3.6.2, with the UIMA plugins from 2.3.1 version, and I can
> start the CDE (on windows).
> 
> I've also now just tested 3.7 with the uima plugins from 2.3.1 version, and made
> a new Java project, and added a new UIMA analysis engine descriptor - which
> opened up fine in the CDE.
> 
> Both installed from www.apache.org/dist/uima/eclipse-update-site.
> 
> Perhaps there's some interaction with other plugins happening?
> 

This was into a clean eclipse.  Here's the log for the attempt when I tried to
install from the update site.  Maybe just an incomplete download.  However,
downloading the distribution and copying the plugin jars into the dropins folder
didn't work either.

!SESSION 2011-07-14 10:50:53.176 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.fullversion=JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr9-20110203_74623
(JIT enabled, AOT enabled)
J9VM - 20110203_074623
JIT  - r9_20101028_17488ifx3
GC   - 20101027_AA
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os linux -ws gtk -arch x86 -product
org.eclipse.epp.package.java.product

!ENTRY org.eclipse.equinox.p2.publisher.eclipse 2 0 2011-07-14 10:57:48.792
!MESSAGE An error occurred while loading the manifest
/home/tgoetz/programs/eclipse/3.7.0-java-caseditor/plugins/org.apache.uima.runtime_2.3.1.jar.
!STACK 0
java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:137)
	at
org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.basicLoadManifest(BundlesAction.java:530)
	at
org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.loadManifest(BundlesAction.java:516)
	at
org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.createBundleDescription(BundlesAction.java:509)
	at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.PublisherUtil.createBundleIU(PublisherUtil.java:29)
	at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.EclipseTouchpoint.prepareIU(EclipseTouchpoint.java:224)
	at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.EclipseTouchpoint.initializeOperand(EclipseTouchpoint.java:185)
	at
org.eclipse.equinox.internal.p2.engine.Phase.initializeTouchpointParameters(Phase.java:198)
	at org.eclipse.equinox.internal.p2.engine.Phase.mainPerform(Phase.java:126)
	at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:78)
	at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:44)
	at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75)
	at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
	at
org.eclipse.equinox.p2.operations.ProvisioningSession.performProvisioningPlan(ProvisioningSession.java:174)
	at
org.eclipse.equinox.p2.operations.ProfileModificationJob.runModal(ProfileModificationJob.java:79)
	at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2011-07-14 10:57:48.798
!MESSAGE The bundle manifest could not be read:
/home/tgoetz/programs/eclipse/3.7.0-java-caseditor/plugins/org.apache.uima.runtime_2.3.1.jar

!ENTRY org.eclipse.equinox.p2.engine 4 4 2011-07-14 10:57:48.808
!MESSAGE An error occurred while installing the items
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2011-07-14 10:57:48.808
!MESSAGE session context was:(profile=epp.package.java,
phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null -->
[R]org.apache.uima.runtime 2.3.1, action=).
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2011-07-14 10:57:48.808
!MESSAGE Failed to prepare partial IU: [R]org.apache.uima.runtime 2.3.1.


> For instance - we had an "install" failure for uima plugins (and other plugins)
> after installing RTC 3.0 iFix1 from a p2 repository zip.  After the RTC plugins
> were installed, attempts to install UIMA and other plugins failed with strange
> error messages. We found a patch that goes against the p2 repository for RTC
> plugins, which enabled us to get around this.  For details, see
> https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=168507
> <https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=168507>
> 
> 
> 
> On 7/14/2011 8:28 AM, Thilo Götz wrote:
>> Maybe it's just me, but I tried to install the latest
>> downloadable version of our tooling in Eclipse 3.7
>> and 3.6, and had no luck.  In 3.7, nothing at all
>> works.  In 3.6, I can add the UIMA nature to projects,
>> but I can't start the CDE.  I can create a CAS Editor
>> project, but it doesn't have the right icon, and I see
>> none of the things I should be seeing.
>>
>> This is on Ubuntu, in case that makes a difference.
>>
>> I really just want to run the CAS Editor.  What's my
>> best option?  Should I downgrade Eclipse to some ancient
>> level and use the download version?  If I build from
>> source, will it work in a recent version of Eclipse?
>>
>> Thanks for any help.
>>
>> --Thilo
>>

Re: What Eclipse version does our tooling work with?

Posted by Marshall Schor <ms...@schor.com>.
3.6.2 (windows) and 3.7 (Linux) both work for me.

I'm running with 3.6.2, with the UIMA plugins from 2.3.1 version, and I can
start the CDE (on windows).

I've also now just tested 3.7 with the uima plugins from 2.3.1 version, and made
a new Java project, and added a new UIMA analysis engine descriptor - which
opened up fine in the CDE.

Both installed from www.apache.org/dist/uima/eclipse-update-site.

Perhaps there's some interaction with other plugins happening?

For instance - we had an "install" failure for uima plugins (and other plugins)
after installing RTC 3.0 iFix1 from a p2 repository zip.  After the RTC plugins
were installed, attempts to install UIMA and other plugins failed with strange
error messages. We found a patch that goes against the p2 repository for RTC
plugins, which enabled us to get around this.  For details, see
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=168507
<https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=168507>



On 7/14/2011 8:28 AM, Thilo Götz wrote:
> Maybe it's just me, but I tried to install the latest
> downloadable version of our tooling in Eclipse 3.7
> and 3.6, and had no luck.  In 3.7, nothing at all
> works.  In 3.6, I can add the UIMA nature to projects,
> but I can't start the CDE.  I can create a CAS Editor
> project, but it doesn't have the right icon, and I see
> none of the things I should be seeing.
>
> This is on Ubuntu, in case that makes a difference.
>
> I really just want to run the CAS Editor.  What's my
> best option?  Should I downgrade Eclipse to some ancient
> level and use the download version?  If I build from
> source, will it work in a recent version of Eclipse?
>
> Thanks for any help.
>
> --Thilo
>

Re: What Eclipse version does our tooling work with?

Posted by Jörn Kottmann <ko...@gmail.com>.
On 7/14/11 2:28 PM, Thilo Götz wrote:
> I really just want to run the CAS Editor.  What's my
> best option?  Should I downgrade Eclipse to some ancient
> level and use the download version?  If I build from
> source, will it work in a recent version of Eclipse?
>
> Thanks for any help.

As far as I know there are no Cas Editor issues which are linked to 
eclipse 3.6 or 3.7,
but there are a couple of bugs in the 2.3.1 version of the Cas Editor,
which really shouldn't be there:

- The document import wizard doesn't work correctly
- And a bug was fixed where saving a CAS could fail
- The shift + enter annotate action could fail when there are many types 
in the ts

I suggest that you use the trunk version. A coworker of mine just started
to use it yesterday to annotate a couple of texts and we already identified
a few more bugs and smaller issues which I will fix in the coming days.

To use the head version, you should build it with maven and
then simply copy over the runtime, caseditor and caseditor.ide jar
files into you eclipse dropins folder.

After that is done you likely need to start eclipse with the -clean flag.

I tested that yesterday and noticed that this does not work when the 
2.3.1 plugins
are still installed. We removed them via the eclipse about dialog and 
then restarted with the
clean flag and everything was fine.

Also make sure to switch to the Cas Editor Perspective and to set a type 
system.
To set a type system go into the projects property dialog and then to 
the UIMA Type System tab.
Its defaulting to TypeSystem.xml at the root of your project.

Any comments, suggestions, or bug reports are very welcome.

Hope this helps,
Jörn