// stuff out
// ----------------------------------------------------------------------
if ( !buildExecutorManager.hasBuildExecutor( project.getExecutorId() ) )
{
throw new ContinuumException( "No such executor with id '" + project.getExecutorId() + "'." );
}
List<Project> projects = projectDao.getAllProjectsByName();
for ( Project storedProject : projects )
{
// CONTINUUM-1445
if ( StringUtils.equalsIgnoreCase( project.getName(), storedProject.getName() ) &&
StringUtils.equalsIgnoreCase( project.getVersion(), storedProject.getVersion() ) &&
StringUtils.equalsIgnoreCase( project.getScmUrl(), storedProject.getScmUrl() ) )
{
throw new ContinuumException( "A duplicate project already exist '" + storedProject.getName() + "'." );
}
}
/*
if ( store.getProjectByName( project.getName() ) != null )
{