String compClassPath = InstallationController.buildComponentClassPath(insDesc
.getMainComponentRoot(), insDesc, false);
// 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);
// create CAS object
CAS cas = ae.newCAS();
Assert.assertTrue(cas != null);