[ 
https://issues.apache.org/jira/browse/HCATALOG-445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418715#comment-13418715
 ] 

Travis Crawford commented on HCATALOG-445:
------------------------------------------

I agree we should fix just the breakage from moving code around, and treat new 
functionality as a separate jira.

On a clean trunk, I patched this in and ran (testcase=Foo is just to speed up 
getting through the build):

ant clean clover test generate-clover-reports 
-Dclover.home=/usr/local/clover-ant-2.6.3 -Dtestcase=Foo

I'm seeing failures in the storage-handlers code:

{code}
jar:

compile-test:
    [javac] Compiling 16 source files to 
/Users/travis/src/hcatalog/storage-handlers/hbase/build/test/classes
    [javac] Note: 
/Users/travis/src/hcatalog/storage-handlers/hbase/src/test/org/apache/hcatalog/hbase/TestHBaseDirectOutputFormat.java
 uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

test:
    [mkdir] Created dir: 
/Users/travis/src/hcatalog/storage-handlers/hbase/build/test/logs
    [mkdir] Created dir: 
/Users/travis/src/hcatalog/storage-handlers/hbase/build/test/temp
    [mkdir] Created dir: 
/Users/travis/src/hcatalog/storage-handlers/hbase/build/test/data

clover.check:

clover.setup:

clover.info:

clover:

generate-clover-reports:
    [mkdir] Created dir: /Users/travis/src/hcatalog/build/test/clover/reports

BUILD FAILED
/Users/travis/src/hcatalog/build.xml:445: Problem: failed to create task or 
type clover-report
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


Total time: 39 seconds
{code}
                
> Clover builds broken on trunk
> -----------------------------
>
>                 Key: HCATALOG-445
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-445
>             Project: HCatalog
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.4
>            Reporter: Alan Gates
>             Fix For: 0.5
>
>         Attachments: HCATALOG-445.patch, HCATALOG-445.patch
>
>
> After the changes to split out Pig functionality into a separate jar clover 
> builds fail.  When it runs tests in the hcatalog-pig-adaptor directory tests 
> fail with the following:
> {code}
> com_cenqua_clover/CoverageRecorder
> java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
>     at 
> org.apache.hcatalog.HcatTestUtils.createTestDataFile(HcatTestUtils.java:83)
>     at 
> org.apache.hcatalog.pig.TestHCatStorer.testDynamicPartitioningMultiPartColsInDataPartialSpec(Unknown
>  Source)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to