Added "source=1.4" attribute to <javac> to override the build warning message.
[mirror_edk2.git] / Tools / Source / Cpptasks / build.xml
index 33300f8..15eb959 100644 (file)
@@ -23,7 +23,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   </target>\r
   <target name="source" depends="init" unless="jar.newer">\r
     <mkdir dir="${buildDir}"/>\r
-    <javac srcdir="net" destdir="${buildDir}">\r
+    <javac srcdir="net" destdir="${buildDir}" source="1.4">\r
       <classpath>\r
         <fileset dir="${workspace}/Tools/Jars">\r
           <include name="*.jar"/>\r