uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject Re: Referring to file resources
Date Thu, 03 Mar 2011 10:01:19 GMT
On 3/2/11 11:36 PM, Marshall Schor wrote:
>
> On 3/2/2011 10:05 AM, Jörn Kottmann wrote:
>> On 3/2/11 3:25 PM, Adam Lally wrote:
>>> file:com/apache.d.txt  is a relative path; relative paths for resources are
>>> resolved using the
>>> classpath and/or the datapath. For the file protocol, URLs starting with
>>> file:/  orfile:///  are absolute.
>> What is the default data path directory when deploying an UIMA AS Service
>> with the deploy script ?
> I think the default is that no datapath is set.  You can the default by setting
> the environment variable UIMA_DATAPATH (see
> http://uima.apache.org/d/uimaj-2.3.1/tutorials_and_users_guides.html#ugr.tug.aae.using_shell_scripts
> )
>
> If you try this, please let the list know if it works :-)

Settings the UIMA_DATAPATH variable worked for me. I also tested adding 
my folder to the
classpath via the UIMA_CLASSPATH variable that worked also.

Jörn

Mime
View raw message