On Mon, Sep 19, 2011 at 6:45 PM, Vincent Massol <[email protected]> wrote: > Hi devs, > > Thomas just told me that he's made a change for Extension Manager (apparently > there was a vote for it and I missed it - I can't find it so if anyone has > the link please point me to it) and that by default now the Extension Manager > uses the temporary directory to store installed extensions (Before it was > using ~/.xwiki).
I never said that, EM is using XWiki container standard work directly like attachment files and Lucene for example. What the directory is is up to the container component implementation and not EM. It just happen that when you don't specify work directory the servlet temporary directory is used. The vote was about making standard work directory available to components and I don't see why a vote is needed for a component to use the standard XWiki work directory. If there is anything to decide it's where is the standard XWiki work directory since both Lucene and FS attachments have the exact same issue but it has nothing do do with EM IMO. > > I thus want to throw my -1 to release 3.2 final with this (I'd also much > prefer if 3.2M3 doesn't have it as much as possible). The reason is that the > tmp/ directory can get wiped anytime and the user can thus suddenly loose all > its installed extensions. I believe we need a permanent location for that. > > We have 2 general options IMO: > > 1) Don't start xwiki if the work directory is not explicitly configured > 2) Make the default EM work directory be the same as before (ie ~/.xwiki), > when the work dir config property is not defined > > I also want to propose that for the standalone distribution of XE (the > jetty/hsqldb package) we use work/ as the work directory. We already create > this directory and we should use it (it's already used by our lucene indexing > BTW). That's because it's explicitly set in xwiki.cfg so to have the same behavior all that is needed is to set it the same way in xwiki.properties. > > WDYT? > > Thanks > -Vincent > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

