On 8/22/07, xwicaforrica@gmail.com <xwicaforrica@gmail.com> wrote:
Greetings!

I'm currently working on my master thesis, I've chosen XWiki as the wiki system that will support my platform.

I used the Windows Installer in http://www.xwiki.org/xwiki/bin/view/Main/Download and easily set up a local xwiki instance, in order to explore it and learn how it works.

But I shall probably have to adapt or create some functionality related to the Audit requirements I have defined (I'll save this for future posts ;) ), so I'd like to set up a development xwiki project using Eclipse.

I followed the instructions in  http://www.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse: I checked out the source from the trunks-devs, ran mvn eclipse:eclipse and created a new eclipse workspace, which I included in a new variable M2_REPO.

 

Finally I created a java project and did an import from the folder with all the code (xwiki-platform-tools, xwiki-platform-core, xwiki-platform-web, xwiki-platform-plugins and the others). The result was 22070 errors and 390 warnings in the 'Problems' tab!

Well, you should not *create* a java project upfront. You should import a one.

This is what i did,

1. set the M2_REPO variable to my local repository. (I had built xwiki in the command line beforehand so my M2_REPO is rich)

2. cleaned the trunk-users (mvn clean) - this is optional.

3. created a workspace (whatever you prefer)

4. File->Import->General->Existing Projects Into Workspace

5. Brows for root directory (trunk-users) and press ok.

6. Now the Projects list should indicate all the XWiki projects there, select the one you like and press ok.

After this, no errors should appear (works for me). Can you try this out and let us know ?

- Asiri

I think I must have missing something related to the building process.. being my first experience with eclipse, besides the tutorials, surely doesn't help!
Could you guys help me?

Thanks in advance and congratulations for the xwiki platform. I hope I can contribute with some code or plugins :)
Best regards,

Ricardo Pinto.

Ps: By the way, I'm using Windows XP, Eclipse 3.2, JDK 1.5.10, Tortoise SVN (and will use mySQL after setting up the IDE environment).



--
You receive this message as a subscriber of the xwiki-dev@objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org ?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws