that seems unsafe. I'd rather use a nightly zip or what I am currently using, jme3 engine as project in eclipse and when needed ant build it and have my project always refer to the lib folder in the dist ie. I've these 2 lines in my project:
:bootclasspath false;false is needed here for JME3 specified in :resource-paths below; else it will fail with ClassNotFoundException com.jme3.app.SimpleApplication java.net.URLClassLoader$1.run (URLClassLoader.java:366) :resource-paths ["resources", "../jme3_engine/dist/lib/*"] ;needs eclipse project present: jme3_engine from trunk/engine ie. https://code.google.com/p/jmonkeyengine/source/browse/#svn%2Ftrunk%2Fengine and make sure you ant build it once to create and populate dist/lib/ folder works fine for me in eclipse/ccw btw, maybe you(Jonathan) and James could focus your efforts and release one clojure jme3 library instead of two (eventually), or not... just a thought. It would seem like a waste if there will be two. (like hermes and titanium people are focusing only on titanium now) It'd be really cool to have a clojure 3D lib based on jme3 On Mon, Apr 29, 2013 at 11:21 PM, Jonathan Fischer Friberg < odysso...@gmail.com> wrote: > I'm currently making a library for jmonkeyengine. It's not > ready yet, however, a while back I decided to put jme in a repository. > > Url: "http://jmonkeyengine.s3-website-eu-west-1.amazonaws.com/" > Add to deps: [jme "2013-04-01"] > > The biggest problem with it right now is that it contains all test models > and textures, which I didn't realise at the time (this accounts for more > than half of the size). But it's quick & easy if you want to give it a go. > > Jonathan > > > > On Mon, Apr 29, 2013 at 9:56 PM, AtKaaZ <atk...@gmail.com> wrote: > >> 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. >> >> >> > > -- > -- > 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.