} catch ( Exception e ) {
throw new BuildException( "RuleBaseTask failed: " + e.getMessage(),
e );
} finally {
if ( loader != null ) {
loader.resetThreadContextLoader();
}
}
}
private void createWithKnowledgeBuilder(AntClassLoader loader) throws FileNotFoundException,