You would probably have to patch this module

https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-store/xwiki-platform-store-filesystem-attachments/src/main/java/org/xwiki/store/filesystem/internal/DefaultFilesystemStoreTools.java

Which returns the file with which to work. You should then read some
preferences from xwiki.properties and use that depending on the wiki you
are in.
Some refactoring is probably needed as the variable storageDir is used
widely and should probably be replaced by a getStorageDir()
The wiki name can be found in the ExecutionContext.

Ludovic

2011/12/9 Haru Mamburu <[email protected]>

> "Thanks, now all you need is to attach the patch or issue a git pull
> request :)"
>
> Welcome, but still kindly ask you to clarify what exactly to do :)
> I got lost a bit :(
>
> Thanks a lot,
>
> Dmitry
>
>
> 09 декабря 2011, 13:09 от Vincent Massol <[email protected]>:
> > Hi Haru,
> >
> > On Dec 9, 2011, at 6:34 AM, Haru Mamburu wrote:
> >
> > > Thanks a lot, Vincent,
> >
> > Nice, I get credit even when I don't speak :)
> >
> > > I issued a feature request,
> > > http://jira.xwiki.org/browse/XE-1061
> >
> > Thanks, now all you need is to attach the patch or issue a git pull
> request :)
> >
> > Cheers,
> > -Vincent
> >
> > > Kind Regards
> > >
> > > Dmitry
> > >
> > >
> > > 09 декабря 2011, 09:16 от Ludovic Dubost <[email protected]>:
> > >> I don't think it has been done but it shouldnt be a difficult patch
> > >>
> > >> Ludovic
> > >>
> > >> Envoyé de mon iPhone
> > >>
> > >> Le 8 déc. 2011 à 23:01, Haru Mamburu <[email protected]> a écrit :
> > >>
> > >>>
> > >>> Does anyone has a clue?
> > >>>
> > >>>
> > >>> 04 декабря 2011, 06:50 от Haru Mamburu <[email protected]>:
> > >>>
> > >>>
> > >>>
> > >>> Hi, all!
> > >>>
> > >>> For now we have a possibility to move wiki's filestorage easily by
> changing path in config file. Cool!
> > >>>
> > >>> In multi-sub-wiki environment it looks very useful (sometimes) to
> split common storage and move sub-wiki's storage to other place.
> > >>>
> > >>> Is there any simple way to set location of each sub-wiki's storage?
> If not, is it easy to implement?
> > >>>
> > >>> Kind Regards
> > >>>
> > >>> Dmitry Bakbardin
> > >>>
> > >>> _______________________________________________
> > >>> users mailing list
> > >>> [email protected]
> > >>> http://lists.xwiki.org/mailman/listinfo/users
> > >>
> > > _______________________________________________
> > > users mailing list
> > > [email protected]
> > > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to