= getClass().getClassLoader().getResource("org/apache/lenya/cms/task/test-tasks.xconf");
DefaultConfigurationBuilder configurationBuilder = new DefaultConfigurationBuilder();
Configuration configuration
= configurationBuilder.build(tasksConfigurationResource.toString());
TaskManager manager = new TaskManager();
manager.configure(configuration);
AntTask task = (AntTask) manager.getTask(taskId);
Parameters parameters = new Parameters();
URL buildfileResource
= getClass().getClassLoader().getResource("org/apache/lenya/cms/task/tasks.xml");