Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Modify the config file: build.xml


Code Block
languagexml
--- a/build.xml

...


+++ b/build.xml @@ -40,8 +40,8 @@ xmlns:cs="antlib:com.puppycrawl.tools.checkstyle.ant">

...

     
<property name="revision.properties" value="revision.properties" />

...

     
<property file="${basedir}/src/java/${revision.properties}" />

...


-    <property name="javac.target" value="1.7" />

...


-    <property name="javac.source" value="1.7" />

...


+    <property name="javac.target" value="1.8" />

...


+    <property name="javac.source" value="1.8" />

...

     
<property name="build.encoding" value="utf8" />


  Building & UT using ant 

Code Block
languagebash
$ ant
$ ant -Djavac.args="-Xlint -Xmaxwarns 1000 " clean test tar

...