From 6b06734adcabe322bc2445ddd21129ffeeab48bb Mon Sep 17 00:00:00 2001 From: stefanp Date: Thu, 12 Sep 2002 18:25:06 +0000 Subject: [PATCH] made application directory available as app.dir-property --- src/helma/framework/core/ApplicationBean.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/helma/framework/core/ApplicationBean.java b/src/helma/framework/core/ApplicationBean.java index cf1edc02..599e4c46 100644 --- a/src/helma/framework/core/ApplicationBean.java +++ b/src/helma/framework/core/ApplicationBean.java @@ -118,6 +118,10 @@ public class ApplicationBean implements Serializable { return app.getCacheNode (); } + public String getdir () { + return app.getAppDir ().getAbsolutePath (); + } + public Date getupSince () { return new Date (app.starttime); }