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 "Tom White (JIRA)" <ji...@apache.org> on 2007/03/06 14:52:24 UTC

[jira] Created: (HADOOP-1067) Compile fails if Checkstyle jar is present in lib directory

Compile fails if Checkstyle jar is present in lib directory
-----------------------------------------------------------

                 Key: HADOOP-1067
                 URL: https://issues.apache.org/jira/browse/HADOOP-1067
             Project: Hadoop
          Issue Type: Bug
          Components: build
    Affects Versions: 0.12.0
            Reporter: Tom White
         Assigned To: Tom White


HADOOP-1051 added a checkstyle target. However, the compile target fails if the checkstyle jar is present in the lib directory since it includes an earlier version of Commons CLI which Hadoop doesn't compile against.

The simplest solution is to exclude the checkstyle jar from the classpath.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1067) Compile fails if Checkstyle jar is present in lib directory

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

Tom White updated HADOOP-1067:
------------------------------

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

I've just commited this with the suggested change.

> Compile fails if Checkstyle jar is present in lib directory
> -----------------------------------------------------------
>
>                 Key: HADOOP-1067
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1067
>             Project: Hadoop
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.12.0
>            Reporter: Tom White
>         Assigned To: Tom White
>             Fix For: 0.13.0
>
>         Attachments: checkstyle.patch
>
>
> HADOOP-1051 added a checkstyle target. However, the compile target fails if the checkstyle jar is present in the lib directory since it includes an earlier version of Commons CLI which Hadoop doesn't compile against.
> The simplest solution is to exclude the checkstyle jar from the classpath.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1067) Compile fails if Checkstyle jar is present in lib directory

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

Tom White updated HADOOP-1067:
------------------------------

    Attachment: checkstyle.patch

This patch looks for the checkstyle jar in "lib/excluded" and also excludes this directory from the build classpath.

> Compile fails if Checkstyle jar is present in lib directory
> -----------------------------------------------------------
>
>                 Key: HADOOP-1067
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1067
>             Project: Hadoop
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.12.0
>            Reporter: Tom White
>         Assigned To: Tom White
>         Attachments: checkstyle.patch
>
>
> HADOOP-1051 added a checkstyle target. However, the compile target fails if the checkstyle jar is present in the lib directory since it includes an earlier version of Commons CLI which Hadoop doesn't compile against.
> The simplest solution is to exclude the checkstyle jar from the classpath.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1067) Compile fails if Checkstyle jar is present in lib directory

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

Doug Cutting updated HADOOP-1067:
---------------------------------

    Fix Version/s:     (was: 0.13.0)
                   0.12.1

I'm moving this to 0.12.1, since it is a bugfix, and also since trunk currently has all the patches destined for 0.12.1 and this will simplify merging these from trunk to the 0.12 branch.

> Compile fails if Checkstyle jar is present in lib directory
> -----------------------------------------------------------
>
>                 Key: HADOOP-1067
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1067
>             Project: Hadoop
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.12.0
>            Reporter: Tom White
>         Assigned To: Tom White
>             Fix For: 0.12.1
>
>         Attachments: checkstyle.patch
>
>
> HADOOP-1051 added a checkstyle target. However, the compile target fails if the checkstyle jar is present in the lib directory since it includes an earlier version of Commons CLI which Hadoop doesn't compile against.
> The simplest solution is to exclude the checkstyle jar from the classpath.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-1067) Compile fails if Checkstyle jar is present in lib directory

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478452 ] 

Hadoop QA commented on HADOOP-1067:
-----------------------------------

-1, because 3 attempts failed to build and test the latest attachment http://issues.apache.org/jira/secure/attachment/12352750/checkstyle.patch against trunk revision http://svn.apache.org/repos/asf/lucene/hadoop/trunk/514892. Please note that this message is automatically generated and may represent a problem with the automation system and not the patch. Results are at http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch

> Compile fails if Checkstyle jar is present in lib directory
> -----------------------------------------------------------
>
>                 Key: HADOOP-1067
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1067
>             Project: Hadoop
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.12.0
>            Reporter: Tom White
>         Assigned To: Tom White
>             Fix For: 0.13.0
>
>         Attachments: checkstyle.patch
>
>
> HADOOP-1051 added a checkstyle target. However, the compile target fails if the checkstyle jar is present in the lib directory since it includes an earlier version of Commons CLI which Hadoop doesn't compile against.
> The simplest solution is to exclude the checkstyle jar from the classpath.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1067) Compile fails if Checkstyle jar is present in lib directory

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

Tom White updated HADOOP-1067:
------------------------------

    Fix Version/s: 0.13.0
           Status: Patch Available  (was: Open)

> Compile fails if Checkstyle jar is present in lib directory
> -----------------------------------------------------------
>
>                 Key: HADOOP-1067
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1067
>             Project: Hadoop
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.12.0
>            Reporter: Tom White
>         Assigned To: Tom White
>             Fix For: 0.13.0
>
>         Attachments: checkstyle.patch
>
>
> HADOOP-1051 added a checkstyle target. However, the compile target fails if the checkstyle jar is present in the lib directory since it includes an earlier version of Commons CLI which Hadoop doesn't compile against.
> The simplest solution is to exclude the checkstyle jar from the classpath.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-1067) Compile fails if Checkstyle jar is present in lib directory

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

Doug Cutting commented on HADOOP-1067:
--------------------------------------

+1 This looks fine to me.  We might check for "checkstyle*.jar" so that upgrades don't require changing the build.xml.

> Compile fails if Checkstyle jar is present in lib directory
> -----------------------------------------------------------
>
>                 Key: HADOOP-1067
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1067
>             Project: Hadoop
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.12.0
>            Reporter: Tom White
>         Assigned To: Tom White
>             Fix For: 0.13.0
>
>         Attachments: checkstyle.patch
>
>
> HADOOP-1051 added a checkstyle target. However, the compile target fails if the checkstyle jar is present in the lib directory since it includes an earlier version of Commons CLI which Hadoop doesn't compile against.
> The simplest solution is to exclude the checkstyle jar from the classpath.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.