On Mon, Sep 12, 2011 at 11:53 AM, Thomas Mortagne <[email protected]> wrote: > Hi devs, > > Right now there is no way for a component to know where is the > standard work directory (the one used for Lucene or filesystem > attachments for example) so I would like to add an API to access it. > > That said I propose to add a > > File getWorkDirectory() > > in org.xwiki.container.ApplicationContext which will use > XWiki#getWorkDirectory() behind the scene probably for now. > > WDYT ? > > -- > Thomas Mortagne >
Actually ServletApplicationContext does not have access to old XWiki API right now so I'm not sure what's the best for implementing this method yet. -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

