[Yanel-dev] redeploying WARs fully automatically

Michael Wechner michael.wechner at wyona.com
Wed Apr 14 22:25:41 CEST 2010


Michael Wechner wrote:
>>
>> - WEB-INF/classes/realms.xml which must point to at least one custom 
>> realm: ATM we do that using an absolute path
>>
>> We thought we could maybe use the servlet context temporary 
>> directory[1] to store the realms.xml file itself or even the path 
>> under which it may be found.
>
> Btw, the realms.xml path is already configured within 
> local/apache-tomcat-5.5.20/webapps/yanel/WEB-INF/classes/yanel.xml
>
> re the working/temp dir I guess you mean with
>
> File dir = (File) getServletContext()
>
>     .getAttribute(
>     "javax.servlet.context.tempdir");
>
>
> right?

The following java classes would have to be enhanced:

src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java
src/core/java/org/wyona/yanel/core/Yanel.java#init()
src/core/java/org/wyona/yanel/core/map/RealmManager.java

whereas I have done some preparations in order to make this work.

Cheers

Michi


More information about the Yanel-development mailing list