uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: What should default output dir for example CAS Consumers be?
Date Mon, 12 Feb 2007 19:37:35 GMT
Adam Lally wrote:
> On 2/12/07, Marshall Schor <msa@schor.com> wrote:
>> As for the larger picture - I think it would make sense to have output
>> from example code that the
>> user runs go into the "working directory" or the more global "temp" dir,
>> provided that some safeguards are there to prevent
>> overwriting some user files accidentally.  This could take the form of
>> writing to working-dir/temp/uima-qualified-name
>> under the assumption that things in temp in the working dir/temp are
>> probably ok to overwrite, especially if
>> the name starts with some uima prefix that is unlikely to be
>> purposefully in use.  (e.g., uima-example-xxxx).
> I went with changing c:/temp/uima/xxxx to temp-uima-output/xxxx, where
> xxxx identifies the CAS Consumer and is unchanged from previous
> versions.  I think that's good enough for now.  And I removed the line
> from adjustExamplePaths that replace C:/temp with temp.
> -Adam

+1 -Marshall

View raw message