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

2008-07-12:

[12:20] <decke> has anyone setup his helma installation with "apps" outside of HELMA_HOME ? because it seems to ignore appHome
[13:14] <zumbrunn> really?
[13:14] <zumbrunn> appHome is kind of the old way of doing this anyway, or not?
[13:15] <zumbrunn> with the new way being repositories in apps.properties
[13:21] <decke> don't know but i try to find a way at the moment.... i am just a bit confused by all these directories that helma allows to define...
[13:23] <zumbrunn> have you tried both relative and absolute path definitions?
[13:23] <decke> it's for the freebsd port so i want to set an valid "base"
[13:24] <decke> to something like /usr/local/www/helma/
[13:24] <zumbrunn> maybe the problem is that they need to be relative to the helma home path
[13:25] <zumbrunn> (just guessing)
[13:25] <decke> that is what i was expecting too
[13:25] <decke> but i already have hopHome and appHome set
[13:27] <zumbrunn> so, outside helma home might work only like this: ../../../foo/bar/apps
[13:28] <decke> it's kind of strange... the manage app works... at least it gets me to manage/makekey but the welcome doesn't
[13:28] <decke> action not found...
[13:29] <zumbrunn> well, the welcome app uses repository settings in apps.properties
[13:29] <zumbrunn> while manage doesn't
[13:29] <decke> i have added a debug line to the FileRepository.java constructor that outputs: directory.getAbsolutePath()
[13:30] <decke> that should be what the "base" of the repository is
[13:30] <decke> and i get..
[13:30] <decke> DEBUG3: /usr/local/share/java/helma/apps/welcome/code
[13:30] <decke> DEBUG3: /usr/local/www/helma/apps/manage
[13:30] <decke> so manage seems okay - welcome uses an wrong base .... seems to be constructed from HELMA_HOME or something like that
[13:31] <decke> and you are right welcome defines the repository with "apps/welcome/code"
[13:31] <zumbrunn> yep, that's the one
[13:32] <decke> okay let's have a look where i have "/usr/local/share/java/helma" defined
[13:33] <decke> btw
[13:33] <decke> hopHome = /usr/local/www/helma
[13:33] <decke> appHome = /usr/local/www/helma/apps
[13:33] <zumbrunn> so, just for the record, an absolute path for appHome works fine
[13:33] <zumbrunn> doesn't need to be relative
[13:34] <decke> if that is what the manage app uses then yes
[13:34] <zumbrunn> looks like it from your debug output
[13:35] <zumbrunn> (and you said the manage app is working)
[13:36] <decke> yes that one works
[13:36] <decke> okay i have found it: homedir:   /usr/local/share/java/helma
[13:36] <decke> the manage app tells me...
[13:39] <decke> that is where launcher.jar and lib are
[13:39] <zumbrunn> and apps.properties you have in hopHome I guess?
[13:40] <zumbrunn> or in homedir?
[13:40] <decke> erm no apps.properties is defined in server.properties as appsPropFile = /usr/local/etc/helma/apps.properties
[13:40] <zumbrunn> oh, wow! :-)
[13:41] <decke> the same things should come up as soon as someone plays with an debian installation ;o)
[13:41] <zumbrunn> very freebsd style ;-)
[13:41] <decke> for an quick overview... all configuration is in /usr/local/etc/helma, db in /var/db/helma, log in /var/log/helma, the apps in /usr/local/www/helma/apps
[13:41] <decke> and all the data in /usr/local/share/java/helma/
[13:42] <decke> and there is a helma startscript in /usr/local/bin and an rc startscript in /usr/local/etc/rc.d
[13:43] <zumbrunn> ok, that's a *real* port
[13:43] <decke> *g* oh yeah...
[13:44] <decke> okay it works if i put an absolute path in the repositories
[13:45] <zumbrunn> but a relative path in apps.properties should probably be realtive to hopHome, not homedir
[13:46] <decke> that would be more correct i think...
[13:47] <zumbrunn> I agree
[13:47] <zumbrunn> care to file a bug?
[13:48] <decke> as soon as i have an patch of cause...
[13:48] <zumbrunn> that's even better, yes
[13:48] <decke> i hope it shouldn't take that long....
[13:49] <decke> because the rest of the weekend is planned for the jetty7 patch ..
[13:49] <zumbrunn> that's *even* better
[13:50] <decke> and the freebsd port is in a quite good state now...
[13:51] <decke> i don't want to call it finished but there aren't that many missing parts
[14:07] <decke> i got it... works now
[14:17] <decke> it's not perfect but it does the job... https://svn.bluelife.at/index.cgi/packages/view/freebsd-ports/helma/files/patch-ApplicationManager.java.patch

 

 

In the channel now:

Logs by date: