buildListener.setDebug( context.getDebugOn().booleanValue() );
buildListener.setEmacsMode( context.getEmacsModeOn().booleanValue() );
// Create our ant project.
GrantProject antProject = new GrantProject();
antProject.setPropsHandler( new JellyPropsHandler( context ) );
antProject.init();
antProject.setBaseDir( project.getFile().getParentFile().getAbsoluteFile() );
antProject.addBuildListener( buildListener );
context.setAntProject( antProject );