mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8022740: Visual 2008 IDE build is broken
Fixed project generation code, and added warning to upgrade to VS 2008 SP1. Reviewed-by: dcubed, ccheung
This commit is contained in:
parent
4d2ab5385c
commit
5189d350c9
5 changed files with 27 additions and 19 deletions
|
@ -139,19 +139,22 @@ public class WinGammaPlatformVC7 extends WinGammaPlatform {
|
|||
|
||||
tagV("Tool", cfg.getV("LinkerFlags"));
|
||||
|
||||
tag("Tool",
|
||||
new String[] {
|
||||
"Name",
|
||||
"VCPostBuildEventTool",
|
||||
"Description",
|
||||
BuildConfig
|
||||
.getFieldString(null, "PostbuildDescription"),
|
||||
// Caution: String.replace(String,String) is available
|
||||
// from JDK5 onwards only
|
||||
"CommandLine",
|
||||
cfg.expandFormat(BuildConfig.getFieldString(null,
|
||||
"PostbuildCommand").replace("\t",
|
||||
"
")) });
|
||||
String postBuildCmd = BuildConfig.getFieldString(null,
|
||||
"PostbuildCommand");
|
||||
if (postBuildCmd != null) {
|
||||
tag("Tool",
|
||||
new String[] {
|
||||
"Name",
|
||||
"VCPostBuildEventTool",
|
||||
"Description",
|
||||
BuildConfig
|
||||
.getFieldString(null, "PostbuildDescription"),
|
||||
// Caution: String.replace(String,String) is available
|
||||
// from JDK5 onwards only
|
||||
"CommandLine",
|
||||
cfg.expandFormat(postBuildCmd.replace("\t",
|
||||
"
")) });
|
||||
}
|
||||
|
||||
tag("Tool", new String[] { "Name", "VCPreBuildEventTool" });
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue