You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Milind Bhandarkar (JIRA)" <ji...@apache.org> on 2007/01/17 20:44:30 UTC

[jira] Created: (HADOOP-897) Need a simpler way to specify arbitrary options to java compiler while building Hadoop

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

        

[jira] Updated: (HADOOP-897) Need a simpler way to specify arbitrary options to java compiler while building Hadoop

Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milind Bhandarkar updated HADOOP-897:
-------------------------------------

    Attachment: compiler-args.patch

> 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

        

[jira] Work started: (HADOOP-897) Need a simpler way to specify arbitrary options to java compiler while building Hadoop

Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HADOOP-897 started by Milind Bhandarkar.

> 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

        

[jira] Updated: (HADOOP-897) Need a simpler way to specify arbitrary options to java compiler while building Hadoop

Posted by "Milind Bhandarkar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milind Bhandarkar updated HADOOP-897:
-------------------------------------

    Status: Patch Available  (was: In Progress)

> 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

        

[jira] Updated: (HADOOP-897) Need a simpler way to specify arbitrary options to java compiler while building Hadoop

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-897:
--------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.  Thanks, Milind!

> 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