[xwiki-devs] simple questions
Hi all, Sorry, these are only two very simple questions I do need to clarify to try to go ahead to understand how to build XWiki from source. 1. Is the picture showing the list of repositories in the following link updated? http://www.xwiki.org/xwiki/bin/view/Community/SourceRepository 2. By using Eclipse 3.3.1.1 on a MacBook running Mac OS X 10.5.1 Leopartd must I be able to create a new project by using the New Project wizard and checking out the proyect from SVN or this will simply download the source? I am a bit lost and I am not able to say if the available documentation is updated and suitable or it will need some changes. Thanks for your help, Ricardo -- Ricardo Rodríguez Your XEN ICT Team
Hi, 2007/11/18, Your XEN ICT Team - Ricardo Rodriguez <webmaster@xen.net>:
Hi all,
Sorry, these are only two very simple questions I do need to clarify to try to go ahead to understand how to build XWiki from source.
1. Is the picture showing the list of repositories in the following link updated?
http://www.xwiki.org/xwiki/bin/view/Community/SourceRepository
The image is correct except for the old adress (we now host our subversion serveur) : it is now http://svn.xwiki.org/svnroot/xwiki/
2. By using Eclipse 3.3.1.1 on a MacBook running Mac OS X 10.5.1 Leopartd must I be able to create a new project by using the New Project wizard and checking out the proyect from SVN or this will simply download the source?
There is no EDI (Eclipse, IntelliJ, etc.) specific files on xwiki subversion serveur. All is designed to be build with maven (see http://www.xwiki.org/xwiki/bin/view/Community/Building). You can use M2Eclipse (http://m2eclipse.codehaus.org/) Eclipse plugin to be able to create maven project in Eclipse and support maven configuration. I never tryed to get an maven project directly from svn but I think it works. Generally I checkout https://svn.xwiki.org/svnroot/xwiki/trunks then "import maven project".
I am a bit lost and I am not able to say if the available documentation is updated and suitable or it will need some changes.
Thanks for your help,
Ricardo
-- Ricardo Rodríguez Your XEN ICT Team
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On Nov 18, 2007, at 12:26 PM, Thomas Mortagne wrote:
Hi,
2007/11/18, Your XEN ICT Team - Ricardo Rodriguez <webmaster@xen.net>:
Hi all,
Sorry, these are only two very simple questions I do need to clarify to try to go ahead to understand how to build XWiki from source.
1. Is the picture showing the list of repositories in the following link updated?
http://www.xwiki.org/xwiki/bin/view/Community/SourceRepository
The image is correct except for the old adress (we now host our subversion serveur) : it is now http://svn.xwiki.org/svnroot/xwiki/
Image fixed now. [snip] Thanks -Vincent
Thanks all! I've been asked to use a tool other than XWiki to develop a project I do think perfectly fits with XWiki great features. People there use Eclipse, so I am trying to get XWiki built from/in this environment. I've been a bit lost trying to understand how XEclipse fits in the game and messing up things. Thanks for your help. Best regards, Ricardo -- Ricardo Rodríguez Your XEN ICT Team
On Nov 18, 2007, at 11:43 PM, Your XEN ICT Team - Ricardo Rodriguez wrote:
Thanks all!
I've been asked to use a tool other than XWiki to develop a project I do think perfectly fits with XWiki great features. People there use Eclipse, so I am trying to get XWiki built from/in this environment.
I've been a bit lost trying to understand how XEclipse fits in the game and messing up things. Thanks for your help.
Well someone had started a page on http://www.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse but I don't know if it's up to date or not. I personally use Intellij IDEA. Feel free to update it if there are things not correct in it. Thanks -Vincent
Vincent Massol wrote:
Well someone had started a page on http://www.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse but I don't know if it's up to date or not. I personally use Intellij IDEA. Feel free to update it if there are things not correct in it.
Thanks -Vincent _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
I'm afraid I'm not eligible for a IDEA Open Source License... yet :-) Thanks for the entry, Ricardo -- Ricardo Rodríguez Your XEN ICT Team
I am using Eclipse intensively when working on XWiki, but I am a console-fanatic, so the way I work is not the best way. So, in order to setup the XWiki source code for Eclipse, you must do the following: 1. Install the custom version of Maven as described on http://www.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven 2. Checkout the sources. I prefer using the command-line svn client, but you can use any svn client you want 3. Generate the eclipse project (I do this only for the java sources), this is done by going to xwiki-platform-core/xwiki-core and running "mvn eclipse:eclipse"; you can do this in any other directory which has a pom.xml file in it, and you can also add "-DdownloadSources=true" and "-DdownloadJavadocs=true" to download and link to the sources/javadoc archives, too, so that you can navigate inside the code or get more info about the used code. So the full command line is "mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true" 4. Open Eclipse and choose "File -> Import -> Existing project into workspace" and choose the directory used at 3. 5. Go to Preferences -> Java -> Build Path -> Classpath Variables and create a new variable named M2_REPO pointing to ~/.m2/repository 6. In order to build various parts of the project, I use the command line mvn client, but I guess you can also use a Maven plugin for Eclipse Sergiu Your XEN ICT Team - Ricardo Rodriguez wrote:
Thanks all!
I've been asked to use a tool other than XWiki to develop a project I do think perfectly fits with XWiki great features. People there use Eclipse, so I am trying to get XWiki built from/in this environment.
I've been a bit lost trying to understand how XEclipse fits in the game and messing up things. Thanks for your help.
Best regards,
Ricardo
Sergiu Dumitriu wrote:
I am using Eclipse intensively when working on XWiki, but I am a console-fanatic, so the way I work is not the best way.
So, in order to setup the XWiki source code for Eclipse, you must do the following:
1. Install the custom version of Maven as described on http://www.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven 2. Checkout the sources. I prefer using the command-line svn client, but you can use any svn client you want 3. Generate the eclipse project (I do this only for the java sources), this is done by going to xwiki-platform-core/xwiki-core and running "mvn eclipse:eclipse"; you can do this in any other directory which has a pom.xml file in it, and you can also add "-DdownloadSources=true" and "-DdownloadJavadocs=true" to download and link to the sources/javadoc archives, too, so that you can navigate inside the code or get more info about the used code. So the full command line is "mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true" 4. Open Eclipse and choose "File -> Import -> Existing project into workspace" and choose the directory used at 3. 5. Go to Preferences -> Java -> Build Path -> Classpath Variables and create a new variable named M2_REPO pointing to ~/.m2/repository 6. In order to build various parts of the project, I use the command line mvn client, but I guess you can also use a Maven plugin for Eclipse
Sergiu
Your XEN ICT Team - Ricardo Rodriguez wrote:
Thanks all!
I've been asked to use a tool other than XWiki to develop a project I do think perfectly fits with XWiki great features. People there use Eclipse, so I am trying to get XWiki built from/in this environment.
I've been a bit lost trying to understand how XEclipse fits in the game and messing up things. Thanks for your help.
Best regards,
Ricardo
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
Thanks, Sergiu. I'll follow this message and the previous ones and keep this thread posted. Cheers, Ricardo -- Ricardo Rodríguez Your XEN ICT Team
Sergiu Dumitriu wrote:
I am using Eclipse intensively when working on XWiki, but I am a console-fanatic, so the way I work is not the best way.
So, in order to setup the XWiki source code for Eclipse, you must do the following:
1. Install the custom version of Maven as described on http://www.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven 2. Checkout the sources. I prefer using the command-line svn client, but you can use any svn client you want.
Hi, I've been trying to complete the steps in your message and I think that I am almost there. But there are some doubts that arise from the use of one or other tool. Concerning software check-out, svn co http://svn.xwiki.org/svnroot/xwiki/trunks/ works fine and right now it checked out revision 7085, the same it is shown if I access http://svn.xwiki.org/svnroot/xwiki/trunks/ with a web browser and matching the revision referenced by the last message sent to notifications@xwiki.org. But if I use Subclipse 1.2.4 in Eclipse Version: 3.3.1.1 Build id: M20071023-1652, what I see, Eclipse shows, is pom.xml 7039. There is not [xwiki-notifications] r7039 message sent to notifications@xwiki.org (or at least I've not received it). Please, is that the expected behavior? Must I expect pom.xml 7085 to be shown in Eclipse? Thank you so much for your help, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team
participants (5)
-
[Ricardo Rodriguez] Your EPEC Network ICT Team -
Sergiu Dumitriu -
Thomas Mortagne -
Vincent Massol -
Your XEN ICT Team - Ricardo Rodriguez