Added "source=1.4" attribute to <javac> to override the build warning message.
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 23 Aug 2006 03:49:30 +0000 (03:49 +0000)
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 23 Aug 2006 03:49:30 +0000 (03:49 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1359 6f19259b-4bc3-4df7-8a09-765794883524

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