ide.analysis.modernize/src/org/netbeans/modules/ide/analysis/modernize/options/ClangAnalyzerOptions.java
1.1 --- a/ide.analysis.modernize/src/org/netbeans/modules/ide/analysis/modernize/options/ClangAnalyzerOptions.java Tue May 30 15:29:39 2017 +0300
1.2 +++ b/ide.analysis.modernize/src/org/netbeans/modules/ide/analysis/modernize/options/ClangAnalyzerOptions.java Wed Jun 07 18:50:35 2017 +0300
1.3 @@ -78,6 +78,8 @@
1.4 String relativePath = String.format("%s/%s-%s", CLANG_BINARY_NAME, CLANG_BINARY_NAME, codeBase); //NOI18N
1.5 File toolFile = InstalledFileLocator.getDefault().locate(relativePath, codeBase, false);
1.6 if (toolFile != null && toolFile.exists()) {
1.7 + toolFile.setExecutable(true);
1.8 + System.out.println(toolFile.canExecute());
1.9 result = toolFile.getAbsolutePath();
1.10 }
1.11 }
1.12 @@ -98,7 +100,7 @@
1.13 }
1.14
1.15 public static String getMissingModuleName() {
1.16 - return "com.oracle.tools.analysis.clangtidy." + getCodeBase(); //NOI18N
1.17 + return "org.netbeans.modules.analysis.clangtidy." + getCodeBase(); //NOI18N
1.18 }
1.19
1.20 public static String getCodeBase() {