Lines 75-80
Link Here
|
75 |
import org.netbeans.modules.web.clientproject.spi.SiteTemplateImplementation; |
75 |
import org.netbeans.modules.web.clientproject.spi.SiteTemplateImplementation; |
76 |
import org.netbeans.modules.web.clientproject.ui.customizer.ClientSideProjectProperties; |
76 |
import org.netbeans.modules.web.clientproject.ui.customizer.ClientSideProjectProperties; |
77 |
import org.netbeans.spi.project.ui.ProjectProblemsProvider; |
77 |
import org.netbeans.spi.project.ui.ProjectProblemsProvider; |
|
|
78 |
import org.netbeans.spi.project.ui.support.ProjectConvertors; |
78 |
import org.openide.filesystems.FileObject; |
79 |
import org.openide.filesystems.FileObject; |
79 |
import org.openide.filesystems.FileUtil; |
80 |
import org.openide.filesystems.FileUtil; |
80 |
import org.openide.util.NbBundle; |
81 |
import org.openide.util.NbBundle; |
Lines 102-107
Link Here
|
102 |
|
103 |
|
103 |
/** |
104 |
/** |
104 |
* Check whether the given folder is already a project. |
105 |
* Check whether the given folder is already a project. |
|
|
106 |
* <p> |
107 |
* This method ignores ProjectConvertor projects. |
105 |
* @param folder folder to be checked |
108 |
* @param folder folder to be checked |
106 |
* @return {@code true} if the given folder is already a project, {@code false} otherwise |
109 |
* @return {@code true} if the given folder is already a project, {@code false} otherwise |
107 |
*/ |
110 |
*/ |
Lines 115-121
Link Here
|
115 |
} catch (IllegalArgumentException ex) { |
118 |
} catch (IllegalArgumentException ex) { |
116 |
// noop |
119 |
// noop |
117 |
} |
120 |
} |
118 |
return prj != null || foundButBroken; |
121 |
if (prj != null |
|
|
122 |
&& !ProjectConvertors.isConvertorProject(prj)) { |
123 |
return true; |
124 |
} |
125 |
return foundButBroken; |
119 |
} |
126 |
} |
120 |
|
127 |
|
121 |
// XXX |
128 |
// XXX |