If you can't figure out how to build the JAR, you can try copying the Java source code directly into your Clojure project. Leiningen allows you to specify :java-source-paths in your project.clj, as seen here (https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L276). Then you can (:import (org.boris.pecoff4j SectionHeader .. other classes )) in your Clojure namespace declarations.
On Tuesday, September 2, 2014 11:07:32 AM UTC-4, Wilker wrote: > > Hello, > > I'm trying to use this Java library on my project: > https://github.com/kichik/pecoff4j > > But I'm still very new to the whole ecosystem, I was looking for some way > to first convert this to a jar, and then to load this jar into my Leiningen > project, I found a few posts on internet like this one: > > > http://www.elangocheran.com/blog/2013/03/installing-jar-files-locally-for-leiningen-2/ > > But they don't cover how to build the jar from the sources in first place, > and those seem a bit old. > > How is a good way for me to get the pecoff4j in my project? Another detail > is that my project is a Leiningen plugin, so I need to have this dependency > shared with the plugin users. > > Thanks. > --- > Wilker LĂșcio > http://about.me/wilkerlucio/bio > Woboinc Consultant > +55 81 82556600 > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.