comparison src/share/tools/ProjectCreator/FileTreeCreator.java @ 12039:3cce976666d9

Merge hs25-b46
author Gilles Duboscq <duboscq@ssw.jku.at>
date Thu, 10 Oct 2013 14:20:04 +0200
parents bd0e82136b03
children
comparison
equal deleted inserted replaced
11958:a0f5be106e67 12039:3cce976666d9
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());