Re: Google Summer Coding - P2P XWiki
I have submitted a proposal for P2P XWiki to Google and am exploring the current code base so that I get a head-start incase the proposal gets accepted. I have A) Downloaded XWiki source version 0.9.793 B) Looked at developer documentation from http://www.xwiki.org/xwiki/bin/view/Doc/WebHome By looking at overall architecture of XWiki, I think that an offline XWiki will have a different type of Store (centralized store) and a P2P XWiki will have another store implementation (P2P Store). At first glance, it appears that the centralized and P2P store will extend the interfaces XWikiStoreInterface. The interaction with these stores *may* introduce new APIs or use existing XML-RPC API without any changes. I am working on understanding the overall architecture of the current XWiki and identifying how a P2P XWiki can make the best use of existing implementation. I have the following questions: a) I have downloaded the source code but don't see any documentation on how I can run the XWiki completely local to my machine. What are the requirements and steps for running a local wiki from the source code? b) To be sure, am I starting with the correct code base or is there any other version of offline XWiki (may be not fully developed)? Any other suggestions also welcome, Thanks, Bikash Agarwalla
-----Original Message----- From: Bikash Agarwalla [mailto:[email protected]] Sent: Wednesday, 8 June 2005 1:23 PM To: [email protected] Subject: [xwiki-dev] Re: Google Summer Coding - P2P XWiki
I have submitted a proposal for P2P XWiki to Google and am exploring the current code base so that I get a head-start incase the proposal gets accepted. I have
A) Downloaded XWiki source version 0.9.793 B) Looked at developer documentation from http://www.xwiki.org/xwiki/bin/view/Doc/WebHome
By looking at overall architecture of XWiki, I think that an offline XWiki will have a different type of Store (centralized store) and a P2P XWiki will have another store implementation (P2P Store). At first glance, it appears that the centralized and P2P store will extend the interfaces XWikiStoreInterface. The interaction with these stores *may* introduce new APIs or use existing XML-RPC API without any changes. I am working on understanding the overall architecture of the current XWiki and identifying how a P2P XWiki can make the best use of existing implementation.
I have the following questions:
a) I have downloaded the source code but don't see any documentation on how I can run the XWiki completely local to my machine. What are the requirements and steps for running a local wiki from the source code?
[Cameron Braid] I managed to get xwiki running locally within eclipse by doing this : 1) move (or copy) web.xml from src/main/web.xml into src/main/web/WEB-INF/web.xml (so that src/main/web is an exploded war) 2) setup an eclipse user library called 'resin-3.0.12' with all libs from resin/lib 3) setup a resin configuration file for resin resin-3.0.12 (GPL) in the project root : see attached resin.conf 4) setup an eclipse launch target with his configuration : * main class : com.caucho.server.resin.Resin * arguments : -conf ${project_loc}/resin.conf * vm args : -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Dbase=${project_loc} * classpath : restore defaults then add the resin user library to the bootstrap classpath 5) create a mysql database on localhost called xwiki username = xwiki, password=xwiki 6) import the database dump (if you want some sample data / blogs etc..) 7) run the launch target 8) open http://localhost:8080/xwiki/bin/view/Main/WebHome I suggest that web.xml and web-exo.xml be moved in the source tree so that this first step isn't needed. Are there any reasons against this ?
b) To be sure, am I starting with the correct code base or is there any other version of offline XWiki (may be not fully developed)?
Any other suggestions also welcome, Thanks, Bikash Agarwalla
I'm using IntelliJ and you can configure where to find the web.xml file which then is moved to the release directory at compile time. I think the Eclipse guys are not doing this.. They can better answer than me. It's probably just a matter of configuration. BTW we have an OSS licence for IntelliJ so it's usable for free for XWiki. But each developer has a choice between IntelliJ and Eclipse or other tools if he's ready to support it... Ludovic Cameron Braid a écrit :
-----Original Message----- From: Bikash Agarwalla [mailto:[email protected]] Sent: Wednesday, 8 June 2005 1:23 PM To: [email protected] Subject: [xwiki-dev] Re: Google Summer Coding - P2P XWiki
I have submitted a proposal for P2P XWiki to Google and am exploring the current code base so that I get a head-start incase the proposal gets accepted. I have
A) Downloaded XWiki source version 0.9.793 B) Looked at developer documentation from http://www.xwiki.org/xwiki/bin/view/Doc/WebHome
By looking at overall architecture of XWiki, I think that an offline XWiki will have a different type of Store (centralized store) and a P2P XWiki will have another store implementation (P2P Store). At first glance, it appears that the centralized and P2P store will extend the interfaces XWikiStoreInterface. The interaction with these stores *may* introduce new APIs or use existing XML-RPC API without any changes. I am working on understanding the overall architecture of the current XWiki and identifying how a P2P XWiki can make the best use of existing implementation.
I have the following questions:
a) I have downloaded the source code but don't see any documentation on how I can run the XWiki completely local to my machine. What are the requirements and steps for running a local wiki from the source code?
[Cameron Braid] I managed to get xwiki running locally within eclipse by doing this :
1) move (or copy) web.xml from src/main/web.xml into src/main/web/WEB-INF/web.xml (so that src/main/web is an exploded war) 2) setup an eclipse user library called 'resin-3.0.12' with all libs from resin/lib 3) setup a resin configuration file for resin resin-3.0.12 (GPL) in the project root : see attached resin.conf 4) setup an eclipse launch target with his configuration : * main class : com.caucho.server.resin.Resin * arguments : -conf ${project_loc}/resin.conf * vm args : -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Dbase=${project_loc} * classpath : restore defaults then add the resin user library to the bootstrap classpath 5) create a mysql database on localhost called xwiki username = xwiki, password=xwiki 6) import the database dump (if you want some sample data / blogs etc..) 7) run the launch target 8) open http://localhost:8080/xwiki/bin/view/Main/WebHome
I suggest that web.xml and web-exo.xml be moved in the source tree so that this first step isn't needed. Are there any reasons against this ?
b) To be sure, am I starting with the correct code base or is there any other version of offline XWiki (may be not fully developed)?
Any other suggestions also welcome, Thanks, Bikash Agarwalla
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
Do are you against moving the web.xml file into the WEB-INF folder ? The build.xml can easily be changed to point to the new location. This will just make it easier for eclipse devs. Thanks, Cameron
-----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Wednesday, 8 June 2005 5:53 PM To: [email protected] Subject: Re: [xwiki-dev] Re: Google Summer Coding - P2P XWiki
I'm using IntelliJ and you can configure where to find the web.xml file which then is moved to the release directory at compile time.
I think the Eclipse guys are not doing this.. They can better answer than me. It's probably just a matter of configuration.
BTW we have an OSS licence for IntelliJ so it's usable for free for XWiki. But each developer has a choice between IntelliJ and Eclipse or other tools if he's ready to support it...
Ludovic
Cameron Braid a écrit :
-----Original Message----- From: Bikash Agarwalla [mailto:[email protected]] Sent: Wednesday, 8 June 2005 1:23 PM To: [email protected] Subject: [xwiki-dev] Re: Google Summer Coding - P2P XWiki
I have submitted a proposal for P2P XWiki to Google and am exploring the current code base so that I get a head-start incase the proposal gets accepted. I have
A) Downloaded XWiki source version 0.9.793 B) Looked at developer documentation from http://www.xwiki.org/xwiki/bin/view/Doc/WebHome
By looking at overall architecture of XWiki, I think that an offline XWiki will have a different type of Store (centralized store) and a P2P XWiki will have another store implementation (P2P Store). At first glance, it appears that the centralized and P2P store will extend the interfaces XWikiStoreInterface. The interaction with these stores *may* introduce new APIs or use existing XML-RPC API without any changes. I am working on understanding the overall architecture of the current XWiki and identifying how a P2P XWiki can make the best use of existing implementation.
I have the following questions:
a) I have downloaded the source code but don't see any documentation on how I can run the XWiki completely local to my machine. What are the requirements and steps for running a local wiki from the source code?
[Cameron Braid] I managed to get xwiki running locally within eclipse by doing this :
1) move (or copy) web.xml from src/main/web.xml into src/main/web/WEB-INF/web.xml (so that src/main/web is an exploded war) 2) setup an eclipse user library called 'resin-3.0.12' with all libs from resin/lib 3) setup a resin configuration file for resin resin-3.0.12 (GPL) in the project root : see attached resin.conf 4) setup an eclipse launch target with his configuration : * main class : com.caucho.server.resin.Resin * arguments : -conf ${project_loc}/resin.conf * vm args : -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Dbase=${project_loc} * classpath : restore defaults then add the resin user library to the bootstrap classpath 5) create a mysql database on localhost called xwiki username = xwiki, password=xwiki 6) import the database dump (if you want some sample data / blogs etc..) 7) run the launch target 8) open http://localhost:8080/xwiki/bin/view/Main/WebHome
I suggest that web.xml and web-exo.xml be moved in the source tree so
that
this first step isn't needed. Are there any reasons against this ?
b) To be sure, am I starting with the correct code base or is there any other version of offline XWiki (may be not fully developed)?
Any other suggestions also welcome, Thanks, Bikash Agarwalla
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
Let's wait what the Eclispe users say.. If it's just a config option in Eclipse then it's better than chaning both the build.xml and the IntelliJ build Ludovic Cameron Braid a écrit :
Do are you against moving the web.xml file into the WEB-INF folder ? The build.xml can easily be changed to point to the new location.
This will just make it easier for eclipse devs.
Thanks,
Cameron
-----Original Message----- From: Ludovic Dubost [mailto:[email protected]] Sent: Wednesday, 8 June 2005 5:53 PM To: [email protected] Subject: Re: [xwiki-dev] Re: Google Summer Coding - P2P XWiki
I'm using IntelliJ and you can configure where to find the web.xml file which then is moved to the release directory at compile time.
I think the Eclipse guys are not doing this.. They can better answer than me. It's probably just a matter of configuration.
BTW we have an OSS licence for IntelliJ so it's usable for free for XWiki. But each developer has a choice between IntelliJ and Eclipse or other tools if he's ready to support it...
Ludovic
Cameron Braid a écrit :
-----Original Message----- From: Bikash Agarwalla [mailto:[email protected]] Sent: Wednesday, 8 June 2005 1:23 PM To: [email protected] Subject: [xwiki-dev] Re: Google Summer Coding - P2P XWiki
I have submitted a proposal for P2P XWiki to Google and am exploring the current code base so that I get a head-start incase the proposal gets accepted. I have
A) Downloaded XWiki source version 0.9.793 B) Looked at developer documentation from http://www.xwiki.org/xwiki/bin/view/Doc/WebHome
By looking at overall architecture of XWiki, I think that an offline XWiki will have a different type of Store (centralized store) and a P2P XWiki will have another store implementation (P2P Store). At first glance, it appears that the centralized and P2P store will extend the interfaces XWikiStoreInterface. The interaction with these stores *may* introduce new APIs or use existing XML-RPC API without any changes. I am working on understanding the overall architecture of the current XWiki and identifying how a P2P XWiki can make the best use of existing implementation.
I have the following questions:
a) I have downloaded the source code but don't see any documentation on how I can run the XWiki completely local to my machine. What are the requirements and steps for running a local wiki from the source code?
[Cameron Braid] I managed to get xwiki running locally within eclipse by doing this :
1) move (or copy) web.xml from src/main/web.xml into src/main/web/WEB-INF/web.xml (so that src/main/web is an exploded war) 2) setup an eclipse user library called 'resin-3.0.12' with all libs from resin/lib 3) setup a resin configuration file for resin resin-3.0.12 (GPL) in the project root : see attached resin.conf 4) setup an eclipse launch target with his configuration : * main class : com.caucho.server.resin.Resin * arguments : -conf ${project_loc}/resin.conf * vm args : -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Dbase=${project_loc} * classpath : restore defaults then add the resin user library to the bootstrap classpath 5) create a mysql database on localhost called xwiki username = xwiki, password=xwiki 6) import the database dump (if you want some sample data / blogs etc..) 7) run the launch target 8) open http://localhost:8080/xwiki/bin/view/Main/WebHome
I suggest that web.xml and web-exo.xml be moved in the source tree so
that
this first step isn't needed. Are there any reasons against this ?
b) To be sure, am I starting with the correct code base or is there any other version of offline XWiki (may be not fully developed)?
Any other suggestions also welcome, Thanks, Bikash Agarwalla
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected]
mailing list.
To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
Hi, I followed the instructions below for setting up wiki on eclipse. I am using J2sdk1.4.2, eclipse 3, on Fedora Core 3. However I get the following error after the last step: 500 Servlet Exception java.lang.NoSuchMethodError: org.apache.commons.dbcp.BasicDataSourceFactory.createDataSource(Ljava/util/Properties;)Ljavax/sql/DataSource; at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:188) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:80) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:349) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:58) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1509) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1054) at com.xpn.xwiki.store.XWikiHibernateStore.initHibernate(XWikiHibernateStore.java:124) at com.xpn.xwiki.store.XWikiHibernateStore.checkHibernate(XWikiHibernateStore.java:250) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:562) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:552) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:586) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:978) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:973) at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:409) at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:389) at com.xpn.xwiki.XWiki.<init>(XWiki.java:335) at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:129) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:194) at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) at javax.servlet.http.HttpServlet.service(HttpServlet.java:113) at javax.servlet.http.HttpServlet.service(HttpServlet.java:90) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:467) at com.caucho.util.ThreadPool.run(ThreadPool.java:408) at java.lang.Thread.run(Thread.java:534) Any suggestions on what may be wrong ? Thanks in advance. Bikash On 6/7/05, Cameron Braid <[email protected]> wrote:
[Cameron Braid] I managed to get xwiki running locally within eclipse by doing this :
1) move (or copy) web.xml from src/main/web.xml into src/main/web/WEB-INF/web.xml (so that src/main/web is an exploded war) 2) setup an eclipse user library called 'resin-3.0.12' with all libs from resin/lib 3) setup a resin configuration file for resin resin-3.0.12 (GPL) in the project root : see attached resin.conf 4) setup an eclipse launch target with his configuration : * main class : com.caucho.server.resin.Resin * arguments : -conf ${project_loc}/resin.conf * vm args : -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Dbase=${project_loc} * classpath : restore defaults then add the resin user library to the bootstrap classpath 5) create a mysql database on localhost called xwiki username = xwiki, password=xwiki 6) import the database dump (if you want some sample data / blogs etc..) 7) run the launch target 8) open http://localhost:8080/xwiki/bin/view/Main/WebHome
This is usually due to some jars that need to be moved to tomcat/common/lib or conflict with tomcat jars You can try replacing the common-dbcp and common-pool jars with xwiki jars and also move the mysql jar to common/lib Also remove these jars from xwiki/lib if you put them in common/lib Ludovic Bikash Agarwalla a écrit :
Hi, I followed the instructions below for setting up wiki on eclipse. I am using J2sdk1.4.2, eclipse 3, on Fedora Core 3. However I get the following error after the last step:
500 Servlet Exception
java.lang.NoSuchMethodError: org.apache.commons.dbcp.BasicDataSourceFactory.createDataSource(Ljava/util/Properties;)Ljavax/sql/DataSource; at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:188) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:80) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:349) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:58) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1509) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1054) at com.xpn.xwiki.store.XWikiHibernateStore.initHibernate(XWikiHibernateStore.java:124) at com.xpn.xwiki.store.XWikiHibernateStore.checkHibernate(XWikiHibernateStore.java:250) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:562) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:552) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:586) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:978) at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:973) at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:409) at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:389) at com.xpn.xwiki.XWiki.<init>(XWiki.java:335) at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:129) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:194) at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) at javax.servlet.http.HttpServlet.service(HttpServlet.java:113) at javax.servlet.http.HttpServlet.service(HttpServlet.java:90) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:467) at com.caucho.util.ThreadPool.run(ThreadPool.java:408) at java.lang.Thread.run(Thread.java:534)
Any suggestions on what may be wrong ?
Thanks in advance. Bikash
On 6/7/05, Cameron Braid <[email protected]> wrote:
[Cameron Braid] I managed to get xwiki running locally within eclipse by doing this :
1) move (or copy) web.xml from src/main/web.xml into src/main/web/WEB-INF/web.xml (so that src/main/web is an exploded war) 2) setup an eclipse user library called 'resin-3.0.12' with all libs from resin/lib 3) setup a resin configuration file for resin resin-3.0.12 (GPL) in the project root : see attached resin.conf 4) setup an eclipse launch target with his configuration : * main class : com.caucho.server.resin.Resin * arguments : -conf ${project_loc}/resin.conf * vm args : -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Dbase=${project_loc} * classpath : restore defaults then add the resin user library to the bootstrap classpath 5) create a mysql database on localhost called xwiki username = xwiki, password=xwiki 6) import the database dump (if you want some sample data / blogs etc..) 7) run the launch target 8) open http://localhost:8080/xwiki/bin/view/Main/WebHome
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
Hi Bikash, I'm not sure the solution is to change the store.. The current store will allow to store anything locally and also includes searching. I'm not sure the P2P wiki should use a store as there are going to be difficulties for searching.. A local wiki can use the current store and store in HSQLDB. We are close to having a release that will work by default with HSQLDB. And P2P can happen outside of that working to replicate the content of the Wiki on the P2P network.. I tend to prefer this architecture because it won't break the existing code.. Now I think it has one drawback.. It means one wiki cannot be distributed, which means having half of the wiki in one place and the other half at another place. Wikis need to be 100% replicated to be usable or there are used in the current state of replication.. I tend to believe this is the only usable way currently otherwise the system will be way too slow.. A wiki page can have multiple searches embedded in it and if these require searches in the P2P network it's going to be too slow anyway. But of course this is open to discussion Ludovic Bikash Agarwalla a écrit :
I have submitted a proposal for P2P XWiki to Google and am exploring the current code base so that I get a head-start incase the proposal gets accepted. I have
A) Downloaded XWiki source version 0.9.793 B) Looked at developer documentation from http://www.xwiki.org/xwiki/bin/view/Doc/WebHome
By looking at overall architecture of XWiki, I think that an offline XWiki will have a different type of Store (centralized store) and a P2P XWiki will have another store implementation (P2P Store). At first glance, it appears that the centralized and P2P store will extend the interfaces XWikiStoreInterface. The interaction with these stores *may* introduce new APIs or use existing XML-RPC API without any changes. I am working on understanding the overall architecture of the current XWiki and identifying how a P2P XWiki can make the best use of existing implementation.
I have the following questions:
a) I have downloaded the source code but don't see any documentation on how I can run the XWiki completely local to my machine. What are the requirements and steps for running a local wiki from the source code? b) To be sure, am I starting with the correct code base or is there any other version of offline XWiki (may be not fully developed)?
Any other suggestions also welcome, Thanks, Bikash Agarwalla
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
participants (3)
-
Bikash Agarwalla -
Cameron Braid -
Ludovic Dubost