diff src/share/tools/ProjectCreator/WinGammaPlatform.java @ 2393:74e790c48cd4

7031571: Generate native VS2010 project files Reviewed-by: hosterda, stefank, brutisso
author sla
date Mon, 28 Mar 2011 12:48:08 +0200
parents 15d6977f04b0
children 76841bdd5f3e 1a9b9cfcef41
line wrap: on
line diff
--- a/src/share/tools/ProjectCreator/WinGammaPlatform.java	Thu Mar 24 23:06:13 2011 -0700
+++ b/src/share/tools/ProjectCreator/WinGammaPlatform.java	Mon Mar 28 12:48:08 2011 +0200
@@ -587,7 +587,6 @@
         Vector allConfigs = new Vector();
 
         allConfigs.add(new C1DebugConfig());
-
         allConfigs.add(new C1FastDebugConfig());
         allConfigs.add(new C1ProductConfig());
 
@@ -655,6 +654,10 @@
         boolean isHeader() {
             return attr.shortName.endsWith(".h") || attr.shortName.endsWith(".hpp");
         }
+
+        boolean isCpp() {
+            return attr.shortName.endsWith(".cpp");
+        }
     }
 
 
@@ -708,7 +711,7 @@
     PrintWriter printWriter;
 
     public void writeProjectFile(String projectFileName, String projectName,
-                                 Vector allConfigs) throws IOException {
+                                 Vector<BuildConfig> allConfigs) throws IOException {
         throw new RuntimeException("use compiler version specific version");
     }
 }