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