Try ResourceManager::getInstance().getLocationData().getAsCString(); Bhavani
On Fri, Feb 3, 2012 at 10:08 AM, Sylvain Surcin <[email protected]> wrote: > Hello, > > How do we access the global -Duima.datapath from within a C++ annotator? > In Java we have the accessor UimaContext.getDataPath(). > But I don't see any equivalent method in class AnnotatorContext used in the > annotator's initialize method... > > BTW, I'm using the 2.4.0c release candidate for C++. > > Thanks for any help. > > -- > Sylvain SURCIN, Ph.D. > *KWAGA* > Senior Software Architect > 15, rue Jean-Baptiste Berlier > 75013 Paris > France > Tél.: +33 (0)6.32.78.83.31 >
