mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
7017824: Add support for creating 64-bit Visual Studio projects
Updated create.bat and ProjectCreator Reviewed-by: brutisso, stefank, ohair
This commit is contained in:
parent
d30b5f01d3
commit
32b46da6e3
21 changed files with 237 additions and 387 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -47,7 +47,7 @@ public class Util {
|
|||
return sb.toString();
|
||||
}
|
||||
|
||||
static String join(String padder, String v[]) {
|
||||
static String join(String padder, String v[]) {
|
||||
StringBuffer sb = new StringBuffer();
|
||||
|
||||
for (int i=0; i<v.length; i++) {
|
||||
|
@ -80,9 +80,16 @@ public class Util {
|
|||
|
||||
|
||||
static String normalize(String file) {
|
||||
return file.replace('\\', '/');
|
||||
file = file.replace('\\', '/');
|
||||
if (file.length() > 2) {
|
||||
if (file.charAt(1) == ':' && file.charAt(2) == '/') {
|
||||
// convert drive letter to uppercase
|
||||
String drive = file.substring(0, 1).toUpperCase();
|
||||
return drive + file.substring(1);
|
||||
}
|
||||
}
|
||||
return file;
|
||||
}
|
||||
|
||||
static String sep = File.separator;
|
||||
static String os = "Win32"; //System.getProperty("os.name");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue