mirror of
https://github.com/apache/maven.git
synced 2025-02-08 19:15:12 +00:00
Directories, not folders
This commit is contained in:
parent
a1d43778ef
commit
46c84876d7
@ -60,5 +60,5 @@ public interface JavaToolchain extends Toolchain {
|
|||||||
// *
|
// *
|
||||||
// * @return List
|
// * @return List
|
||||||
// */
|
// */
|
||||||
// List getJavadocFolders();
|
// List getJavadocDirectories();
|
||||||
}
|
}
|
||||||
|
@ -60,8 +60,8 @@ public String findTool(String toolName) {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static File findTool(String toolName, File installFolder) {
|
private static File findTool(String toolName, File installDir) {
|
||||||
File bin = new File(installFolder, "bin"); // NOI18N
|
File bin = new File(installDir, "bin"); // NOI18N
|
||||||
if (bin.exists()) {
|
if (bin.exists()) {
|
||||||
File tool = new File(bin, toolName + (Os.isFamily("windows") ? ".exe" : "")); // NOI18N
|
File tool = new File(bin, toolName + (Os.isFamily("windows") ? ".exe" : "")); // NOI18N
|
||||||
if (tool.exists()) {
|
if (tool.exists()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user