You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Frank Schilder <fr...@thomson.com> on 2007/03/30 16:44:05 UTC

Problems with building from subversion

I double-checked whether I actually downloaded the binaries and it seems
like that I didn't. After downloading them, I now see the jar files (and
also the eclipse plugins which were also missing from my installation).

I did, however, follow all the steps for building with subversion in
eclipse. It  seems to me that that way of building UIMA is missing some
steps (e.g. Generating jar files and the eclipse plugin).

I'll try the binaries now...
Frank

BTW: Because I still have the UIMA 2.0.2 eclipse plugins, changing the
descriptor files for the openNLP wrappers resulted into 2.0.2 files with the
old header <analysisEngineDescription
xmlns="http://uima.watson.ibm.com/resourceSpecifier">

Does that mean it's not possible to have UIMA 2.0.2 and Apache UIMA in one
Eclipse installation?




> From: Frank Schilder <fr...@thomson.com>
> Reply-To: <ui...@incubator.apache.org>
> Date: Fri, 30 Mar 2007 09:04:19 -0500
> To: <ui...@incubator.apache.org>
> Conversation: migration utility
> Subject: Re: migration utility
> 
> I downloaded the binaries as well as the source, but I didn't follow through
> with the binary distribution. But I built everything from the source, as
> described in the link you mention.
> 
> Still I don't see any lib sub dir in the workspace where I installed
> everything:
> uimaj-cpe
> uimaj-distr
> uimaj-document-annotation
> uimaj-ep-configurator
> uimaj-ep-debug
> uimaj-ep-jcasgen
> uimaj-ep-pear-packager
> jVinci                          uimaj-ep-runtime
> uima-docbooks                   uimaj-examples
> uimaj                           uimaj-internal-tools
> uimaj-adapter-soap              uimaj-jet-expander
> uimaj-adapter-vinci             uimaj-test-util
> uimaj-component-test-util       uimaj-tools
> uimaj-core
>  
> The sub dir uimaj-core also doesn't contain a lib dir nor can I find a
> org.apache.uima.tools.migration.IbmUimaToApacheUima class in the source.
> (I found the class in uima-tools).
> 
> 
> I ran all the junit tests. (Only one failed (testFindRelativePath), because
> the relative path information assumed a c-drive and I installed on a Mac).
> I, however, have some error messages in the MANIFEST.mf file from
> uimaj-ep-runtime (packages not found in this plugin), but that doesn't seem
> to affect the rest of the UIMA system.
> 
> I also ran the openNLP wrapper. It seems like my UIMA installation is up and
> running. I just couldn't find the migration tool. That's why I ran the
> script from the binary distribution wondering where these jar files could
> be. According to my spotlight search, there is no uima-core.jar file on my
> computer even though I downloaded the binaries and built everything from
> source.
> 
> Could it be that something went wrong while building everything?
> 
> Thanks,
> Frank
> 
> 
>> From: Adam Lally <al...@alum.rpi.edu>
>> Reply-To: <ui...@incubator.apache.org>
>> Date: Fri, 30 Mar 2007 08:06:40 -0500
>> To: <ui...@incubator.apache.org>
>> Subject: Re: migration utility
>> 
>> Did you download the UIMA binary distribution?
>> 
(http://people.apache.org/dist/incubator/uima/2.1.0-incubating/uimaj-2.1.0-in>>
c
>> ubating-bin.zip)?
>> 
>> It sounds like you may be using the source distribution (or an svn
>> extract) in which case you would have to build it first.
>> (http://incubator.apache.org/uima/svn.html#building.with.maven).
>> 
>> And you need to set the UIMA_HOME to the top-level ("apache-uima")
>> directory of the 2.1 distribution, not 2.0.2.
>> 
>> -Adam
>> 
>> On 3/29/07, Frank.Schilder@thomson.com <Fr...@thomson.com> wrote:
>>> Hi Adam,
>>> 
>>> You're right about the missing lib dir. I removed those while testing.
>>> 
>>> But I'm a little bit confused about the jars, because I can't find them on
>>> my
>>> computer at all (I did a spotlight search with no results).
>>> 
>>> I'm also not sure whether I have the correct path information for UIMA_HOME.
>>> UIMA_HOME is currently set to the UIMA 2.0.2 directory. That seems to be
>>> wrong. Could you tell me which path it should be set to? /uimaj, perhaps?
>>> But
>>> I can't see a lib dir anywhere..
>>> Thasnk,
>>> Frank
>>> 
>>> -----Original Message-----
>>> From: lally.adam@gmail.com on behalf of Adam Lally
>>> Sent: Thu 3/29/2007 5:47 PM
>>> To: uima-user@incubator.apache.org
>>> Subject: Re: migration utility
>>> 
>>> On 3/29/07, Frank Schilder <fr...@thomson.com> wrote:
>>>> I wasn't able to run the script to migrate to apache UIMA.
>>>> I also couldn't find the jar file used by the script:
>>>> 
>>>> $UIMA_JAVA_CALL" -cp "$UIMA_HOME/uima-core.jar:$UIMA_HOME/uima-tools.jar"
>>>> org.apache.uima.tools.migration.IbmUimaToApacheUima %1 -ext
>>>> java,xml,xmi,wsdd,properties,launch,bat,cmd,sh,ksh,csh,
>>>> 
>>>> 
>>> 
>>> Hi Frank,
>>> 
>>> I'm a bit confused because I just doublechecked svn and the script says:
>>> "$UIMA_JAVA_CALL" -cp
>>> "$UIMA_HOME/lib/uima-core.jar:$UIMA_HOME/lib/uima-tools.jar"
>>> org.apache.uima.tools.migration.IbmUimaToApacheUima %1 -ext
>>> java,xml,xmi,wsdd,properties,launch,bat,cmd,sh,ksh,csh,
>>> 
>>> Which isn't the same as what you posted (yours is missing the "lib",
>>> which is necessary).
>>> 
>>> All that should be necessary for the script to find the files is for
>>> your UIMA_HOME
>>> environment variable to be set to your install location.  Is it?
>>> 
>>> The jar files (uima-core.jar and uima-tools.jar) are in the lib
>>> directory of the UIMA distribution.
>>> 
>>> -Adam
>>> 
>>> 
> 


Re: Problems with building from subversion

Posted by Thilo Goetz <tw...@gmx.de>.
Frank Schilder wrote:
> I double-checked whether I actually downloaded the binaries and it seems
> like that I didn't. After downloading them, I now see the jar files (and
> also the eclipse plugins which were also missing from my installation).
> 
> I did, however, follow all the steps for building with subversion in
> eclipse. It  seems to me that that way of building UIMA is missing some
> steps (e.g. Generating jar files and the eclipse plugin).

If you look on the "Building with Maven" page in the section "How to 
build the full Apache UIMA distribution", you'll see how to create the 
distribution and where the files end up.

HTH,
Thilo