You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Lee Tucker (JIRA)" <ji...@apache.org> on 2009/08/31 23:15:33 UTC

[jira] Created: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

Checkstyle pulls in junit3.7 which causes the build of test code to fail.
-------------------------------------------------------------------------

                 Key: PIG-939
                 URL: https://issues.apache.org/jira/browse/PIG-939
             Project: Pig
          Issue Type: Bug
          Components: build
    Affects Versions: 0.3.0
            Reporter: Lee Tucker


Pig fails to compile if you execute: 

    ant -D<associated flags for various components> clean findbugs checkstyle test 

It gets the error:

    [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
    [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
    [javac] symbol  : constructor TestCase()
    [javac] location: class junit.framework.TestCase
    [javac] public abstract class PigExecTestCase extends TestCase {
    [javac]                 ^


Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:

    ant -D<associated flags for various components> clean findbugs checkstyle test


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


[jira] Commented: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857136#action_12857136 ] 

Hadoop QA commented on PIG-939:
-------------------------------

To test jira cli

> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>            Assignee: Giridharan Kesavan
>             Fix For: 0.4.0
>
>         Attachments: pig-939.patch
>
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

-- 
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] Resolved: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

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

Giridharan Kesavan resolved PIG-939.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.4.0

> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>            Assignee: Giridharan Kesavan
>             Fix For: 0.4.0
>
>         Attachments: pig-939.patch
>
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

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


[jira] Commented: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

Posted by "Giridharan Kesavan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752330#action_12752330 ] 

Giridharan Kesavan commented on PIG-939:
----------------------------------------

Can someone review this?
-Giri

> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>         Attachments: pig-939.patch
>
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

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


[jira] Updated: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

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

Giridharan Kesavan updated PIG-939:
-----------------------------------

    Status: Open  (was: Patch Available)

> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>            Assignee: Giridharan Kesavan
>         Attachments: pig-939.patch
>
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

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


[jira] Commented: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857132#action_12857132 ] 

Hadoop QA commented on PIG-939:
-------------------------------

To test jira cli

> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>            Assignee: Giridharan Kesavan
>             Fix For: 0.4.0
>
>         Attachments: pig-939.patch
>
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

-- 
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] Assigned: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

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

Giridharan Kesavan reassigned PIG-939:
--------------------------------------

    Assignee: Giridharan Kesavan

> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>            Assignee: Giridharan Kesavan
>         Attachments: pig-939.patch
>
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

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


[jira] Commented: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753165#action_12753165 ] 

Alan Gates commented on PIG-939:
--------------------------------

+1

> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>            Assignee: Giridharan Kesavan
>         Attachments: pig-939.patch
>
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

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


[jira] Commented: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

Posted by "Lee Tucker (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752616#action_12752616 ] 

Lee Tucker commented on PIG-939:
--------------------------------

+1 change has fixed it so junit 3.7 no longer downloads

> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>            Assignee: Giridharan Kesavan
>         Attachments: pig-939.patch
>
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

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


[jira] Updated: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

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

Lee Tucker updated PIG-939:
---------------------------

    Description: 
Pig fails to compile if you execute: 

    ant -D<associated flags for various components> clean findbugs checkstyle test 

It gets the error:

    [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
    [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
    [javac] symbol  : constructor TestCase()
    [javac] location: class junit.framework.TestCase
    [javac] public abstract class PigExecTestCase extends TestCase {
    [javac]                 ^


Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:

    ant -D<associated flags for various components> clean findbugs test

This proves it's running checkstyle that pulls in junit 3.7


  was:
Pig fails to compile if you execute: 

    ant -D<associated flags for various components> clean findbugs checkstyle test 

It gets the error:

    [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
    [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
    [javac] symbol  : constructor TestCase()
    [javac] location: class junit.framework.TestCase
    [javac] public abstract class PigExecTestCase extends TestCase {
    [javac]                 ^


Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:

    ant -D<associated flags for various components> clean findbugs checkstyle test



> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

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


[jira] Updated: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

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

Giridharan Kesavan updated PIG-939:
-----------------------------------

    Attachment: pig-939.patch

this patch should fix this issue of downloading junit-3.7

> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>         Attachments: pig-939.patch
>
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

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


[jira] Commented: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

Posted by "Giridharan Kesavan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752658#action_12752658 ] 

Giridharan Kesavan commented on PIG-939:
----------------------------------------

Its not pig which depends on antlr but checkstyle depends on antlr and thats the reason antlr is defined under conf="checkstyle->master"
http://mvnrepository.com/artifact/checkstyle/checkstyle/4.2 - has the details of checkstyle's transient dependency.

> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>            Assignee: Giridharan Kesavan
>         Attachments: pig-939.patch
>
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

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


[jira] Commented: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752617#action_12752617 ] 

Alan Gates commented on PIG-939:
--------------------------------

Why is antlr being added as a dependency?  I don't think Pig uses antlr.

> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>            Assignee: Giridharan Kesavan
>         Attachments: pig-939.patch
>
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

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


[jira] Updated: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

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

Giridharan Kesavan updated PIG-939:
-----------------------------------

    Status: Patch Available  (was: Open)

> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>         Attachments: pig-939.patch
>
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

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


[jira] Commented: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749921#action_12749921 ] 

Hadoop QA commented on PIG-939:
-------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12418232/pig-939.patch
  against trunk revision 806668.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no tests are needed for this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h7.grid.sp2.yahoo.net/6/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h7.grid.sp2.yahoo.net/6/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h7.grid.sp2.yahoo.net/6/console

This message is automatically generated.

> Checkstyle pulls in junit3.7 which causes the build of test code to fail.
> -------------------------------------------------------------------------
>
>                 Key: PIG-939
>                 URL: https://issues.apache.org/jira/browse/PIG-939
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.3.0
>            Reporter: Lee Tucker
>         Attachments: pig-939.patch
>
>
> Pig fails to compile if you execute: 
>     ant -D<associated flags for various components> clean findbugs checkstyle test 
> It gets the error:
>     [javac] Compiling 153 source files to /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/build/test/classes
>     [javac] /export/crawlspace/kryptonite/hadoopqa/workspace/workspace/CCDI-Pig-2.3/pig-2.3.0.0.20.0.2967040009/test/org/apache/pig/test/PigExecTestCase.java:31: cannot find symbol
>     [javac] symbol  : constructor TestCase()
>     [javac] location: class junit.framework.TestCase
>     [javac] public abstract class PigExecTestCase extends TestCase {
>     [javac]                 ^
> Once that's done, there's a copy of junit 3.7 cached from ivy that will continue to cause the build to fail.  It will succeed, if you remove it, and then do:
>     ant -D<associated flags for various components> clean findbugs test
> This proves it's running checkstyle that pulls in junit 3.7

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