uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Eckart de Castilho <eckar...@tk.informatik.tu-darmstadt.de>
Subject Re: [jira] [Commented] (UIMA-2141) Annotations Styles view - filter field
Date Fri, 10 Jun 2011 23:06:54 GMT
Hi Jörn

> When you are done with that I simply go to the uimaj folder
> and type mvn eclipse:eclipse which prepares the project
> to be opened in eclipse.

I am trying once again to get UIMA trunk playing nicely with my Eclipse ;) I would like to
use m2eclipse for development, because that is what I always use and that is where I always
failed with the Eclipse plugin projects. Can I use m2eclipse with these, or do I have to turn
them into PDE projects?

So I used eclipse:eclipse to turn the uimaj-ep* projects into PDE projects - that seemed to
work more or less. 

- The uima-ep-cas-editor project now complains that it cannot import several packages from
uimaj-core. That is not very surprising because the eclipse:eclipse goal did not generate
the necessary exports on the uimaj-ep-runtime project.

- For some odd reason the eclipse:eclipse goal has generated links e.g. for to the .m2/repo.../../uimaj-core-2.3.2-SNAPSHOT.jar
in the project root. I wonder why, because that JAR is not listed in the Classpath section
of the PDE Manifest, so why link it into the project?

Can you explain me what is happening here? What I did was:

- Check out uimaj/trunk as a workspace project in Eclipse
- Run "Import existing maven projects" on that checked out project to get the actual projects
(that wouldn't be necessary if there was a top-level POM - cf. UIMA-1967)
- Run "package" on aggregate-uimaj to generate the missing sources
- Update Maven Dependencies on all projects to find the generated sources and add them to
the build path
- Run eclipse:eclipse on all 7 uimaj-ep-* modules
- Build all
- Now I have several projects with strange links in them and package import errors (as explained
above)

I can't see what went wrong. Do you have and idea why it doesn't work?

Richard

-- 
------------------------------------------------------------------- 
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
eckartde@tk.informatik.tu-darmstadt.de 
www.ukp.tu-darmstadt.de 
Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de
------------------------------------------------------------------- 





Mime
View raw message