That's awesome! Thanks James!
On Mon, Apr 29, 2013 at 10:46 PM, James Reeves <ja...@booleanknot.com>wrote: > I've been messing around with jME3 as well, and at some point I might > release a library for it. > > One of the problems with jME3 is that its deployment mechanism hasn't > quite caught up with the current century. I'm planning on packaging it up > eventually, but in the meantime here's the ugly, dirty, terrible hack I've > been using: > > 1. Download the binaries: > http://www.jmonkeyengine.com/nightly/jME3_2013-04-29.zip > 2. Create a new directory and extract the zip file into it > 3. Create a new Leiningen project > 4. Add the following to your project.clj file: :resource-paths ["lib/*"] > 5. Copy the lib directory from the jME3 binaries into your project > directory > > Here's an example application to get you going: > > https://gist.github.com/weavejester/5484183 > > - James > > > On 29 April 2013 20:02, Alex Fowler <alex.murat...@gmail.com> wrote: > >> Hello! I have a problem, I will try to explain.. I want to write a game >> with Clojure and JMonkeyEngine (http://jmonkeyengine.com/). So I take >> their latest nightie set of jars (http://jmonkeyengine.com/nightly/) >> and.... what? I can't make use of them in my CCW/Leiningen project no >> matter how hard I try. So ok, I have found some examples where people get >> them in the "lib" folder and it works, or where they recommend pushing them >> to the local maven repo... but they do not tell how they do it, or they >> show it for some very simple cases. Sure, there is a lot of instructions >> like "use mvn install:install-file <a-lot-of-stuff-goes-here>" or "lein >> localrepo install <less-stuff-but-hey>"... so do I have to do it for all >> the 30 (thirty) jar files? Considering too, that I have to invent an >> "artifactId" for every one of them, invent a "version number", type all >> that in manually. And that is not my library, I do not want to invent that. >> And even, if I do that, then, how do I specify that all them are >> interdependant (are parts of one thing) and have to be always drawn in >> together? I will have to specify the 30 dependencies in my project.clj each >> time? Well, and even if I do, then I will still have that pain with >> manually copying all that stuff on each new machine where I work, picking >> it from the local maven repo and putting it to another maven repo..... And >> if I want to push it to Clojars, I have do that for each one manually too, >> typing in commands in the Windows cmd and taking care for inventing version >> numbers?... oh, and maybe I could go about specifying <dependency> clauses >> in a pom? pinch me am I dreaming a nightmare? :) >> >> I have tried to do something along these lines... spent about 15 hours in >> general and got almost nothing but headache and eyesore... and a feeling of >> being extremily stupid for not being able to plug a few jars into a jvm >> program (isn't java all just about putting jars together? :) ). I am a >> Clojure newb and maybe I am missing somewhat essential.. but in Scala, with >> or without SBT, using Scala IDE for Eclipse, I got everything up and >> running in about 15 minutes. >> >> Please, could anyone give me a clear explanation or better, a full >> example of plugging in the JME3 into a Clojure project? Shouldn't it be >> simple? Thank you in advance, the situation is really disappointing for me >> :( >> >> -- >> -- >> 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/groups/opt_out. >> >> >> > > -- > -- > 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/groups/opt_out. > > > -- -- 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/groups/opt_out.