Re: Standalone servlet helma.home

"Maksim Lin for technical support mailling lists" <[email protected]> Tue, 14 Oct 2008 11:19:38 +1100
Newsgroups gmane.comp.java.helma.general
Message-ID <[email protected]>
Hi Patrick,

Having a quick look through the 1.6.2 src it looks like the helma.home
property is set, but not read by getInstallDir() in Main.java.
Looking at its code, looks like there are a number of places where the
location can come from:

- "-i" on the cmd line
- the jar url that the Main class is loaded from
- System.getProperty("user.dir")

https://dev.helma.org/trac/helma/browser/helma/helma/tags/helma_1_6_2/sr
c/helma/main/launcher/Main.java#L148

Maks.

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Patrick Lee
> Sent: Tuesday, 14 October 2008 09:25
> To: Helma User Mailing List
> Subject: [Helma-user] Standalone servlet helma.home
> 
> Hi,
> 
> I'm trying to set helma.home for helma running under tomcat. 
> On windows helma.home seems to be the System32 directory.
> 
> I've tried setting helma.home via -Dhelma.home passed in to 
> tomcat but Helma is not using that.
> 
> Any hints?
> _______________________________________________
> Helma-user mailing list
> [email protected]
> http://helma.org/mailman/listinfo/helma-user
>