jarjar solution for java 8

277 views
Skip to first unread message

Mike Hogan

unread,
May 20, 2014, 12:05:18 PM5/20/14
to total...@googlegroups.com
Folks, jarjar does not work with java 8 bytecode. Anybody else hit this? Any solutions?

Ta,
Mike.

Stuart Miller

unread,
May 20, 2014, 12:16:18 PM5/20/14
to total...@googlegroups.com

I'm assuming you're not using maven, but if you were the shade plugin does the same thing.

Stuart

--
You received this message because you are subscribed to the Google Groups "totallylazy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to totallylazy...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Worthington-Bodart

unread,
May 20, 2014, 1:18:19 PM5/20/14
to total...@googlegroups.com

You could just checkout jarjar and update it to asm 5 beta jar

On 20 May 2014 17:05, "Mike Hogan" <m...@mikehogan.net> wrote:

Mike Hogan

unread,
May 21, 2014, 4:59:22 AM5/21/14
to total...@googlegroups.com
The right idea - as usual Dan.


On 20 May 2014, at 18:18, Daniel Worthington-Bodart <d...@bodar.com> wrote:

You could just checkout jarjar and update it to asm 5 beta jar

On 20 May 2014 17:05, "Mike Hogan" <m...@mikehogan.net> wrote:
--
You received this message because you are subscribed to the Google Groups "totallylazy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to totallylazy...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Worthington-Bodart

unread,
Aug 19, 2014, 10:38:33 AM8/19/14
to total...@googlegroups.com
Did you publish a binary anywhere?

Daniel Worthington-Bodart

unread,
Aug 21, 2014, 6:49:10 AM8/21/14
to total...@googlegroups.com
Okay I've uploaded it to the repo so you can do:


or browse:



If you ever want to just upload some stuff to the repo you can use a script like this:

name=jarjar
version=1.4.1
file=dist/${name}-${version}.jar
pack=dist/${name}-${version}.pack.gz
echo Packing ${name} ...
pack200 ${pack} ${file}
echo Checksums...
md5sum ${file} | cut -f 1 -d' ' > ${file}.md5
sha1sum ${file} | cut -f 1 -d' ' > ${file}.sha1
md5sum ${pack} | cut -f 1 -d' ' > ${pack}.md5
sha1sum ${pack} | cut -f 1 -d' ' > ${pack}.sha1
echo Uploading...
s3cmd -P --add-header=Cache-Control:"public, max-age=3600" put ${file} ${file}.md5 ${file}.sha1 ${pack} ${pack}.md5 ${pack}.sha1 s3://repo.bodar.com/com/googlecode/${name}/${name}/${version}/












Reply all
Reply to author
Forward
0 new messages