You can also set it in the Datapath. This can be done by setting the java system property uima.datapath. It can also be done using the eclipse plugin. I'm not sure but I also think that a full path is required for both options rather than just a path to the directory. Something like:
java -Xms128m -Xmx1024m -Duima.datapath=c/mypath/WhiteSpaceTokenizer.xml org.apache.uima.tools.docanalyzer.DocumentAnalyzer might do the trick. You can clearly also set uima.datapath programmatically. -----Original Message----- From: Thilo Goetz [mailto:[email protected]] Sent: Thursday, January 29, 2009 9:47 AM To: [email protected] Subject: Re: An import could not be resolved You need to add the directory where the descriptor file WhitespaceTokenizer.xml lives to the classpath. --Thilo Anuj Kumar Gupta wrote: > Hi- > > How can I paas an .xml file in Path I am getting below error > > An import could not be resolved. No .xml file with name > "WhitespaceTokenizer" was found in the class path or data path. > > Any Pointers fro this...?? > > > -Anuj >
