Once again ... this time with context - sorry :( Am 02.03.2011 17:48, schrieb Fabio Mancinelli:
Actually the tutorial seems a bit out of date because now it is much simpler to setup such an environment.
1) Install Eclipse Helios JEE 2) Install M2Eclipse 3) svn co http://svn.xwiki.org/svnroot/xwiki/platform/trunks/ platform in your Workspace directory 4) Import the platform/tools/xem-web-debug-eclipse as an *existing eclipse project* 5) Wait for M2Eclipse to resolve all the dependencies, build indexes, etc. (this can take a while)
Fabio, just followed your step-by-step tutorial and got the following error message (during step 5): Project *build* error: Non-resolvable parent POM: Failure to find org.xwiki.enterprise:xwiki-enterprise-parent:pom:3.1-SNAPSHOT in http://repository.jboss.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of JBOSS has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM I must be doing something wrong here but your instructions are pretty straightforward. Are they still valid ? Thought I might find the time having a look at the *sources* during easter .... thanks for your help Andreas
6) Copy src/main/webapp/WEB-INF/xwiki.cfg.default to src/main/webapp/WEB-INF/xwiki.cfg 7) Copy src/main/webapp/WEB-INF/xwiki.properties.default to src/main/webapp/WEB-INF/xwiki.properties 8) Copy src/main/webapp/WEB-INF/hibernate.hsqldb.cfg.xml.default to src/main/webapp/WEB-INF/hibernate.cfg.xml 9) Click with the second button on the xem-web-debug-eclipse in the Project explorer and select Run as... -> Run on server (you might need to setup a Tomcat in the process)
Eclipse should open a browser and show you the http://localhost:8080/xwiki URI with an empty instance of XWiki. Here you can navigate the XWiki and import the default XAR to have a functional wiki.
From now on you can import XWiki maven modules from your checked-out platform directory. The Maven plugin will figure out which modules are in your workspace and use them when deploying your development instance of XWiki.
Happy hacking!
Fabio
On Wed, Mar 2, 2011 at 1:21 PM, Nikolaos Panagiotou<[email protected]> wrote:
I found out how to check out the source but now i am a bit lost.I dont know which folder to checkout.If i want to download the latest sources for xwiki enterprise which is the folder that i must check out? Thank you!
Hi Nikolaos,
Have you read http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository ?
Hope this helps, Marius
On 03/02/2011 01:02 PM, Nikolaos Panagiotou wrote:
Hello, I want to download the source code in order to build from source.I cant find a zip file which contains the source.Can someone help me? Thank you!:D _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs