You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by Peng Hsia <ph...@comcast.net> on 2013/08/13 04:31:13 UTC
Error During Import Projet using eclipse for Windows - missing required library: 'build/ivy/lib/Pig/javacc-4.2.jar'
Hi All,
I followed the instructions documented in this link,
"https://cwiki.apache.org/confluence/display/PIG/How+to+set+up+Eclipse+envir
onment
"
Error message "Project 'pig' is missing required library:
'build/ivy/lib/Pig/javacc-4.2.jar'" was observed during the "Import Pig
project into Eclipse" step. I noticed that,
1. For current revision, javacc-4.2.jar existed in build/ivy/lib/Pig/
folder and there was entry,
<classpathentry kind="lib"
path="build\ivy\lib\Pig\javacc-4.2.jar" exported="true" />
, in .classpath. Import was successful if the entry was
deleted.
2. For r1468544 build (April 16), identical behavior was observed.
3. For r1427570 build (Jan 1, 2013), javacc-4.2.jar was missing from
the resource folder.
However, import was successful after javacc-4.2.jar was copied
and restored into the resource.
For the current build, it seems that the reference to javacc-4.2.jar can be
eliminated from .classpath. Also, do we know any dependency that needs this
jar. There are at least two related discussions on this topic,
pig-dev-ref1
<http://grokbase.com/t/pig/dev/1326kzxmb4/inconsistency-between-ivy-library-
properties-and-eclipse-templates-classpath>
Pig-dev-ref2
<http://qnalist.com/questions/550767/got-a-build-error-missing-required-libr
ary-build-ivy-lib-pig-javacc-4-2-jar>
Was there the same error with Linux environment (I am still working on
having my own Linux box/VM.)? I am new to pig dev and have done work for
Windows. So any help is appreciated.
Thanks,
Peng