Only try to create the workspace dir if it doesn't exist.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1463 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
c42c78dc0a
commit
336a773069
@ -46,7 +46,7 @@ public class FileProjectManager extends ProjectManager {
|
||||
protected FileProjectManager(File dir) {
|
||||
super();
|
||||
_workspaceDir = dir;
|
||||
if (!_workspaceDir.mkdirs()) {
|
||||
if (!_workspaceDir.exists() && !_workspaceDir.mkdirs()) {
|
||||
logger.error("Failed to create directory : " + _workspaceDir);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user