On 2/12/07, Marshall Schor <[EMAIL PROTECTED]> 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
