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