Ironclad was designed to be built as a self-contained jar with all dependencies using the mvn assembly plugin, as follows:
mvn assembly:single This does something pretty much equivalent to lein uberjar I pushed a couple of updates including documenting how to build to the latest develop branch. On Monday, 28 September 2015 02:45:13 UTC+8, Nicolás Berger wrote: > > Now I had to try it by miself :). My result: `mvn package` outputs the > jar (apart from running some tests, etc), but it doesn't work as `java > -jar ...` as I said: it's missing the :main entry point, and after > that I guess the dependencies will be missing (it's not an uberjar, so > we need to build the classpath in some way). > > About ant, the closed issue I linked has a comment from mikera saying > "Good spot. I just deleted the build.xml - it's an old relic, and new > builds should just use the pom". But the build.xml is still there, so > it might work, after fixing the hardcoded paths like > "E:/Users/Mike/Desktop/ironclad.jar" (or creating those directories, > of course). > > On Sun, Sep 27, 2015 at 3:10 PM, Gregg Reynolds <d...@mobileink.com > <javascript:>> wrote: > > Looks like Ant to me. > > > > On Sat, Sep 26, 2015 at 7:01 PM, <cyc...@speakeasy.net <javascript:>> > wrote: > >> > >> Hi, I'm trying to run/compile the project at > >> https://github.com/mikera/ironclad, with Leiningen, and no luck. > >> > >> My first attempt was trying to run it with lein, but as there's no > >> project.clj, that failed. After some research, it looks like I'm > supposed > >> run the project from Java, not Clojure. So my second attempt was lein > javac > >> IronClad.java, but that did absolutely nothing. > >> > >> I found a build.xml makefile that looked promising, it had lines like: > >> > >> <target name="create_run_jar"> > >> <jar destfile="E:/Users/Mike/Desktop/ironclad.jar"> > >> <zipfileset > >> > src="E:\Programs\eclipse\plugins\org.junit_4.8.1.v4_8_1_v20100427-1100\junit.jar"/> > > > >> > >> > >> but it looked generated by Eclipse, which I don't have. Also, I'm not > >> clear if that requires Maven or something. > >> > >> I'm running on Windows, and have installed JDK 1.7 and Leiningen, no > >> Maven/Eclipse or other Java-related tools. > >> > >> What is the best way to build this project? > >> > >> -- > >> You received this message because you are subscribed to the Google > >> Groups "Clojure" group. > >> To post to this group, send email to clo...@googlegroups.com > <javascript:> > >> Note that posts from new members are moderated - please be patient with > >> your first post. > >> To unsubscribe from this group, send email to > >> clojure+u...@googlegroups.com <javascript:> > >> 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+u...@googlegroups.com <javascript:>. > >> For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to clo...@googlegroups.com > <javascript:> > > Note that posts from new members are moderated - please be patient with > your > > first post. > > To unsubscribe from this group, send email to > > clojure+u...@googlegroups.com <javascript:> > > 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+u...@googlegroups.com <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > -- 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.