pig-user  

Re: Building pig from trunk

pi song
Fri, 06 Jun 2008 17:46:12 -0700

That means your ANT doesn't have Javacc task included.  If you use apt-get
package manager, just do:-

apt-get install ant-optional


On Sat, Jun 7, 2008 at 9:42 AM, Travis Brady <[EMAIL PROTECTED]> wrote:

> I had the same issue a few months ago
> http://markmail.org/message/2eil2p4pt2p6pzhd and I never got a straight
> answer.   Things seemed to work when I upgraded Ant.
> Here is mine for reference: Apache Ant version 1.7.0 compiled on August 29
> 2007
>
> This is on Ubuntu.
>
> hope that helps,
> Travis
>
> On Fri, Jun 6, 2008 at 4:27 PM, Rafael Turk <[EMAIL PROTECTED]> wrote:
>
> > Hello folks!
> >
> >
> > I've been trying to build Pig from trunk, but I've got the following
> error:
> >
> > Buildfile: build.xml
> > BUILD FAILED
> > /projetos/woovi/pig/trunk/build.xml:135: Problem: failed to create task
> or
> > type jjtree
> > Cause: the class org.apache.tools.ant.taskdefs.optional.javacc.JJTree was
> > not found.
> >        This looks like one of Ant's optional components.
> > Action: Check that the appropriate optional JAR exists in
> >        -/usr/share/ant/lib
> >        -/root/.ant/lib
> >        -a directory added on the command line with the -lib argument
> >
> > Do not panic, this is a common problem.
> > The commonest cause is a missing JAR.
> > This is not a bug; it is a configuration problem
> > Total time: 0 seconds
> >
> > What I´m missing here?
> >
> > Thanks in advance,
> > Rafael
> >
>
>
>
> --
> Travis Brady
> Mochi Media
> www.mochiads.com
>