[hg] main-silver: the install directory has to exist

  • From: Milos Kleint < >
  • To: ,
  • Subject: [hg] main-silver: the install directory has to exist
  • Date: Fri, 01 Nov 2013 18:36:16 +0000

changeset 9566d167a515 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/9566d167a515
description:
        the install directory has to exist

diffstat:

 
maven.apisupport/src/org/netbeans/modules/maven/apisupport/MissingNbInstallationProblemProvider.java
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git 
a/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MissingNbInstallationProblemProvider.java
 
b/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MissingNbInstallationProblemProvider.java
--- 
a/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MissingNbInstallationProblemProvider.java
+++ 
b/maven.apisupport/src/org/netbeans/modules/maven/apisupport/MissingNbInstallationProblemProvider.java
@@ -127,7 +127,7 @@
         Project parent = MavenNbModuleImpl.findAppProject(project);
         if (parent == null) {
             File install = MavenNbModuleImpl.findIDEInstallation(project);
-            if (install == null) {
+            if (install == null || !install.exists()) {
                 return 
Collections.singleton(ProjectProblem.createWarning(Bundle.TIT_Missing_platform(),
 Bundle.DESC_Missing_platform(), new ProjectProblemResolver() {
 
                     @Override

[hg] main-silver: the install directory has to exist

Milos Kleint 11/01/2013

Project Features

About this Project

APIsupport was started in November 2009, is owned by Antonin Nebuzelsky, and has 43 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close