Need a simpler way to specify arbitrary options to java compiler while building Hadoop --------------------------------------------------------------------------------------
Key: HADOOP-897 URL: https://issues.apache.org/jira/browse/HADOOP-897 Project: Hadoop Issue Type: Improvement Components: build Affects Versions: 0.10.1 Environment: All Reporter: Milind Bhandarkar Assigned To: Milind Bhandarkar Priority: Minor Fix For: 0.11.0 Attachments: compiler-args.patch Currently, if one has to specify arbitrary command-line options, such as "-Xlint:unchecked", to javac, one has to edit build.xml. There should be a property, javac.args, that can be specified on the ant command-line, as follows: ant compile -Djavac.args="-Xlint:unchecked" Patch forthcoming. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira