You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Marshall Schor <ms...@schor.com> on 2008/03/07 13:09:33 UTC
setting UIMA_HOME
Would it be a good idea to set UIMA_HOME (if not set) the way ACTIVE_MQ
does, by some code like this:
rem %~dp0 is expanded pathname of the current script under NT
set DEFAULT_UIMA_HOME=%~dp0..
if "%UIMA_HOME%"=="" set UIMA_HOME=%DEFAULT_ACTIVEMQ_HOME%
set DEFAULT_ACTIVEMQ_HOME=
Basically, if UIMA_HOME isn't set, set it to the directory above the one
where this script is being run from.
-Marshall
Re: setting UIMA_HOME
Posted by Thilo Goetz <tw...@gmx.de>.
Marshall Schor wrote:
> Would it be a good idea to set UIMA_HOME (if not set) the way ACTIVE_MQ
> does, by some code like this:
>
> rem %~dp0 is expanded pathname of the current script under NT
> set DEFAULT_UIMA_HOME=%~dp0..
>
> if "%UIMA_HOME%"=="" set UIMA_HOME=%DEFAULT_ACTIVEMQ_HOME%
> set DEFAULT_ACTIVEMQ_HOME=
>
> Basically, if UIMA_HOME isn't set, set it to the directory above the one
> where this script is being run from.
>
> -Marshall
I think that's an excellent idea, +1.
--Thilo
Re: setting UIMA_HOME
Posted by Adam Lally <al...@alum.rpi.edu>.
> On Fri, Mar 7, 2008 at 7:09 AM, Marshall Schor <ms...@schor.com> wrote:
> > Would it be a good idea to set UIMA_HOME (if not set) the way ACTIVE_MQ
> > does, by some code like this:
> >
> > rem %~dp0 is expanded pathname of the current script under NT
> > set DEFAULT_UIMA_HOME=%~dp0..
> >
> > if "%UIMA_HOME%"=="" set UIMA_HOME=%DEFAULT_ACTIVEMQ_HOME%
> > set DEFAULT_ACTIVEMQ_HOME=
> >
> > Basically, if UIMA_HOME isn't set, set it to the directory above the one
> > where this script is being run from.
> >
> > -Marshall
> >
>
On Fri, Mar 7, 2008 at 8:22 AM, Eddie Epstein <ea...@gmail.com> wrote:
> +1 under the condition that ACTIVEMQ_HOME is replaced by UIMA_HOME :)
>
> Eddie
>
+1.
-Adam
Re: setting UIMA_HOME
Posted by Eddie Epstein <ea...@gmail.com>.
+1 under the condition that ACTIVEMQ_HOME is replaced by UIMA_HOME :)
Eddie
On Fri, Mar 7, 2008 at 7:09 AM, Marshall Schor <ms...@schor.com> wrote:
> Would it be a good idea to set UIMA_HOME (if not set) the way ACTIVE_MQ
> does, by some code like this:
>
> rem %~dp0 is expanded pathname of the current script under NT
> set DEFAULT_UIMA_HOME=%~dp0..
>
> if "%UIMA_HOME%"=="" set UIMA_HOME=%DEFAULT_ACTIVEMQ_HOME%
> set DEFAULT_ACTIVEMQ_HOME=
>
> Basically, if UIMA_HOME isn't set, set it to the directory above the one
> where this script is being run from.
>
> -Marshall
>