Mercurial > hg > truffle
comparison src/share/tools/ProjectCreator/FileTreeCreator.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 | 1a9b9cfcef41 |
children |
comparison
equal
deleted
inserted
replaced
12020:7b03590c334b | 12021:bd0e82136b03 |
---|---|
10 Path vcProjLocation; | 10 Path vcProjLocation; |
11 Path startDir; | 11 Path startDir; |
12 final int startDirLength; | 12 final int startDirLength; |
13 Stack<DirAttributes> attributes = new Stack<DirAttributes>(); | 13 Stack<DirAttributes> attributes = new Stack<DirAttributes>(); |
14 Vector<BuildConfig> allConfigs; | 14 Vector<BuildConfig> allConfigs; |
15 WinGammaPlatformVC10 wg; | 15 WinGammaPlatform wg; |
16 WinGammaPlatformVC10 wg10; | |
16 | 17 |
17 public FileTreeCreator(Path startDir, Vector<BuildConfig> allConfigs, WinGammaPlatformVC10 wg) { | 18 public FileTreeCreator(Path startDir, Vector<BuildConfig> allConfigs, WinGammaPlatform wg) { |
18 super(); | 19 super(); |
19 this.wg = wg; | 20 this.wg = wg; |
21 if (wg instanceof WinGammaPlatformVC10) { | |
22 wg10 = (WinGammaPlatformVC10)wg; | |
23 } | |
20 this.allConfigs = allConfigs; | 24 this.allConfigs = allConfigs; |
21 this.startDir = startDir; | 25 this.startDir = startDir; |
22 startDirLength = startDir.toAbsolutePath().toString().length(); | 26 startDirLength = startDir.toAbsolutePath().toString().length(); |
23 vcProjLocation = FileSystems.getDefault().getPath(allConfigs.firstElement().get("BuildSpace")); | 27 vcProjLocation = FileSystems.getDefault().getPath(allConfigs.firstElement().get("BuildSpace")); |
24 attributes.push(new DirAttributes()); | 28 attributes.push(new DirAttributes()); |