// Setup the pojo context
XmlElement contextElement = source.getFirstChildNamed( "context" );
String contextClassName = contextElement.getAttribute( "class" );
String configFileName = contextElement.getAttribute( "config" );
XProjectClassLoader classLoader = (XProjectClassLoader)currentProject.getProjectClassLoader();
pojoContext = instantiatePojoContext( contextClassName, classLoader );
pojoContext.setProject( currentProject );
currentProject.setObject( "PojoContext", pojoContext ); //???
if ( configFileName != null )
pojoContext.configure( currentProject.findResource( configFileName ));