You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Jay Jarman <ja...@va.gov> on 2009/06/16 22:33:22 UTC

UIMA/Eclipse setup issues

I'm running Eclipse 3.4.2 and UIMA 2.2.2.  I have gone through the UIMA
documentation of configuring Eclipse to use UIMA, setting UIMA_HOME and such. 
I'm going through the tutorial on creating an annotator and am getting numerous
errors.  I haven't written any code yet.  Everything has been importing objects
from the tutorial.  All of the errors seem to be that Eclipse can't see the UIMA
classes.  For instance, my first error is the first import statement:

   import org.apache.uima.jcas.JCas;

The error is that statement can't be resolved.  All of the errors are similar. 
It can't find the Annotator class and so on.  

I've gone back over the directions twice so I'm fairly confident it isn't that I
missed a step.  The diagrams in the book are a little different because they
used an older version of Eclipse to create the tutorial.  I'm an experienced
Java programmer but not using Eclipse.

Does anyone have any suggestions?  TIA.


Re: UIMA/Eclipse setup issues (My Solution)

Posted by Burn Lewis <bu...@gmail.com>.
It'd be nice if UIMA shipped a sample User Library to make it easy for
newcomers to create new Eclipse projects.  UIMA-AS requires more that two
dozen jars!  In the past I've copied the .classpath file from the
uimaj-examples project but that's painful.  I believe the paths have to be
fully specified (with no back slashes on Windows) but we could set it up so
that the adjustExamplePaths script puts in the appropriate UIMA_HOME value
so the file can be imported.  I've tested this for UIMA-AS ... core UIMA
should be easier.

- Burn

UIMA components Maven Repository

Posted by Chris Roeder <ch...@ucdenver.edu>.
I'm working on distributing our integration of various components
into UIMA. I was wondering if Maven had been discussed in the group
as a way of distributing generic NLP components, not just core UIMA
jars or more mainstream Java jars.

-Chris

Re: UIMA/Eclipse setup issues (My Solution)

Posted by Chris Roeder <ch...@ucdenver.edu>.
The eclipse User Library as described by Tong, is needed because  jars 
need to be
listed explicitly in the classpath. So if you have a directory with many
jars, it can be quite a chore to set up the classpath. The User Library
makes that easier.

Tong Fin wrote:
> On Wed, Jun 17, 2009 at 11:54 AM, Jarman, Jay <Ja...@va.gov> wrote:
>
>   
>> That's exactly what I was looking for.  So if I create my own
>> environment variable (UIMA_LIB) pointing to a folder with all the UIMA
>> jars,
>>     
>
>
> In Eclipse's parlant, UIMA_LIB is NOT an environment variable, it is called
> User Library.
> To create a new one, here is the steps:
>  - Window > Preferences to bring up the dialog
>  - Expand "Java" and "Bild Path", select "User Libraries"
>  - Click "New..." to create a new User Library
>  - etc.
>
> -- Tong
>   


Re: UIMA/Eclipse setup issues (My Solution)

Posted by Tong Fin <to...@gmail.com>.
On Wed, Jun 17, 2009 at 11:54 AM, Jarman, Jay <Ja...@va.gov> wrote:

> That's exactly what I was looking for.  So if I create my own
> environment variable (UIMA_LIB) pointing to a folder with all the UIMA
> jars,


In Eclipse's parlant, UIMA_LIB is NOT an environment variable, it is called
User Library.
To create a new one, here is the steps:
 - Window > Preferences to bring up the dialog
 - Expand "Java" and "Bild Path", select "User Libraries"
 - Click "New..." to create a new User Library
 - etc.

-- Tong

RE: UIMA/Eclipse setup issues (My Solution)

Posted by "Jarman, Jay" <Ja...@va.gov>.
That's exactly what I was looking for.  So if I create my own
environment variable (UIMA_LIB) pointing to a folder with all the UIMA
jars, I need only point the package to that variable and it gets all the
jars without me assigning each one separately.  Is that correct?

-----Original Message-----
From: Tong Fin [mailto:tong.fin2@gmail.com] 
Sent: Wednesday, June 17, 2009 11:50 AM
To: uima-user@incubator.apache.org
Subject: Re: UIMA/Eclipse setup issues (My Solution)

Hi,
I would like to comment about "how to use UIMA jars in Eclipse" (NOT
about
Maven).

The way Jay did by adding UIMA jars one by one in the Library Tab is
"one
way" to solve the missing classes/jars problem. But, it is only applied
for
the project that has the problem. You will "repeat" the same steps again
and
again to solve the same problem for other projects.

The "better way" is to create a  "User Library" (as mentioned by
Tomasso),
called for example UIMA_LIB (I prefer to use "different" name than
UIMA_HOME). When you need UIMA jars in any project, you add UIMA_LIB as
a
library (so you save the steps to pick UIMA jars one by one).

If you expect to use UIMA jars in an Eclipse "plug-in" project, you will
need to add UIMA's runtime plug-in as a dependency to your plug-in
project.

-- Tong

Re: UIMA/Eclipse setup issues (My Solution)

Posted by Tong Fin <to...@gmail.com>.
Hi,
I would like to comment about "how to use UIMA jars in Eclipse" (NOT about
Maven).

The way Jay did by adding UIMA jars one by one in the Library Tab is "one
way" to solve the missing classes/jars problem. But, it is only applied for
the project that has the problem. You will "repeat" the same steps again and
again to solve the same problem for other projects.

The "better way" is to create a  "User Library" (as mentioned by Tomasso),
called for example UIMA_LIB (I prefer to use "different" name than
UIMA_HOME). When you need UIMA jars in any project, you add UIMA_LIB as a
library (so you save the steps to pick UIMA jars one by one).

If you expect to use UIMA jars in an Eclipse "plug-in" project, you will
need to add UIMA's runtime plug-in as a dependency to your plug-in project.

-- Tong

Re: UIMA/Eclipse setup issues (My Solution)

Posted by Tommaso Teofili <to...@gmail.com>.
my advice was not to use Maven, I was only asking if Jay was using it...I
agree with Aaron's point of view with Maven, it depends if you're using UIMA
or building it from source...
If it is the first case, I followed the standard Getting started
http://incubator.apache.org/uima/doc-uima-annotator.html to figure out an
Eclipse running environment.
Regards,
Tommaso

2009/6/17 Aaron Kaplan <li...@aaronkaplan.info>

> I disagree with Tommaso's advice.  You would need maven if you wanted to
> build UIMA from source, but not if you just want to use the pre-built UIMA
> jars.  If you're not comfortable with eclipse yet, trying to figure out
> maven at the same time is going to make things even more confusing.
>
> -Aaron
>
>
> Jarman, Jay wrote:
>
>> OK, so I'm getting and installing Maven.  You said UIMA uses Maven.  Is
>> this behind the scenes or do I need to do something special.  I don't
>> see Maven in the UIMA Tutorial and Developer's Guide.  Can you point me
>> to the UIMA documentation that discusses Maven?
>>
>> -----Original Message-----
>> From: Tommaso Teofili [mailto:tommaso.teofili@gmail.com] Sent: Wednesday,
>> June 17, 2009 10:48 AM
>> To: uima-user@incubator.apache.org
>> Subject: Re: UIMA/Eclipse setup issues (My Solution)
>>
>> This is Maven: http://maven.apache.org/index.html
>> UIMA project use Maven by default, you can also import dependencies
>> downloading needed libraries by yourself but this is not recommended
>> Regards,Tommaso
>>
>>
>> 2009/6/17 Jarman, Jay <Ja...@va.gov>
>>
>>  Not to sound stupid but what is Maven?
>>>
>>>
>>> -----Original Message-----
>>> From: Tommaso Teofili [mailto:tommaso.teofili@gmail.com]
>>> Sent: Wednesday, June 17, 2009 10:38 AM
>>> To: uima-user@incubator.apache.org
>>> Subject: Re: UIMA/Eclipse setup issues (My Solution)
>>>
>>> Hi Jay, I think this is not the standard way to import libraries in a
>>> UIMA
>>> project,maybe I'm repeating something you already did before: when you
>>> set
>>> into the libraries the UIMA_HOME variable, you have to go into
>>>
>> 'extend'
>>
>>> button to select lib/*.jar files into UIMA_HOME.I guess you are not
>>> using
>>> Maven, isn't it?
>>> Best regards,
>>> Tommaso
>>>
>>> 2009/6/17 Jay Jarman <ja...@va.gov>
>>>
>>>  Jarman, Jay <Ja...@...> writes:
>>>>
>>>>  I'm running Windows XP Pro w/SP3; JDK 1.5.0_18; Eclipse 3.4.2;
>>>>>
>>>> UIMA
>>
>>> 2.2.2.  I don't know what else you might need to know.  Thanks for
>>>>>
>>>> your
>>>
>>>> help.
>>>>>
>>>>> Jay
>>>>>
>>>>> -----Original Message-----
>>>>> From: Tong Fin [mailto:tong.fin2@...]
>>>>> Sent: Tuesday, June 16, 2009 8:08 PM
>>>>> To: uima-user@...
>>>>> Subject: Re: UIMA/Eclipse setup issues
>>>>>
>>>>> Hi Jay,
>>>>> I would like to help.
>>>>> Could you please give us more info about your OS, JDK version,
>>>>>
>>>> etc.
>>
>>> ?
>>>
>>>>
>>>> If anyone is interested this seems to have taken care of my problem.
>>>>
>>> I
>>>
>>>> figured
>>>> Eclipse couldn't see the UIMA jar because all of the errors were
>>>>
>>> UIMA
>>
>>> classes
>>>> that couldn't be resolved.  I looked at the Build Path and it has a
>>>> Libraries
>>>> tab.  It had the JRE and UIMA_HOME.  I thought that should do it but
>>>>
>>> for
>>>
>>>> some
>>>> reason, UIMA_HOME didn't have the UIMA jar yet the JRE had the java
>>>>
>>> jars.
>>>
>>>>  So I
>>>> manually added the UIMA jar and all of the errors disappeared.
>>>>
>>>> I'm not an Eclipse guy and I know this isn't an Eclipse forum but
>>>>
>>> does
>>
>>> anyone
>>>> know if this is standard behavior?  Is this the way I'm supposed to
>>>>
>>> add the
>>>
>>>> UIMA
>>>> jar or is there a more accepted way.  Thanks.
>>>>
>>>> Jay
>>>>
>>>>
>>>>
>

RE: UIMA/Eclipse setup issues (My Solution)

Posted by "Jarman, Jay" <Ja...@va.gov>.
That makes me feel better.  

I went back through the directions and did find where I missed a step,
duh, but it was exactly what I was doing.  Adding the UIMA jar to the
package.  

I guess that by giving it UIMA_HOME isn't enough, you have to give it
the specific jars as well.  

Thanks for everyone's help.


-----Original Message-----
From: Aaron Kaplan [mailto:lists2546@aaronkaplan.info] 
Sent: Wednesday, June 17, 2009 11:25 AM
To: uima-user@incubator.apache.org
Subject: Re: UIMA/Eclipse setup issues (My Solution)

I disagree with Tommaso's advice.  You would need maven if you wanted to

build UIMA from source, but not if you just want to use the pre-built 
UIMA jars.  If you're not comfortable with eclipse yet, trying to figure

out maven at the same time is going to make things even more confusing.

-Aaron

Jarman, Jay wrote:
> OK, so I'm getting and installing Maven.  You said UIMA uses Maven.
Is
> this behind the scenes or do I need to do something special.  I don't
> see Maven in the UIMA Tutorial and Developer's Guide.  Can you point
me
> to the UIMA documentation that discusses Maven?
> 
> -----Original Message-----
> From: Tommaso Teofili [mailto:tommaso.teofili@gmail.com] 
> Sent: Wednesday, June 17, 2009 10:48 AM
> To: uima-user@incubator.apache.org
> Subject: Re: UIMA/Eclipse setup issues (My Solution)
> 
> This is Maven: http://maven.apache.org/index.html
> UIMA project use Maven by default, you can also import dependencies
> downloading needed libraries by yourself but this is not recommended
> Regards,Tommaso
> 
> 
> 2009/6/17 Jarman, Jay <Ja...@va.gov>
> 
>> Not to sound stupid but what is Maven?
>>
>>
>> -----Original Message-----
>> From: Tommaso Teofili [mailto:tommaso.teofili@gmail.com]
>> Sent: Wednesday, June 17, 2009 10:38 AM
>> To: uima-user@incubator.apache.org
>> Subject: Re: UIMA/Eclipse setup issues (My Solution)
>>
>> Hi Jay, I think this is not the standard way to import libraries in a
>> UIMA
>> project,maybe I'm repeating something you already did before: when
you
>> set
>> into the libraries the UIMA_HOME variable, you have to go into
> 'extend'
>> button to select lib/*.jar files into UIMA_HOME.I guess you are not
>> using
>> Maven, isn't it?
>> Best regards,
>> Tommaso
>>
>> 2009/6/17 Jay Jarman <ja...@va.gov>
>>
>>> Jarman, Jay <Ja...@...> writes:
>>>
>>>> I'm running Windows XP Pro w/SP3; JDK 1.5.0_18; Eclipse 3.4.2;
> UIMA
>>>> 2.2.2.  I don't know what else you might need to know.  Thanks for
>> your
>>>> help.
>>>>
>>>> Jay
>>>>
>>>> -----Original Message-----
>>>> From: Tong Fin [mailto:tong.fin2@...]
>>>> Sent: Tuesday, June 16, 2009 8:08 PM
>>>> To: uima-user@...
>>>> Subject: Re: UIMA/Eclipse setup issues
>>>>
>>>> Hi Jay,
>>>> I would like to help.
>>>> Could you please give us more info about your OS, JDK version,
> etc.
>> ?
>>>
>>> If anyone is interested this seems to have taken care of my problem.
>> I
>>> figured
>>> Eclipse couldn't see the UIMA jar because all of the errors were
> UIMA
>>> classes
>>> that couldn't be resolved.  I looked at the Build Path and it has a
>>> Libraries
>>> tab.  It had the JRE and UIMA_HOME.  I thought that should do it but
>> for
>>> some
>>> reason, UIMA_HOME didn't have the UIMA jar yet the JRE had the java
>> jars.
>>>  So I
>>> manually added the UIMA jar and all of the errors disappeared.
>>>
>>> I'm not an Eclipse guy and I know this isn't an Eclipse forum but
> does
>>> anyone
>>> know if this is standard behavior?  Is this the way I'm supposed to
>> add the
>>> UIMA
>>> jar or is there a more accepted way.  Thanks.
>>>
>>> Jay
>>>
>>>


Re: UIMA/Eclipse setup issues (My Solution)

Posted by Aaron Kaplan <li...@aaronkaplan.info>.
I disagree with Tommaso's advice.  You would need maven if you wanted to 
build UIMA from source, but not if you just want to use the pre-built 
UIMA jars.  If you're not comfortable with eclipse yet, trying to figure 
out maven at the same time is going to make things even more confusing.

-Aaron

Jarman, Jay wrote:
> OK, so I'm getting and installing Maven.  You said UIMA uses Maven.  Is
> this behind the scenes or do I need to do something special.  I don't
> see Maven in the UIMA Tutorial and Developer's Guide.  Can you point me
> to the UIMA documentation that discusses Maven?
> 
> -----Original Message-----
> From: Tommaso Teofili [mailto:tommaso.teofili@gmail.com] 
> Sent: Wednesday, June 17, 2009 10:48 AM
> To: uima-user@incubator.apache.org
> Subject: Re: UIMA/Eclipse setup issues (My Solution)
> 
> This is Maven: http://maven.apache.org/index.html
> UIMA project use Maven by default, you can also import dependencies
> downloading needed libraries by yourself but this is not recommended
> Regards,Tommaso
> 
> 
> 2009/6/17 Jarman, Jay <Ja...@va.gov>
> 
>> Not to sound stupid but what is Maven?
>>
>>
>> -----Original Message-----
>> From: Tommaso Teofili [mailto:tommaso.teofili@gmail.com]
>> Sent: Wednesday, June 17, 2009 10:38 AM
>> To: uima-user@incubator.apache.org
>> Subject: Re: UIMA/Eclipse setup issues (My Solution)
>>
>> Hi Jay, I think this is not the standard way to import libraries in a
>> UIMA
>> project,maybe I'm repeating something you already did before: when you
>> set
>> into the libraries the UIMA_HOME variable, you have to go into
> 'extend'
>> button to select lib/*.jar files into UIMA_HOME.I guess you are not
>> using
>> Maven, isn't it?
>> Best regards,
>> Tommaso
>>
>> 2009/6/17 Jay Jarman <ja...@va.gov>
>>
>>> Jarman, Jay <Ja...@...> writes:
>>>
>>>> I'm running Windows XP Pro w/SP3; JDK 1.5.0_18; Eclipse 3.4.2;
> UIMA
>>>> 2.2.2.  I don't know what else you might need to know.  Thanks for
>> your
>>>> help.
>>>>
>>>> Jay
>>>>
>>>> -----Original Message-----
>>>> From: Tong Fin [mailto:tong.fin2@...]
>>>> Sent: Tuesday, June 16, 2009 8:08 PM
>>>> To: uima-user@...
>>>> Subject: Re: UIMA/Eclipse setup issues
>>>>
>>>> Hi Jay,
>>>> I would like to help.
>>>> Could you please give us more info about your OS, JDK version,
> etc.
>> ?
>>>
>>> If anyone is interested this seems to have taken care of my problem.
>> I
>>> figured
>>> Eclipse couldn't see the UIMA jar because all of the errors were
> UIMA
>>> classes
>>> that couldn't be resolved.  I looked at the Build Path and it has a
>>> Libraries
>>> tab.  It had the JRE and UIMA_HOME.  I thought that should do it but
>> for
>>> some
>>> reason, UIMA_HOME didn't have the UIMA jar yet the JRE had the java
>> jars.
>>>  So I
>>> manually added the UIMA jar and all of the errors disappeared.
>>>
>>> I'm not an Eclipse guy and I know this isn't an Eclipse forum but
> does
>>> anyone
>>> know if this is standard behavior?  Is this the way I'm supposed to
>> add the
>>> UIMA
>>> jar or is there a more accepted way.  Thanks.
>>>
>>> Jay
>>>
>>>


RE: UIMA/Eclipse setup issues (My Solution)

Posted by "Jarman, Jay" <Ja...@va.gov>.
OK, so I'm getting and installing Maven.  You said UIMA uses Maven.  Is
this behind the scenes or do I need to do something special.  I don't
see Maven in the UIMA Tutorial and Developer's Guide.  Can you point me
to the UIMA documentation that discusses Maven?

-----Original Message-----
From: Tommaso Teofili [mailto:tommaso.teofili@gmail.com] 
Sent: Wednesday, June 17, 2009 10:48 AM
To: uima-user@incubator.apache.org
Subject: Re: UIMA/Eclipse setup issues (My Solution)

This is Maven: http://maven.apache.org/index.html
UIMA project use Maven by default, you can also import dependencies
downloading needed libraries by yourself but this is not recommended
Regards,Tommaso


2009/6/17 Jarman, Jay <Ja...@va.gov>

> Not to sound stupid but what is Maven?
>
>
> -----Original Message-----
> From: Tommaso Teofili [mailto:tommaso.teofili@gmail.com]
> Sent: Wednesday, June 17, 2009 10:38 AM
> To: uima-user@incubator.apache.org
> Subject: Re: UIMA/Eclipse setup issues (My Solution)
>
> Hi Jay, I think this is not the standard way to import libraries in a
> UIMA
> project,maybe I'm repeating something you already did before: when you
> set
> into the libraries the UIMA_HOME variable, you have to go into
'extend'
> button to select lib/*.jar files into UIMA_HOME.I guess you are not
> using
> Maven, isn't it?
> Best regards,
> Tommaso
>
> 2009/6/17 Jay Jarman <ja...@va.gov>
>
> > Jarman, Jay <Ja...@...> writes:
> >
> > >
> > > I'm running Windows XP Pro w/SP3; JDK 1.5.0_18; Eclipse 3.4.2;
UIMA
> > > 2.2.2.  I don't know what else you might need to know.  Thanks for
> your
> > > help.
> > >
> > > Jay
> > >
> > > -----Original Message-----
> > > From: Tong Fin [mailto:tong.fin2@...]
> > > Sent: Tuesday, June 16, 2009 8:08 PM
> > > To: uima-user@...
> > > Subject: Re: UIMA/Eclipse setup issues
> > >
> > > Hi Jay,
> > > I would like to help.
> > > Could you please give us more info about your OS, JDK version,
etc.
> ?
> > >
> >
> >
> > If anyone is interested this seems to have taken care of my problem.
> I
> > figured
> > Eclipse couldn't see the UIMA jar because all of the errors were
UIMA
> > classes
> > that couldn't be resolved.  I looked at the Build Path and it has a
> > Libraries
> > tab.  It had the JRE and UIMA_HOME.  I thought that should do it but
> for
> > some
> > reason, UIMA_HOME didn't have the UIMA jar yet the JRE had the java
> jars.
> >  So I
> > manually added the UIMA jar and all of the errors disappeared.
> >
> > I'm not an Eclipse guy and I know this isn't an Eclipse forum but
does
> > anyone
> > know if this is standard behavior?  Is this the way I'm supposed to
> add the
> > UIMA
> > jar or is there a more accepted way.  Thanks.
> >
> > Jay
> >
> >
>

Re: UIMA/Eclipse setup issues (My Solution)

Posted by Tommaso Teofili <to...@gmail.com>.
This is Maven: http://maven.apache.org/index.html
UIMA project use Maven by default, you can also import dependencies
downloading needed libraries by yourself but this is not recommended
Regards,Tommaso


2009/6/17 Jarman, Jay <Ja...@va.gov>

> Not to sound stupid but what is Maven?
>
>
> -----Original Message-----
> From: Tommaso Teofili [mailto:tommaso.teofili@gmail.com]
> Sent: Wednesday, June 17, 2009 10:38 AM
> To: uima-user@incubator.apache.org
> Subject: Re: UIMA/Eclipse setup issues (My Solution)
>
> Hi Jay, I think this is not the standard way to import libraries in a
> UIMA
> project,maybe I'm repeating something you already did before: when you
> set
> into the libraries the UIMA_HOME variable, you have to go into 'extend'
> button to select lib/*.jar files into UIMA_HOME.I guess you are not
> using
> Maven, isn't it?
> Best regards,
> Tommaso
>
> 2009/6/17 Jay Jarman <ja...@va.gov>
>
> > Jarman, Jay <Ja...@...> writes:
> >
> > >
> > > I'm running Windows XP Pro w/SP3; JDK 1.5.0_18; Eclipse 3.4.2; UIMA
> > > 2.2.2.  I don't know what else you might need to know.  Thanks for
> your
> > > help.
> > >
> > > Jay
> > >
> > > -----Original Message-----
> > > From: Tong Fin [mailto:tong.fin2@...]
> > > Sent: Tuesday, June 16, 2009 8:08 PM
> > > To: uima-user@...
> > > Subject: Re: UIMA/Eclipse setup issues
> > >
> > > Hi Jay,
> > > I would like to help.
> > > Could you please give us more info about your OS, JDK version, etc.
> ?
> > >
> >
> >
> > If anyone is interested this seems to have taken care of my problem.
> I
> > figured
> > Eclipse couldn't see the UIMA jar because all of the errors were UIMA
> > classes
> > that couldn't be resolved.  I looked at the Build Path and it has a
> > Libraries
> > tab.  It had the JRE and UIMA_HOME.  I thought that should do it but
> for
> > some
> > reason, UIMA_HOME didn't have the UIMA jar yet the JRE had the java
> jars.
> >  So I
> > manually added the UIMA jar and all of the errors disappeared.
> >
> > I'm not an Eclipse guy and I know this isn't an Eclipse forum but does
> > anyone
> > know if this is standard behavior?  Is this the way I'm supposed to
> add the
> > UIMA
> > jar or is there a more accepted way.  Thanks.
> >
> > Jay
> >
> >
>

RE: UIMA/Eclipse setup issues (My Solution)

Posted by "Jarman, Jay" <Ja...@va.gov>.
Not to sound stupid but what is Maven?  


-----Original Message-----
From: Tommaso Teofili [mailto:tommaso.teofili@gmail.com] 
Sent: Wednesday, June 17, 2009 10:38 AM
To: uima-user@incubator.apache.org
Subject: Re: UIMA/Eclipse setup issues (My Solution)

Hi Jay, I think this is not the standard way to import libraries in a
UIMA
project,maybe I'm repeating something you already did before: when you
set
into the libraries the UIMA_HOME variable, you have to go into 'extend'
button to select lib/*.jar files into UIMA_HOME.I guess you are not
using
Maven, isn't it?
Best regards,
Tommaso

2009/6/17 Jay Jarman <ja...@va.gov>

> Jarman, Jay <Ja...@...> writes:
>
> >
> > I'm running Windows XP Pro w/SP3; JDK 1.5.0_18; Eclipse 3.4.2; UIMA
> > 2.2.2.  I don't know what else you might need to know.  Thanks for
your
> > help.
> >
> > Jay
> >
> > -----Original Message-----
> > From: Tong Fin [mailto:tong.fin2@...]
> > Sent: Tuesday, June 16, 2009 8:08 PM
> > To: uima-user@...
> > Subject: Re: UIMA/Eclipse setup issues
> >
> > Hi Jay,
> > I would like to help.
> > Could you please give us more info about your OS, JDK version, etc.
?
> >
>
>
> If anyone is interested this seems to have taken care of my problem.
I
> figured
> Eclipse couldn't see the UIMA jar because all of the errors were UIMA
> classes
> that couldn't be resolved.  I looked at the Build Path and it has a
> Libraries
> tab.  It had the JRE and UIMA_HOME.  I thought that should do it but
for
> some
> reason, UIMA_HOME didn't have the UIMA jar yet the JRE had the java
jars.
>  So I
> manually added the UIMA jar and all of the errors disappeared.
>
> I'm not an Eclipse guy and I know this isn't an Eclipse forum but does
> anyone
> know if this is standard behavior?  Is this the way I'm supposed to
add the
> UIMA
> jar or is there a more accepted way.  Thanks.
>
> Jay
>
>

Re: UIMA/Eclipse setup issues (My Solution)

Posted by Tommaso Teofili <to...@gmail.com>.
Hi Jay, I think this is not the standard way to import libraries in a UIMA
project,maybe I'm repeating something you already did before: when you set
into the libraries the UIMA_HOME variable, you have to go into 'extend'
button to select lib/*.jar files into UIMA_HOME.I guess you are not using
Maven, isn't it?
Best regards,
Tommaso

2009/6/17 Jay Jarman <ja...@va.gov>

> Jarman, Jay <Ja...@...> writes:
>
> >
> > I'm running Windows XP Pro w/SP3; JDK 1.5.0_18; Eclipse 3.4.2; UIMA
> > 2.2.2.  I don't know what else you might need to know.  Thanks for your
> > help.
> >
> > Jay
> >
> > -----Original Message-----
> > From: Tong Fin [mailto:tong.fin2@...]
> > Sent: Tuesday, June 16, 2009 8:08 PM
> > To: uima-user@...
> > Subject: Re: UIMA/Eclipse setup issues
> >
> > Hi Jay,
> > I would like to help.
> > Could you please give us more info about your OS, JDK version, etc. ?
> >
>
>
> If anyone is interested this seems to have taken care of my problem.  I
> figured
> Eclipse couldn't see the UIMA jar because all of the errors were UIMA
> classes
> that couldn't be resolved.  I looked at the Build Path and it has a
> Libraries
> tab.  It had the JRE and UIMA_HOME.  I thought that should do it but for
> some
> reason, UIMA_HOME didn't have the UIMA jar yet the JRE had the java jars.
>  So I
> manually added the UIMA jar and all of the errors disappeared.
>
> I'm not an Eclipse guy and I know this isn't an Eclipse forum but does
> anyone
> know if this is standard behavior?  Is this the way I'm supposed to add the
> UIMA
> jar or is there a more accepted way.  Thanks.
>
> Jay
>
>

Re: UIMA/Eclipse setup issues (My Solution)

Posted by Jay Jarman <ja...@va.gov>.
Jarman, Jay <Ja...@...> writes:

> 
> I'm running Windows XP Pro w/SP3; JDK 1.5.0_18; Eclipse 3.4.2; UIMA
> 2.2.2.  I don't know what else you might need to know.  Thanks for your
> help.
> 
> Jay
> 
> -----Original Message-----
> From: Tong Fin [mailto:tong.fin2@...] 
> Sent: Tuesday, June 16, 2009 8:08 PM
> To: uima-user@...
> Subject: Re: UIMA/Eclipse setup issues
> 
> Hi Jay,
> I would like to help.
> Could you please give us more info about your OS, JDK version, etc. ?
> 


If anyone is interested this seems to have taken care of my problem.  I figured
Eclipse couldn't see the UIMA jar because all of the errors were UIMA classes
that couldn't be resolved.  I looked at the Build Path and it has a Libraries
tab.  It had the JRE and UIMA_HOME.  I thought that should do it but for some
reason, UIMA_HOME didn't have the UIMA jar yet the JRE had the java jars.  So I
manually added the UIMA jar and all of the errors disappeared. 

I'm not an Eclipse guy and I know this isn't an Eclipse forum but does anyone
know if this is standard behavior?  Is this the way I'm supposed to add the UIMA
jar or is there a more accepted way.  Thanks.

Jay


RE: UIMA/Eclipse setup issues

Posted by "Jarman, Jay" <Ja...@va.gov>.
I'm running Windows XP Pro w/SP3; JDK 1.5.0_18; Eclipse 3.4.2; UIMA
2.2.2.  I don't know what else you might need to know.  Thanks for your
help.

Jay


-----Original Message-----
From: Tong Fin [mailto:tong.fin2@gmail.com] 
Sent: Tuesday, June 16, 2009 8:08 PM
To: uima-user@incubator.apache.org
Subject: Re: UIMA/Eclipse setup issues

Hi Jay,
I would like to help.
Could you please give us more info about your OS, JDK version, etc. ?

-- Tong

On Tue, Jun 16, 2009 at 4:33 PM, Jay Jarman <ja...@va.gov> wrote:

> I'm running Eclipse 3.4.2 and UIMA 2.2.2.  I have gone through the
UIMA
> documentation of configuring Eclipse to use UIMA, setting UIMA_HOME
and
> such.
> I'm going through the tutorial on creating an annotator and am getting
> numerous
> errors.  I haven't written any code yet.  Everything has been
importing
> objects
> from the tutorial.  All of the errors seem to be that Eclipse can't
see the
> UIMA
> classes.  For instance, my first error is the first import statement:
>
>   import org.apache.uima.jcas.JCas;
>
> The error is that statement can't be resolved.  All of the errors are
> similar.
> It can't find the Annotator class and so on.
>
> I've gone back over the directions twice so I'm fairly confident it
isn't
> that I
> missed a step.  The diagrams in the book are a little different
because
> they
> used an older version of Eclipse to create the tutorial.  I'm an
> experienced
> Java programmer but not using Eclipse.
>
> Does anyone have any suggestions?  TIA.
>
>

Re: UIMA/Eclipse setup issues

Posted by Tong Fin <to...@gmail.com>.
Hi Jay,
I would like to help.
Could you please give us more info about your OS, JDK version, etc. ?

-- Tong

On Tue, Jun 16, 2009 at 4:33 PM, Jay Jarman <ja...@va.gov> wrote:

> I'm running Eclipse 3.4.2 and UIMA 2.2.2.  I have gone through the UIMA
> documentation of configuring Eclipse to use UIMA, setting UIMA_HOME and
> such.
> I'm going through the tutorial on creating an annotator and am getting
> numerous
> errors.  I haven't written any code yet.  Everything has been importing
> objects
> from the tutorial.  All of the errors seem to be that Eclipse can't see the
> UIMA
> classes.  For instance, my first error is the first import statement:
>
>   import org.apache.uima.jcas.JCas;
>
> The error is that statement can't be resolved.  All of the errors are
> similar.
> It can't find the Annotator class and so on.
>
> I've gone back over the directions twice so I'm fairly confident it isn't
> that I
> missed a step.  The diagrams in the book are a little different because
> they
> used an older version of Eclipse to create the tutorial.  I'm an
> experienced
> Java programmer but not using Eclipse.
>
> Does anyone have any suggestions?  TIA.
>
>