Thanks Chinmay, There are also some maven plugin alternatives which can do something similar except they don't auto discover the classes that need to be pulled out of the jar. http://stackoverflow.com/questions/13142511/unpack-dependency-and-repack-classes-using-maven
We are stuck with fast util until the next major version of malhar since it has creeped into the signatures of some methods. For now I can manually use auto jar to discover the classes to repack, and then list those classes to be repacked for the fastutil dependency in the maven shade plugin. An example of this can be included in the demos, so if someone runs into an issue with large app packages they will have cut and paste modification to their pom which will resolve it. The long term solution will be to replace fast util with another library, I think the best contender for that now is mahout. On Fri, Nov 27, 2015 at 10:39 PM, Chinmay Kolhatkar <[email protected] > wrote: > How about using AutoJar? > http:// <http://autojar.sourceforge.net/en_d/index.html> > autojar.sourceforge.net <http://autojar.sourceforge.net/en_d/index.html>/ > <http://autojar.sourceforge.net/en_d/index.html>en > <http://autojar.sourceforge.net/en_d/index.html>_d/ > <http://autojar.sourceforge.net/en_d/index.html>index.html > <http://autojar.sourceforge.net/en_d/index.html> > > From the looks of it, this seems go pick only those classes which are > required. > > Fastutils also mentions about it to deal with the problem of large jar file > size: > http://fastutil.di.unimi.it/#install > > -Chinmay. > In spite of the qualities of Mahout's collections, my guess is that > fastutil will be more developed. > > > > On Fri, Nov 27, 2015 at 6:09 AM, Timothy Farkas <[email protected]> > wrote: > > > Thanks Ted for providing an alternative! I will look into replacing > > fastutil with it. > > > > On Thu, Nov 26, 2015 at 3:09 AM, Ted Dunning <[email protected]> > > wrote: > > > > > On Thu, Nov 26, 2015 at 5:46 PM, Timothy Farkas <[email protected]> > > > wrote: > > > > > > > There are not very many > > > > replacement options the only Apache license alternative is hppc which > I > > > > think is underdeveloped. > > > > > > > > > > Mahout Collections as well. > > > > > >
