You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "David Dreyfus (JIRA)" <ji...@apache.org> on 2014/09/19 18:05:34 UTC

[jira] [Created] (PIG-4185) ivy\lib\Pig\junit-4.11.jar; invalid CEN header

David Dreyfus created PIG-4185:
----------------------------------

             Summary: ivy\lib\Pig\junit-4.11.jar; invalid CEN header
                 Key: PIG-4185
                 URL: https://issues.apache.org/jira/browse/PIG-4185
             Project: Pig
          Issue Type: Bug
          Components: build
    Affects Versions: 0.13.0
         Environment: Windows 7
            Reporter: David Dreyfus


In either trunk or branch-0.13 I run ant -Dhadoopversion=23.
Problem seems to be in junit-4.11.jar.
Not sure from where pig or ivy is pulling this corrupt file.
Work around is to copy junit-4.11.jar from maven repo, but this solution doesn't lend itself to automated builds.
Get:
compile:
     [echo] *** Building Main Sources ***
     [echo] *** To compile with all warnings enabled, supply -Dall.warnings=1 on command line ***
     [echo] *** Else, you will only be warned about deprecations ***
    [javac] Compiling 5 source files to C:\pig\branches\branch-0.13\build\classes
    [javac] error: error reading C:\pig\branches\branch-0.13\build\ivy\lib\Pig\junit-4.11.jar; invalid CEN header (bad signature)
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] 1 error
    [javac] 1 warning
Buildfile: C:\pig\branches\branch-0.13\contrib\piggybank\java\build.xml




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)