null,
context,
"drools",
KnowledgeHelper.class);
MVELPredicateExpression expr = new MVELPredicateExpression( unit,
context.getDialect().getId() );
predicate.setPredicateExpression( expr );
MVELDialectRuntimeData data = (MVELDialectRuntimeData) context.getPkg().getDialectRuntimeRegistry().getDialectData( "mvel" );
data.addCompileable( predicate,
expr );
expr.compile( data );
} catch ( final Exception e ) {
copyErrorLocation(e, predicateDescr);
context.getErrors().add( new DescrBuildError( context.getParentDescr(),
predicateDescr,
e,