You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Roberto Franchini <ro...@gmail.com> on 2007/11/06 16:51:56 UTC
Test FileSystemCollectionReader fails: fix this way
in the testGetNext()
after:
try {
CasManager casManager = fcr.getCasManager();
insert:
casManager.addMetaData((ProcessingResourceMetaData) fcr.getMetaData());
insetad of
casManager.releaseCas(cas);
write:
cas.release();
--
Roberto Franchini
CELI s.r.l. (http://www.celi.it) - C.so Moncalieri 21 - 10131 Torino - ITALY
Tel +39-011-6600814 - Fax +39-011-6600687
jabber:ro.franchini@gmail.com skype:ro.franchini
Re: Test FileSystemCollectionReader fails: fix this way
Posted by Roberto Franchini <ro...@gmail.com>.
On 11/8/07, Marshall Schor <ms...@schor.com> wrote:
> Hi Roberto -
>
> I'm a little confused about this note. Is it related to the earlier
> thread on this topic (see:
>
> http://www.mail-archive.com/uima-user@incubator.apache.org/msg00519.html
>
> It seems to say the same thing? Or am I confused? -Marshall
>
Sorry, It was too late when I built uima.... I put inside uima test
sources a test for the FSCR; two days ago I rebuilt uima and the test
didn't pass, so I thought the test was yours, not mine :)
--
Roberto Franchini
CELI s.r.l. (http://www.celi.it) - C.so Moncalieri 21 - 10131 Torino - ITALY
Tel +39-011-6600814 - Fax +39-011-6600687
jabber:ro.franchini@gmail.com skype:ro.franchini
Re: Test FileSystemCollectionReader fails: fix this way
Posted by Marshall Schor <ms...@schor.com>.
Hi Roberto -
I'm a little confused about this note. Is it related to the earlier
thread on this topic (see:
http://www.mail-archive.com/uima-user@incubator.apache.org/msg00519.html
It seems to say the same thing? Or am I confused? -Marshall
Roberto Franchini wrote:
> in the testGetNext()
> after:
> try {
>
> CasManager casManager = fcr.getCasManager();
>
> insert:
>
> casManager.addMetaData((ProcessingResourceMetaData) fcr.getMetaData());
>
>
> insetad of
> casManager.releaseCas(cas);
> write:
> cas.release();
>
>
>