#17 - Changed folder name of checked out modules.

This commit is contained in:
Oliver Gierke
2016-03-31 18:49:23 +02:00
parent e62c76b167
commit ce01cabdf3
2 changed files with 5 additions and 1 deletions

View File

@@ -128,7 +128,7 @@ public class Workspace {
public File getProjectDirectory(Project project) {
Assert.notNull(project, "Project must not be null!");
return new File(getWorkingDirectory(), project.getName());
return new File(getWorkingDirectory(), project.getFolderName());
}
/**

View File

@@ -63,6 +63,10 @@ public class Project implements Comparable<Project> {
return "Spring Data ".concat(name);
}
public String getFolderName() {
return "spring-data-".concat(name.toLowerCase());
}
public String getDependencyProperty() {
return "springdata.".concat(name.toLowerCase());
}