uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Su <ton...@su-networking.com>
Subject Re: How to enable source in Eclipse?
Date Fri, 16 Nov 2012 18:50:07 GMT
Believe I was able to successfully import using a slightly different
approach, doing the following

1. Install m2e eclipse plugin
2. import.. (pointing to root of source)

The wizard was able to find the global pom file, then proposed importing
initially without two further maven dependencies.

3. Accept.

After import, Eclipse seamlessly downloaded and installed the two remaining

Looks like all the sources have been imported and can be viewed in the
Package Explorer,

At first pointing to UIMA AS source there appears to be a problem with the
"Examples" so it wouldn't import but I'm able to import everything
including Examples pointing to regular UIMA source.

Still trying to figure out how to launch/run an Example in Eclipse. Found
that lauch<example> will launch an example, then found I had skipped a step
re-configuring the UIMA paths.

Hope to figure out that one... but at least got the sources into Eclipse.

Ultimate immediate goal is to try to figure out why the Examples won't run
on my system (see other thread).


On Fri, Nov 16, 2012 at 1:48 AM, Tony Su <tonysu@su-networking.com> wrote:

> Cool. Thx, will try your approaches.
> Tony
> On Nov 16, 2012 12:57 AM, "Yasen Kiprov" <yasenkiprov@yahoo.com> wrote:
>> Hi Tony,
>> I don't know about the addSourceToJARS.sh but here is what I did:
>> - Build your project with maven depending on the UIMA jars
>> - Download the source
>> - Start your project in debug and step into a class from the UIMA jars
>> - Eclipse says "Source not found" or something and has a button "Edit
>> Source Lookup Path"
>> - One option here is to add a java classpath variable which points to the
>> root of the UIMA sources, Eclipse should handle the directories correctly.
>> Another thing I tried was to build and add the UIMA source projects in
>> Eclipse with mvn eclipse:eclipse in the UIMA sources root and then let my
>> project depend on the Eclipse projects (I think mvn eclipse:eclipse does
>> this automatically if it finds the projects). This went a bit heavy for my
>> Eclipse though.
>> Hope this helps,
>> Yasen
>> ________________________________
>>  From: Tony Su <tonysu@su-networking.com>
>> To: "user@uima.apache.org" <user@uima.apache.org>
>> Sent: Friday, November 16, 2012 1:33 AM
>> Subject: How to enable source in Eclipse?
>> The official documentation says there should be an addSourcetoJARS.sh in
>> the root directory of the source package but is missing.
>> I also found a Forums thread in 2008 which speculated/suggested removing
>> this script-based approach in favor of using Maven only.
>> What should be the proper approach?
>> TIA,
>> Tony

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message