pig-user  

RE: Conflicts with embeded dependencies

Olga Natkovich
Tue, 19 Feb 2008 11:03:30 -0800

Lets open a separate JIRA on this and attach the diffs just for this change. 

Thanks,

Olga

> -----Original Message-----
> From: Benjamin Francisoud [EMAIL PROTECTED] 
> Sent: Monday, February 18, 2008 8:20 AM
> To: pig-user@incubator.apache.org
> Subject: Re: Conflicts with embeded dependencies
> 
> I can have a look at it and include it in PIG-68, if 
> commiters are interested...
> 
> --
> Benjamin Francisoud
> 
> Iván de Prado a écrit :
> > I have seen that you are embedding the binary classes from several 
> > projects into pig.jar. The idea is package all in a single jar to 
> > simplify its use and reduce the size. I thinks is a good idea.
> >
> > By the other hand, people that are developing their own 
> LoadFunc and 
> > other code based in Pig needs to include the pig jar in 
> their projects.
> > But because pig.jar contains binaries from other OS projects, 
> > dependency conflicts can appears (like conflicts with Jetty).
> >
> > I have change the build.xml to be able to generate two jars:
> > - pig.jar (The current default)
> > - pig-core.jar
> >
> > The pig-core.jar doesn't includes the dependencies into the jar, so 
> > pig-core.jar can be included safely in people projects without 
> > generate dependency conflicts.
> >
> > I attach the new build.xml. It would be good if something 
> like that is 
> > added to future versions.
> >
> > Congratulations for your nice project, Iván de Prado
> >
> >
> >   
> 
>