uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Riebling <e...@cs.cmu.edu>
Subject Re: PEAR metadata/setenv.txt - do env. vars get set automatically?
Date Wed, 29 Oct 2008 16:29:30 GMT
Marshall Schor wrote:

- contents edited -

> The UCR repository code might do something with the environmental
> variable information from the PEAR prior to doing any install or running
> of the PEAR - Eric - can you say if it does?


The repository doesn't do anything with the PEAR environment variables
beyond this:
It does perform edits to setenv.txt to localize paths for setting the
CLASSPATH prior to calling UIMAFramework.produceAnalysisEngine().
(or produceCasConsumer(), produceCollectionReader() etc. as appropriate)

Using System.getProperty(name) instead of System.getenv(name): great idea!

-er

Mime
View raw message