Thankew to all who have answered. A relief is to find me not alone. I will write a composite answer to all proposals at once.
I have done an extensive googling during my initial search and found the Aurellem blog to be a very insighting and profound. I planned to start coupling Clojure and JME3 along the very lines that are described there. I am a lisp newb and what is written in the blog looks so charmingly lispy that I can't stop admiring it. But there is no explanation on how they do the initial setup. All other blogs and places, either fail in this too or reference outdated versions of the engine. For example, there is JME3 on Clojars, but the version is heavily outdated. I agree that one of the main problems with the library is that its creators are known to be hardcore java people without any interest in promoting JME3 to other jvm languages. There were some clashes on their forums for that. Whatever their position is, although I do not consider it is worth fighting for that fiercely, I can see some sense in what they're saying.. but anyways.. that leaves the engine somewhat behind present time trends and leaves us without official support for other JVM languages, without any hope for them to change their minds. I think that for today I will stick with the "lib" folder solution, proposed by James, but I encourage the knowledgefull people Jonathan and James to work together to deliver a Clojars or Amazonaws online repository with more-or-less daily update, since the engine is really well-maintained. And a Clojure wrapper? I also think that there is no need to strip away the testdata since it contains many materials and shaders good for prototyping or prodution. If the JME-Clojure adaptation initiative will fire up, I can try to contribute something - like 2D GUI framework based entirely on JME 3D objects with TUIO touch integration with gestures. I already have built a framework around JME in Scala and I believe that some concepts and features of it I will also need for Clojure projects so I can share them with the kind community. That, for example, could well serve for data visualisation and manipulation on big touchscreens. So I will try what you have proposed some time later in today and I hope all will be fine.. :) thank you! вторник, 30 апреля 2013 г., 0:59:26 UTC+4 пользователь AtKaaZ написал: > > 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 < > odys...@gmail.com <javascript:>> 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 >> <javascript:>>wrote: >> >>> That's awesome! Thanks James! >>> >>> >>> On Mon, Apr 29, 2013 at 10:46 PM, James Reeves >>> <ja...@booleanknot.com<javascript:> >>> > 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.m...@gmail.com >>>> <javascript:>>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 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/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 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/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 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/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 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/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.