comparison 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
comparison
equal deleted inserted replaced
12020:7b03590c334b 12021:bd0e82136b03
101 } 101 }
102 } 102 }
103 } 103 }
104 } 104 }
105 105
106 String tagName = wg.getFileTagFromSuffix(fileName); 106 String tagName = wg10.getFileTagFromSuffix(fileName);
107 107
108 if (!useIgnore && !disablePch && !usePch && !isReplacedByAltSrc) { 108 if (!useIgnore && !disablePch && !usePch && !isReplacedByAltSrc) {
109 wg.tag(tagName, new String[] { "Include", fileLoc}); 109 wg.tag(tagName, new String[] { "Include", fileLoc});
110 } else { 110 } else {
111 wg.startTag( 111 wg.startTag(
131 } 131 }
132 wg.endTag(); 132 wg.endTag();
133 } 133 }
134 134
135 String filter = startDir.relativize(file.getParent().toAbsolutePath()).toString(); 135 String filter = startDir.relativize(file.getParent().toAbsolutePath()).toString();
136 wg.addFilterDependency(fileLoc, filter); 136 wg10.addFilterDependency(fileLoc, filter);
137 137
138 return CONTINUE; 138 return CONTINUE;
139 } 139 }
140 140
141 @Override 141 @Override
160 } 160 }
161 161
162 if (!hide) { 162 if (!hide) {
163 String name = startDir.relativize(path.toAbsolutePath()).toString(); 163 String name = startDir.relativize(path.toAbsolutePath()).toString();
164 if (!"".equals(name)) { 164 if (!"".equals(name)) {
165 wg.addFilter(name); 165 wg10.addFilter(name);
166 } 166 }
167 167
168 attributes.push(newAttr); 168 attributes.push(newAttr);
169 return super.preVisitDirectory(path, attrs); 169 return super.preVisitDirectory(path, attrs);
170 } else { 170 } else {