Thanks Thomas. That was a great solution. I have started working on it but
don't know if it works yet.
but, I had one question about "Creating Xwiki Plugins"
In the final step of adding the "classes" to the webapps folder, do the
classes refer to .class files or just .java files. I am assuming .class
because the alternative is to add the .jar to the lib folder.
It would be great if you could confirm this.
Thanks again
On Wed, May 14, 2008 at 10:57 AM, Kamna Jain <kammy.scorpi(a)gmail.com> wrote:
Hello Devs,
This is regarding the SVN integration with XWiki, about which I had been
asking a lot of questions in the past.
So, now we have an applet that helps users browse throught their
filesystema nd upload multiple files with in click.
the uploaded files are commited to SVN. Also, these files are associated
with XWiki objects we created.
The next step is, checking out of SVN.
The scenario is that the user selects a folder on his local system(working
copy) and hits a button that should initiate the ceckout/update from sVN for
all the objects that are on that XWiki page.
What is the best way to achieve this:
1) Is it possible through Velocity (I am sure not...right?)
2) If I write a JAVA class to do the SVNcheckout, how do I integrate it
with XWiki (without messing with the XWiki core...or is that the only way to
accomplish this)
3) Write a servlet and use teh macro includeServlet...If yes, then how is
this doen..I am not evry sure what are the steps to follow to this.
4) any other method?
Any help will be great..
Thanks for all help