Kamna Jain wrote:
I was wondering if the files that are uploaded on
XWiki are stored in
any particular folder on the server?
Or is it just the tables in the DB that have information on them?
We are exploring the ways in which the files uploaded can be directly
added to a SVN repository. For this, I need to know the location of the
files once they are uploaded.
Or you can use the notification mechanism. The idea would be that you
write a listener for the upload action, and use a java svn client to
upload the file.
For inspiration you can look at how the Lucene plugin does this, as it
is based on the same idea, just that it submits the attachment for
indexing, instead of storing it in SVN.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/