buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <>
Subject Re: Creating an uberjar using Buildr
Date Wed, 13 Apr 2011 22:28:23 GMT
Cool, thanks for sharing!

I usually do package(:jar).merge(some_other_jar) myself ... until it gets
intolerably slow.  Don't know why rubyzip is so CPU-consuming... anyway at
that point I end up forking to zip/jar and do the same externally.


On Wed, Apr 13, 2011 at 2:08 PM, Michael Guymon <>wrote:

> I spent hours fighting Classworld's uberjar to get it to work, figured I
> would share the fruit of my labor. There are no examples that I could find
> and the docs are outdated, so I hit it with a hammer until it worked. The
> task will package the project jar and it's dependencies, allowing the
> produced jar to be run by 'java -jar'. Here is the example task:
> It copies the project jars, creates the classworld conf, explodes the
> classwords-boot jar and wraps it up into project-ubjerjar-version.jar
> --Michael

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message