Hopbot log for 2008-07-31 - Helma IRC channel: #helma on irc.freenode.net

2008-07-31:

[8:08] <simono> whats wrong with the logger? http://helma.zumbrunn.com/hopbot/
[8:08] <zumbrunn> it's back now
[8:09] <zumbrunn> nick collsion
[8:10] <simono> thanks
[8:10] <zumbrunn> hopbot should be able to ghost itself after getting disconnected and automatically reconnect
[8:11] <zumbrunn> but sometimes freenode somehow refuses to ghost the old connection
[9:30] <mib_fcsmvf> hi, any one with experience on using netbeans as a javascript editor to develop helma apps?
[9:31] <zumbrunn> not me, I haven't tried netbeans in a long time
[9:33] <zumbrunn> I've been thinking netbeans grew to be a monstrous beast
[9:33] <zumbrunn> am I wrong?
[9:33] <mib_fcsmvf> i read about it being good and how it 'parses' third party libraries to do code completion. heard that it builds ast to do better code completion
[9:33] <mib_fcsmvf> and can work with any library and do not need to build for particular library
[9:33] <mib_fcsmvf> yes it is big
[9:33] <mib_fcsmvf> but i thought you could choose the modules you want to work with
[9:35] <mib_fcsmvf> has refactoring for javascript
[9:35] <mib_fcsmvf> http://www.netbeans.org/kb/61/ide/javascript-editor.html
[9:40] <zumbrunn> which version of the netbeans download is the most appropriate for helma related development?
[9:40] <zumbrunn> Java SE or Web & Java EE ?
[9:40] <zumbrunn> in other words, do you know if the Java SE one contains the Javascript stuff?
[9:45] <mib_fcsmvf> i would download se
[9:45] <mib_fcsmvf> and update with javascript related modules if it isn't already present
[9:45] <mib_fcsmvf> let me start my netbeans (SE) and check if ti already has javascript
[9:47] <mib_fcsmvf> it doesn't have javascript
[10:21] <robi42> BTW, IMHO the best IDE style JS editor out there still is the one included in IntelliJ IDEA (which is commercial software, though).
[10:21] <robi42> -> http://www.jetbrains.com/idea/features/javascript_editor.html
[13:40] <jirkap> hello, as I promised I'm back :) I really haven't got much far. After having some difficulties with that mod_proxy connection settings I decided to reinstall everything and try the mod_jk way again, and it works and at least, this way makes more sense to me so it is ok. Now what the problem is: I would like to mount Helma to /localhost/helma instead of http://localhost (which works fine). So I have set up 'JkMount /helma/* helma' in httpd.conf. Sinc
[13:49] <zumbrunn> jirkap, you got cut off there after ...Sinc
[13:51] <zumbrunn> one thing you could try is specify a mountpoint /helma/ for your app in apps.properties
[13:51] <zumbrunn> myapp.mountpoint = /helma/
[13:52] <jirkap> I tried, that does not work either..
[14:01] <jirkap> basically, the problem is the same as described here: http://osdir.com/ml/java.helma.general/2006-11/msg00007.html except that accessing the 'manage' app gives me 404, instead of taking me back. So I guess I would have run into these problems anyway.
[14:08] <jirkap> zmbrunn > Sinc! I've just got it :) Let me try again: Now what the problem is: I would like to mount Helma to http://localhost/helma instead of http://localhost/ (which works fine). So I have set up 'JkMount /helma/* helma' in httpd.conf.
[14:09] <jirkap> The idea was I would set up baseURI=http://localhost/helma in server.properties, so it would apply to the 'whole Helma'
[14:10] <jirkap> I tried many statements like /helma etc, but only 'baseURI=http://localhost:8080/helma' works, which is probably not what I'm trying to accomplish
[14:12] <jirkap> as it probably involves Jetty as it does without Apache in between
[14:15] <jirkap> anyway, I also tried to modify apps.properties to welcome.mountpoint=/helma (or '/helma/'), but it gives no better results..
[14:16] <jirkap> so now I am able to access (with baseURI=/helma or welcome.mountpoint=/helma or both) the Welcome app at http://localhost/helma but
[14:16] <jirkap> all links still point to http://localhost/ and static files are unavailable..
[16:35] <zumbrunn> jirkap, the static urls in the welcome app are hardwired to /static/... if I remember correctly
[16:36] <zumbrunn> the app doesn't adjust that if you specify a different mountpoint in apps.properties
[16:38] <zumbrunn> I would expect the combination of 'JkMount /helma/* helma', 'welcome.mountpoint=/helma' and no baseURI to work
[16:38] <zumbrunn> but maybe I'm wrong
[16:38] <zumbrunn> are you sure you tried that combination, though?
[16:41] <zumbrunn> (the static files at /static/* would be have to be served by apache, not passed through to jetty, in that case)
[16:46] <zumbrunn> jirka, have you read the channel log?
[16:47] <zumbrunn> jirkap
[16:47] <zumbrunn> or did you get things working in the mean time?
[16:54] <jirkap> yes, I've just noticed your reply. Well, I tried that. But it seems I misunderstand the whole thing :)
[16:57] <zumbrunn> well, I might remember it wrong, too
[16:59] <jirkap> It works that way you suggested since the beginning, that was the first thing I did (acoording to the tutorial)
[17:00] <zumbrunn> oh, ok
[17:00] <zumbrunn> then at least I remembered correctly
[17:02] <jirkap> the problem is that links are not being updated, e.g. the link in the 'welcome' app to the 'manage' app still points to localhost/manage instead of localhost/helma/manage, but now I guess that is not a Helma problem :) I will have to set this up in Apache, right?
[17:03] <zumbrunn> that's just because the welcome app is stupid
[17:04] <zumbrunn> it contains some hardwired stuff and is't written to work if you configure things differently
[17:04] <zumbrunn> it's not a problem of helma, just a shortcoming of the welcome app
[17:05] <zumbrunn> manage is a separate app, independent of the welcome app
[17:06] <zumbrunn> ok, I see now...
[17:06] <zumbrunn> you want the jetty /* to be at the apache /helma/* including static files and everything
[17:07] <jirkap> YES
[17:09] <jirkap> I should have thought more before posting here, sorry
[17:10] <zumbrunn> why?
[17:10] <zumbrunn> the fact that the welcome app is to stupid still applies
[17:11] <jirkap> That expression is covers all the lines I typed here today :)
[17:11] <zumbrunn> it contains hardcoded urls that won't change the baseURI
[17:12] * zumbrunn won't change *based on* the baseURI
[17:14] <zumbrunn> you'll be able to write your apps to behave the way you like
[17:15] <zumbrunn> the welcome app just wasn't written that way
[17:15] <zumbrunn> some of the needed introspection methods didn't exist yet when I wrote that code
[17:20] <jirkap> ok then, thanks for explanation
[17:26] <jirkap> I rather let all this go and start using it in its default Jetty setup. I probably grabbed the wrong end..
[17:27] <zumbrunn> yep!
[17:28] <zumbrunn> being able to start off with helma without having to fiddle with apache and tomacat and mod_jk and, and, and, is one of the things that is nice about working with helma!
[17:29] <jirkap> You should have told me :) See you
[17:29] <zumbrunn> ;-)

 

 

In the channel now:

Logs by date: