</BUG>
return buildRepository(token, EMPTY_CONFIG);
}
@Override
<BUG>public CmrRepository buildRepository(String token, RepositoryBuilderConfig config) throws Exception {
</BUG>
final File file = (token.startsWith("file:") ? new File(new URI(token)) : new File(token));
if (file.exists() == false)
throw new IllegalArgumentException("Directory does not exist: " + token);
if (file.isDirectory() == false)

final File file = (token.startsWith("file:") ? new File(new URI(token)) : new File(token));
File absfile = FileUtil.absoluteFile(FileUtil.applyCwd(cwd, file));
return absfile.getAbsolutePath();
}
@Override
public CmrRepository[] buildRepository(String token) throws Exception {
return buildRepository(token, EMPTY_CONFIG);
}
@Override
public CmrRepository[] buildRepository(String token, RepositoryBuilderConfig config) throws Exception {
final File file = (token.startsWith("file:") ? new File(new URI(token)) : new File(token));
if (file.exists() == false)
throw new IllegalArgumentException("Directory does not exist: " + token);
if (file.isDirectory() == false)
