Ringobot log - RingoJS IRC channel: #ringojs on irc.freenode.net

2010-07-12:

[7:23] <gmosx> good morning...
[8:06] <gmosx> hannesw: here?
[8:07] <hannesw> gmosx, yep
[8:07] <gmosx> hannesw: thanks for the jar fix... that was GREAT
[8:07] <hannesw> you're welcome :)
[8:07] <hannesw> was just a small patch
[8:07] <gmosx> hannesw: I am wondering, is it possible to add the slf4j jars inside ringo.jar?
[8:08] <hannesw> that's easily possible
[8:08] <gmosx> I want to cleanup the WEB-INF/lib dir...
[8:08] <gmosx> could you *please* consider doing this?
[8:08] <hannesw> but wouldn't be a good idea to do out of the box, as it obfuscates the setup
[8:08] <gmosx> pretty please?
[8:08] <hannesw> why?
[8:08] <gmosx> I think it simplifies the setup...
[8:08] <gmosx> I have a simple example
[8:09] <gmosx> and there are6 jars in WEB-INF/lib
[8:09] <gmosx> for a hello world example...
[8:09] <gmosx> I would like to only have the 2 appengine jars, js.jar and ringo.jar
[8:10] <gmosx> I would like to make the examples as easy to understand, and lightweight as possible...
[8:10] <gmosx> slf4j-jdk14-1.5.10.jar looks 'scary' even to me... ;-)
[8:11] <gmosx> had to google it to find what this is, and I am not even using this in the example, still have to include this though...
[8:11] <hannesw> can't you use some sort of app skeleton?
[8:12] <gmosx> the first experience is everything...
[8:12] <gmosx> if the developer downloads the example and sees a confusing directory structure...
[8:12] <gmosx> you have lost him...
[8:12] <gmosx> he would not stick around to even care for app skeletons, etc...
[8:14] <hannesw> you could do a special ant task that packs everything you need for app engine into a single jar file
[8:14] <hannesw> would that help
[8:14] <hannesw> ?
[8:17] <gmosx> yeah, the problem is I am not experienced with ant/jars...
[8:17] <gmosx> anw, will check this later...
[10:40] <gmosx> hannesw: here?
[10:41] <gmosx> hannesw: check out the updated example: http://www.nitrojs.org/appenginejs/appengine-example.tar.gz
[10:41] <gmosx> It's a lot simpler thanks to support fro app.yaml (and modules in ringo.jar)
[13:19] <mschwartz> oberhamsi: you about?
[13:20] <oberhamsi> mschwartz, yup hi
[13:20] <mschwartz> heya
[13:20] <mschwartz> I was thinking the .zip file for helma should definitely have the start.sh in it
[13:21] <mschwartz> I explain the way I set things up in my 2nd article for JSMag
[13:21] <mschwartz> basically
[13:21] <oberhamsi> mh, this came up before me thinks. lets move to #helma
[13:21] <mschwartz> I use virtualbox to install an Ubuntu guest in my Windows 7 machine
[13:21] <mschwartz> oops
[13:21] <mschwartz> my bad
[23:50] <oravecz> does anyone know the syntax for referencing Java's static import functionality from a javascript file?
[23:58] <earl> hm, do you really need that?
[23:59] <earl> a destructuring assignment should achieve the same effect, i think
[23:59] <earl> var {PI} = java.lang.Math; // untested!
[23:59] <oravecz> i've written this but not tested it yet:
[23:59] <oravecz> var settingsBuilder = Packages.org.elasticsearch.util.settings.ImmutableSettings.settingsBuilder;