pig-user  

Re: Conflicts with embeded dependencies

Eric Baldeschwieler
Mon, 18 Feb 2008 09:57:32 -0800

+1

seems like something that should be addressed. I've no opinion on if it should be added to PIG-68 or be added as a new JIRA.


On Feb 18, 2008, at 8:20 AM, Benjamin Francisoud wrote:

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