Re: [ANN] rocks.clj/z 0.1.0-SNAPSHOT (alpha)

2018-01-04 Thread Edward Knyshov
I got it guys, thank you. I'll investigate the possibility and benefits of migration to java nio and let you know when it's done. Gary Verhaegen wrote > To (possibly) clarify, I think what Tim meant was more along the lines > of "have your code depend on the java.nio package, which mea

Re: [ANN] rocks.clj/z 0.1.0-SNAPSHOT (alpha)

2018-01-04 Thread Gary Verhaegen
To (possibly) clarify, I think what Tim meant was more along the lines of "have your code depend on the java.nio package, which means it will die at compile time on Java 1.6 and lower with a ClassNotFountException, and therefore say in the README that this requires Java 1.7+". On 4 January 2018 at

Re: [ANN] rocks.clj/z 0.1.0-SNAPSHOT (alpha)

2018-01-04 Thread Tim Visher
On Thu, Jan 4, 2018 at 12:04 AM, Edward Knyshov wrote: > Thanks :) > > I haven't considered using nio Zip FileSystem just because I never heard > of it, but I'll definitely check it out. > > Regarding targeting to java 7, should something like this set up targeting > properly? > > :javac-options

Re: [ANN] rocks.clj/z 0.1.0-SNAPSHOT (alpha)

2018-01-03 Thread Edward Knyshov
Thanks :) I haven't considered using nio Zip FileSystem just because I never heard of it, but I'll definitely check it out. Regarding targeting to java 7, should something like this set up targeting properly? :javac-options ["-target" "1.7" "-source" "1.7"] Edward. On Wed, Jan 3, 2018 at 8:29

Re: [ANN] rocks.clj/z 0.1.0-SNAPSHOT (alpha)

2018-01-03 Thread Tim Visher
On Wed, Jan 3, 2018 at 6:56 AM, Edward Knyshov wrote: > Hi, I made a simple wrapper around java.util.zip. > Basically it only allows you to compress files or unpack/process zip > archives. > This looks neat. :) Have you considered targeting Java 7 and using the nio Zip FileSystem? https://docs.

[ANN] rocks.clj/z 0.1.0-SNAPSHOT (alpha)

2018-01-03 Thread Edward Knyshov
Hi, I made a simple wrapper around java.util.zip. Basically it only allows you to compress files or unpack/process zip archives. There is nothing special about it, but it simplifies code a lot when dealing with zip files. It's an alpha release and I was just hoping that someone could take a look