#17 - Changed folder name of checked out modules.
This commit is contained in:
@@ -128,7 +128,7 @@ public class Workspace {
|
|||||||
public File getProjectDirectory(Project project) {
|
public File getProjectDirectory(Project project) {
|
||||||
|
|
||||||
Assert.notNull(project, "Project must not be null!");
|
Assert.notNull(project, "Project must not be null!");
|
||||||
return new File(getWorkingDirectory(), project.getName());
|
return new File(getWorkingDirectory(), project.getFolderName());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -63,6 +63,10 @@ public class Project implements Comparable<Project> {
|
|||||||
return "Spring Data ".concat(name);
|
return "Spring Data ".concat(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getFolderName() {
|
||||||
|
return "spring-data-".concat(name.toLowerCase());
|
||||||
|
}
|
||||||
|
|
||||||
public String getDependencyProperty() {
|
public String getDependencyProperty() {
|
||||||
return "springdata.".concat(name.toLowerCase());
|
return "springdata.".concat(name.toLowerCase());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user