Here is a copy of the .jar file. You put that file in your /WEB-INF/lib directory (don't worry about the 2.7 in the name it should be compatible) and change your xwiki.cfg file as described earlier.
http://www.xwiki.org/xwiki/bin/download/XWiki/Caleb_James_DeLisle/xwiki%2Dstore%2Dfilesystem%2Dattachments%2D2.7%2DSNAPSHOT.jar Attachments which you upload after making this change will be stored on the filesystem (on my computer, they are stored in /var/log/tomcat5.5/work/ in a directory which is created called "storage") If you decide to change back to the old storage, the new attachments will all suddenly become empty. Do not delete anything in that directory manually or add anything, especially not symlinks which would confuse recursive delete code with bad results. There is an occasional problem where an attempt to delete an attachment waits forever. This is because some misbehaving thread has acquired the lock on the attachment file and refuses to let it go. I found that when it occurs, it can be easily fixed by viewing the attachment then trying to delete again. Lock forcing is on my todo list. Please back up your system if there is anything of value, this code has not yet seen any use on a live server. Thanks a lot for testing, I hope you can provide some early feedback. Caleb On 12/17/2010 04:52 AM, Donnie Lee wrote: > Hi!, > > Thanks for this link, but unfortunately I got another build error. > Caleb, could you please make a JAR for me? I use XWiki 2.6.33065, if > the version is important. Thanks in advance. > >> You need to setup maven with XWiki repositories, see >> http://dev.xwiki.org/xwiki/bin/view/Community/Building > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
