diff src/share/tools/ProjectCreator/FileTreeCreatorVC10.java @ 12021:bd0e82136b03

8022740: Visual 2008 IDE build is broken Summary: Fixed project generation code, and added warning to upgrade to VS 2008 SP1. Reviewed-by: dcubed, ccheung
author iklam
date Sat, 10 Aug 2013 10:56:27 -0700
parents 31f3b1e1c5e5
children 3cce976666d9
line wrap: on
line diff
--- a/src/share/tools/ProjectCreator/FileTreeCreatorVC10.java	Fri Aug 09 15:36:09 2013 -0700
+++ b/src/share/tools/ProjectCreator/FileTreeCreatorVC10.java	Sat Aug 10 10:56:27 2013 -0700
@@ -103,7 +103,7 @@
             }
          }
 
-         String tagName = wg.getFileTagFromSuffix(fileName);
+         String tagName = wg10.getFileTagFromSuffix(fileName);
 
          if (!useIgnore && !disablePch && !usePch && !isReplacedByAltSrc) {
             wg.tag(tagName, new String[] { "Include", fileLoc});
@@ -133,7 +133,7 @@
          }
 
          String filter = startDir.relativize(file.getParent().toAbsolutePath()).toString();
-         wg.addFilterDependency(fileLoc, filter);
+         wg10.addFilterDependency(fileLoc, filter);
 
          return CONTINUE;
       }
@@ -162,7 +162,7 @@
          if (!hide) {
             String name = startDir.relativize(path.toAbsolutePath()).toString();
             if (!"".equals(name)) {
-               wg.addFilter(name);
+               wg10.addFilter(name);
             }
 
             attributes.push(newAttr);