uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject possible error in test case
Date Wed, 07 Nov 2007 19:56:11 GMT
Michael - can you take a look at the test case in uimaj-core:
org.apache.uima.pear.util.PearRuntimeTest.java.  It has this fragment:

    // import pear specifiers

    Import impPear1 = UIMAFramework.getResourceSpecifierFactory().createImport();

    File import1 = new File(instPear1.getComponentPearDescPath());

    impPear1.setLocation(import1.toURI().getPath());

    // import main pear descriptor

    Import impPear2 = UIMAFramework.getResourceSpecifierFactory().createImport();

    File import2 = new File(instPear1.getComponentPearDescPath());

    impPear2.setLocation(import2.toURI().getPath());

I think it is trying to import two different pears, for import 1 and
import2, but seems to be importing the same one for both?

-Marshall

Mime
View raw message