Assert.assertTrue(done);
Assert.assertTrue(outPearFile.isFile());
// install the output PEAR file and check the results
InstallationController insController = new InstallationController(OUT_PEAR_ID, outPearFile,
_tempWorkingDir);
InstallationDescriptor insDesc = insController.installComponent();
Assert.assertTrue(insDesc != null);
Assert.assertTrue(OUT_PEAR_ID.equals(insDesc.getMainComponentId()));
// verify the installed component
// customize ResourceManager by adding component CLASSPATH
ResourceManager resMngr = UIMAFramework.newDefaultResourceManager();
String compClassPath = InstallationController.buildComponentClassPath(insDesc
.getMainComponentRoot(), insDesc);
// instantiate the aggregate AE
resMngr.setExtensionClassPath(compClassPath, true);
String compDescFilePath = insDesc.getMainComponentDesc();
XMLParser xmlPaser = UIMAFramework.getXMLParser();
XMLInputSource xmlInput = new XMLInputSource(compDescFilePath);
AnalysisEngineDescription aeSpec = xmlPaser.parseAnalysisEngineDescription(xmlInput);
AnalysisEngine ae = UIMAFramework.produceAnalysisEngine(aeSpec, resMngr, null);
Assert.assertTrue(ae != null);