}
public void releaseRollback( String releaseId, int projectId )
throws ContinuumReleaseException
{
ContinuumReleaseManagerListener listener = new DefaultReleaseManagerListener();
releaseManager.rollback( releaseId, buildAgentConfigurationService.getWorkingDirectory( projectId ).getPath(), listener );
//recurse until rollback is finished
while ( listener.getState() != ContinuumReleaseManagerListener.FINISHED )
{
try
{
Thread.sleep( 1000 );
}