hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lee Tucker (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-939) Checkstyle pulls in junit3.7 which causes the build of test code to fail.
Date Mon, 31 Aug 2009 22:17:32 GMT

     [ 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.


Mime
View raw message