This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
private static final String PROJECT_XML = "nbproject" + File.separatorChar + "project.xml";
File projectXml = new File(basedir, "nbproject" + File.separatorChar + "project.xml"); // NOI18N
//Bypass CVS dirs
if (!projectXml.isFile()) {
if ("CVS".equals(basedir.getName())) {
--
return null;
}
File projectXml = new File(basedir, PROJECT_XML); // NOI18N
//projectXml.isFile() appears to be expensive on some systems; exists is cheaper
if (!projectXml.exists() || !projectXml.isFile()) {