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

Merge hs25-b46
author Gilles Duboscq <duboscq@ssw.jku.at>
date Thu, 10 Oct 2013 14:20:04 +0200
parents e522a00b91aa bd0e82136b03
children d8041d695d19
comparison
equal deleted inserted replaced
11958:a0f5be106e67 12039:3cce976666d9
137 137
138 tag("Tool", new String[] { "Name", "VCCustomBuildTool" }); 138 tag("Tool", new String[] { "Name", "VCCustomBuildTool" });
139 139
140 tagV("Tool", cfg.getV("LinkerFlags")); 140 tagV("Tool", cfg.getV("LinkerFlags"));
141 141
142 tag("Tool", 142 String postBuildCmd = BuildConfig.getFieldString(null,
143 new String[] { 143 "PostbuildCommand");
144 "Name", 144 if (postBuildCmd != null) {
145 "VCPostBuildEventTool", 145 tag("Tool",
146 "Description", 146 new String[] {
147 BuildConfig 147 "Name",
148 .getFieldString(null, "PostbuildDescription"), 148 "VCPostBuildEventTool",
149 // Caution: String.replace(String,String) is available 149 "Description",
150 // from JDK5 onwards only 150 BuildConfig
151 "CommandLine", 151 .getFieldString(null, "PostbuildDescription"),
152 cfg.expandFormat(BuildConfig.getFieldString(null, 152 // Caution: String.replace(String,String) is available
153 "PostbuildCommand").replace("\t", 153 // from JDK5 onwards only
154 "&#x0D;&#x0A;")) }); 154 "CommandLine",
155 cfg.expandFormat(postBuildCmd.replace("\t",
156 "&#x0D;&#x0A;")) });
157 }
155 158
156 tag("Tool", new String[] { "Name", "VCPreBuildEventTool" }); 159 tag("Tool", new String[] { "Name", "VCPreBuildEventTool" });
157 160
158 tag("Tool", 161 tag("Tool",
159 new String[] { 162 new String[] {