private String getProjectRoot() { return pathResolver.getRoot(); } }
private void monitorPathIfExists(final LogicalPath logicalPath) { final String canonicalPath = pathResolver.getRoot(logicalPath); // The path can be blank if a sub-folder contains a POM that doesn't // belong to a module if (StringUtils.isNotBlank(canonicalPath)) { final File directory = new File(canonicalPath); if (directory.isDirectory()) { final MonitoringRequest request = new DirectoryMonitoringRequest(directory, true, MONITORED_OPERATIONS); new UndoableMonitoringRequest(undoManager, fileMonitorService, request, true); } } }
@Override public String getWsdlAbsolutePathFromWsdlName(String wsdlLocation) { // Getting root path String rootPath = getPathResolver().getRoot(); // Getting module name and wsdl name from the provided wsdlName String wsdlName = getWsdlNameWithoutModule(wsdlLocation); String moduleName = getModuleFromWsdlLocation(wsdlLocation).getModuleName(); return rootPath.concat("/").concat(moduleName).concat("/src/main/resources/").concat(wsdlName); }
public String getProjectRoot() { return pathResolver.getRoot(Path.ROOT.getModulePathId(pomManagementService .getFocusedModuleName())); }
String rootPath = getPathResolver().getRoot(); for (String moduleName : existingModules) {
String antPath = pathResolver.getRoot(LogicalPath.getInstance( Path.SRC_MAIN_JAVA, "")) + File.separatorChar