public String doCreateRepository()
{
if (getRepositoryManager().getRepository(getName()) == null)
{
//TODO support repositories other than SimpleRepository
SimpleRepository repo = new SimpleRepository();
repo.setName(getName());
repo.setConfigPath(getPath());
repo.init();
try
{
getRepositoryManager().addRepository(getName(), repo);
getRepositoryManager().reload();