Hello Berin and All!
Anybody afraid of Patch #13
(a wickid black night was closing in ... woo-woooooo... )
Just being practical now I'm putting Fortress inside a servlet,
so it occured to me this might be usefull.
Admittedly the name of the method does not fit its purpose very well.
I considered setContextRoot but then it falls out of the row with
other peer methods.
- Anton
--- FortressConfig.orig 2003-05-29 09:59:36.000000000 +0400
+++ FortressConfig.java 2003-05-29 16:22:59.000000000 +0400
@@ -61,6 +61,7 @@
import org.apache.excalibur.mpool.PoolManager;
import java.io.File;
+import java.io.URL;
/**
* Helper class to create a m_context for the ContextManager.
@@ -212,6 +213,11 @@
m_context.put( ContextManagerConstants.CONTEXT_DIRECTORY, new File( directory
) );
}
+ public void setContextDirectory( final URL url )
+ {
+ m_context.put( ContextManagerConstants.CONTEXT_DIRECTORY, url );
+ }
+
public void setLoggerCategory( final String category )
{
m_context.put( ContextManagerConstants.LOG_CATEGORY, category );
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]