Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-897

Need a simpler way to specify arbitrary options to java compiler while building Hadoop

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.1
    • Fix Version/s: 0.11.0
    • Component/s: build
    • Labels:
      None
    • Environment:

      All

      Description

      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.

        Attachments

        1. compiler-args.patch
          2 kB
          Milind Barve

          Activity

            People

            • Assignee:
              milindb Milind Barve
              Reporter:
              milindb Milind Barve
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: