Lines Matching refs:path
38 //Get absolute path of input path
39 FileTree inputFileTree = project.fileTree(sample.@path)
40 … def inputPath = inputFileTree.getFiles().iterator().next().parentFile.absolutePath //sample.@path
42 println "Input path : " + inputPath
85 String collapsed = collapsedPaths.get(fcd.file.path);
86 fcd.path = "src/${collapsed}";
101 def inputPath = sample.@path
166 def buildPath = (repoInfo =~ /Mount path: (.*)/)[0][1]
172 * Collapse a path "IntelliJ-style" by putting dots rather than slashes between
173 * path components that have only one child. So the two paths
182 * @param path
186 Map<String,String> collapsePaths(FileTree path, List<String> roots) {
191 path.visit { FileVisitDetails f ->
197 // Starting at this file, walk back to the root of the path and
202 // path and the filename, even if there's only one file in the directory.
210 // the relative path. But wait, Groovy/Gradle is capricious and
229 result.put(f.file.path, collapsedPath.toString());