2009-03-14:
[7:39] <jirkap> hello Chris, I am sorry for very late response, I suddenly took a vacation that day :) Replying to this: http://helma.server-side-javascript.org/hopbot/2009-03-07[7:49] <jirkap> What I meant was dynamically adding a static repository, I presume the addRepository() won't work in this case because it would need some 'this is static' attribute? Therefore static .js or .css won't load.[7:51] <jirkap> In other words, I would like to add jquery to my module's static repository. As it will be static anyway, it makes more sense that way (and its easier to work with).[8:03] <zumbrunn> jirkap: "repositories" in helma 1.x lingo are for loading application code[8:03] <zumbrunn> there are no "static repositories"[8:04] <zumbrunn> just static mountpoints[8:04] <zumbrunn> which is what you would configure in apps.properties[8:04] <zumbrunn> but you wanted to be able to add static mountpoints manually, right?[8:05] <zumbrunn> ehm... s/manually/dynamically[8:06] <jirkap> aha... I'd like the static mountpoint to be available when the module gets loaded/added as a repository[8:06] <zumbrunn> modules do not have static mountpoints[8:06] <zumbrunn> applications do[8:07] <zumbrunn> what do you consider a "module"?[8:07] <jirkap> hm.. so that's a no go.[8:08] <zumbrunn> module == application or module == repository[8:08] <zumbrunn> ?[8:08] <jirkap> module == repository[8:08] <jirkap> no?[8:09] <zumbrunn> yes, that's what I thought you meant[8:10] <zumbrunn> yeah, that wont work short of trying to dynamically getting to the jetty servlet container and adding an additional servlet[8:11] <zumbrunn> which I have never seen done from within a running helma servlet[8:12] <zumbrunn> you could look at the source code of the manage app, though[8:12] <zumbrunn> I think you will find ways to dynamically add an application[8:13] <zumbrunn> and since an application can have a static mountpoint, you can add new static mountpoints dynamically by creating "dummy applications"[8:14] <zumbrunn> with dummy application, I mean an app of which you do not actually use the dynamic mountpoint[8:14] <jirkap> Ohooo.. !! I get it! I mixed up the welcome and manage apps and thought 'what the hell does he mean?'[8:14] <jirkap> great great. This is far more better way.[8:14] <zumbrunn> the way the manage app does this is a bit complicated, though[8:16] <jirkap> Hm, Helma is currently just a hobby for me so I can digg into it in my spare time[8:17] <zumbrunn> you could also dynamically fiddle around with the apps.properties file[8:18] <jirkap> That also crossed my mind. But in the reference is stated 'read-only' next to the only apropriate method I found, right?[8:19] <jirkap> (array) app. properties[8:19] <zumbrunn> yes, short of hacking it via the File api[8:19] <zumbrunn> clearly, a very dirty solution[8:20] <jirkap> Even I can see that :)[8:20] <jirkap> Meaning its dirty.[8:20] <zumbrunn> :-)[8:21] <jirkap> Ok, thanks, you helped a lot (as usual)[19:35] <koolaid> hi, i'm new to java and i'm having a hard time building helma. It would be great if you could nurse us noob thru it in the install instructions.[19:35] <koolaid> also, you web site registration doesn't work (or doesn't say why it[19:35] <koolaid> 's not working)
In the channel now:
Logs by date: