Hopbot log for 2009-04-08 - Helma IRC channel: #helma on irc.freenode.net

2009-04-08:

[7:17] <hannesw> google app engine support for java: http://code.google.com/appengine/docs/java/overview.html
[7:17] <hannesw> woohoo!
[8:48] <hannesw> helma ng is running on google app engine like a charm
[8:48] <hannesw> just have to wait for google to enable java runtime on my account...
[8:48] <hannesw> (so i can upload the app)
[16:07] <wesper> Will code written in Helma work transparently in Helma NG?
[16:09] <simono> no, helma-ng will break backwards compatibility
[16:09] <simono> though ng is much nicer imo :)
[16:16] <wesper> Where can Helma-NG be downloaded?
[16:25] <zumbrunn> wesper: just click the download link on this page: http://github.com/hns/helma-ng/tree/master
[16:28] <zumbrunn> (that just provides the source, but it is easy to build afterwards)
[16:29] <zumbrunn> inside the helma-ng folder you downloaded, just do "ant package"
[16:46] <wesper> Ty
[17:06] <hannesw> tada - helma ng running on google appengine: http://helma-ng.appspot.com/
[17:36] <decke> cute :o)
[18:44] <hannesw> this is interesting: a view into the google appengine infrastructure:
[18:44] <hannesw> http://helma-ng.appspot.com/logging?error=1#error
[18:44] <hannesw> they're using jetty as their servlet container (not surprisingly)
[19:36] <hannesw> ah, leobm, thanks for the array enhancements.
[19:36] <hannesw> didn't know you can do this with Math.max/min.
[19:38] <leobm> ah, ok
[19:40] <leobm> I played today with Iterator/generator. does anyone know if the it.send(value) method is working ?
[19:40] <leobm> or I think w
[19:41] <leobm> I do not understand it.
[19:55] <hannesw> me neither
[19:55] <hannesw> i think i understood it once, for half a second
[20:03] <gozala> Hi can anyone give me some tips on how to get helma working on app engine
[20:05] <decke> gozala: hannesw managed to get it working ... so he is your best bet
[20:05] <hannesw> hi gozala
[20:06] <hannesw> do you work with the eclipse plugin or the command line sdk?
[20:08] <decke> hannesw: how about a blog post? would probably be interesting for a lot of people ...
[20:09] <hannesw> yes, maybe
[20:09] <gozala> yeap
[20:09] <gozala> it will be great
[20:09] <gozala> Well both instructions will be good enough
[20:09] <gozala> as eclipse so command line
[20:10] <gozala> or a wiki page at dev.helma.org
[20:11] <gozala> Actually I meant helma-ng :)
[20:23] <gozala> So is it simple to do with eclipse plugin ?
[20:25] <hannesw> yes, it's simple. have a look at this page:
[20:25] <hannesw> http://code.google.com/appengine/docs/java/gettingstarted/installing.html
[20:26] <hannesw> here's a screenshot of what eclipse looks like with an appengine project:
[20:26] <hannesw> http://www.henso.com/files/appengine-jack/appengine-jack.png
[20:26] <hannesw> although this one uses the new jack servlet. but it's pretty much the same with the helmaservlet
[20:52] <hannesw> more good news:
[20:52] <hannesw> helma ng is passing the full interoperablejs compliance test suite
[20:52] <hannesw> http://code.google.com/p/interoperablejs/source/browse/#svn/trunk/compliance
[20:53] <hannesw> (except you have to move print() to sys.print() in global.js)
[21:10] <gozala> ok and what is app.js ?
[21:10] <gozala> main.js ?
[21:16] <hannesw> in this case app is where the jack application sits
[21:16] <hannesw> as i said, it's not a helma (webapp framework) screenshot
[21:16] <hannesw> with helma, you'd just copy the modules directory and the app directory to WEB-INF
[21:17] <gozala> but I got a jack
[21:17] <gozala> :)
[21:17] <hannesw> and then set the modulePath servlet init parameter to "app,modules"
[23:30] <gozala> hannesw: Sorry for annoing but I still can manage to make it work
[23:31] <gozala> <servlet-class>org.helma.jack.JackServlet</servlet-class>
[23:31] <hannesw> no problem,
[23:31] <gozala> should be this or
[23:31] <gozala> <servlet-class>org.helma.jack.HelmaServlet</servlet-class>
[23:31] <hannesw> where are you? where's the problem?
[23:31] <hannesw> nope: it's org.helma.web.HelmaServlet
[23:31] <gozala> whell in case of jack it looks for app.js
[23:31] <gozala> ok in caso of
[23:32] <gozala> HelmaServlet
[23:32] <hannesw> but jack isn't supported by helma webapp currently.
[23:32] <hannesw> so better use HelmaServlet
[23:33] <gozala> SERVICE_UNAVAILABLE
[23:33] <hannesw> you have the jar files in war/WEB-INF/lib
[23:33] <hannesw> and the js files in war/WEB-INF/modules?
[23:33] <gozala> yes I have copied all the mnodules
[23:34] <gozala> sorry I was wrong error is
[23:34] <gozala> moduleName servlet parameter not defined
[23:34] <hannesw> ok here is my web.xml file: http://helma.pastebin.com/f2ad6d7ca
[23:35] <hannesw> you probably have to define all the init-param elements
[23:35] <gozala> yeap I tried but guess
[23:36] <gozala> I know what I was missing now
[23:36] <gozala> thanks a lot
[23:36] <hannesw> servlet-name is probably different for you
[23:36] <hannesw> no problem, sorry for not helping earlier
[23:36] <hannesw> so helmaHome is the base path. it should be WEB-INF for you too.
[23:37] <hannesw> modulePath is where your app modules are.
[23:37] <hannesw> "modules" is added automatically to that, so you only need to define the actual application.
[23:37] <hannesw> did you copy the whole modules directory into WEB-INF?
[23:37] <hannesw> that's also important.,
[23:38] <gozala> yes I did
[23:39] <hannesw> ok, then let's see...
[23:42] <gozala> oh I have to copy the modules inside the dom app itself ?
[23:43] <gozala> no no it works !!
[23:43] <gozala> thnx
[23:43] <gozala> there some problem with render function but think I'll figure out
[23:47] <hannesw> cool!

 

 

In the channel now:

Logs by date: