[xwiki-users] Problem to build XWiki-Manager (2.3.1) in Eclipse
I have troubles to build xwiki-manager in eclipse using maven. There is probably something that I miss understand with maven (Yes, I'm a newbie with this XWiki). I tried few different way, but seems that something left to make it works. Lets start by explain what I'm trying to do. The first objective is to create a wiki/blog independent for each users. Correct me if I'm wrong but I choose the xwiki-manager for this task. The second requirement is to create my own user creation sequence, to control this as I wish I want to create a macro using xwiki libraries. Then, I followed procedure http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse "BuildingInEclipse" and reed http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven "Building XWiki from sources" (and some other stuff on the site...). But, I'm still unable to debug anything in eclipse in view to start to develop my project. With maven, I tried few configuration but I can't clearly understand the required structure to build it. By example, I tried to checking out those source, but as I already told, I miss something: 1. http://svn.xwiki.org/svnroot/xwiki/manager/tags/xwiki-enterprise-manager-2.3... 2. http://svn.xwiki.org/svnroot/xwiki/platform/core/tags/xwiki-core-2.0/ and http://svn.xwiki.org/svnroot/xwiki/platform/web/tags/xwiki-web-2.0/ and http://svn.xwiki.org/svnroot/xwiki/enterprise/tags/xwiki-enterprise-2.0/ 3. http://svn.xwiki.org/svnroot/xwiki/manager Without success... I surely pass aside an essential thing to understand how to use rightly Maven and this project structure. Also, I tried to use the war file in the project. But, by this way also I get some problem to debug. Could somebody could light me up on this? I actually can't understand where is the gain to use Maven instead of a simple src.zip :) -- View this message in context: http://xwiki.475771.n2.nabble.com/Problem-to-build-XWiki-Manager-2-3-1-in-Ec... Sent from the XWiki- Users mailing list archive at Nabble.com.
On 06/09/2010 07:49 AM, DarkVolbec wrote:
I have troubles to build xwiki-manager in eclipse using maven. There is probably something that I miss understand with maven (Yes, I'm a newbie with this XWiki).
I tried few different way, but seems that something left to make it works.
Lets start by explain what I'm trying to do. The first objective is to create a wiki/blog independent for each users. Correct me if I'm wrong but I choose the xwiki-manager for this task. The second requirement is to create my own user creation sequence, to control this as I wish I want to create a macro using xwiki libraries.
You don't need XEM (XWiki Enterprise Manager) for this. XE (XWiki Enterprise) will do just fine. XEM allows you to easily create and manage virtual wikis, but the support for virtual wikis is already present in XE. Anyway, from what you say, you don't need a multiwiki environment. Hope this helps, Marius
Then, I followed procedure http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse "BuildingInEclipse" and reed http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven "Building XWiki from sources" (and some other stuff on the site...). But, I'm still unable to debug anything in eclipse in view to start to develop my project.
With maven, I tried few configuration but I can't clearly understand the required structure to build it. By example, I tried to checking out those source, but as I already told, I miss something:
1. http://svn.xwiki.org/svnroot/xwiki/manager/tags/xwiki-enterprise-manager-2.3... 2. http://svn.xwiki.org/svnroot/xwiki/platform/core/tags/xwiki-core-2.0/ and http://svn.xwiki.org/svnroot/xwiki/platform/web/tags/xwiki-web-2.0/ and http://svn.xwiki.org/svnroot/xwiki/enterprise/tags/xwiki-enterprise-2.0/ 3. http://svn.xwiki.org/svnroot/xwiki/manager
Without success... I surely pass aside an essential thing to understand how to use rightly Maven and this project structure.
Also, I tried to use the war file in the project. But, by this way also I get some problem to debug.
Could somebody could light me up on this?
I actually can't understand where is the gain to use Maven instead of a simple src.zip :)
Yes you are right, thanks for the advise. Probably the blog module is more what I need. Now how can I build it in eclipse? :) -- View this message in context: http://xwiki.475771.n2.nabble.com/Problem-to-build-XWiki-Manager-2-3-1-in-Ec... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Wed, Jun 9, 2010 at 7:47 AM, DarkVolbec <lbep101@hotmail.com> wrote:
Yes you are right, thanks for the advise. Probably the blog module is more what I need.
Now how can I build it in eclipse? :) -- View this message in context: http://xwiki.475771.n2.nabble.com/Problem-to-build-XWiki-Manager-2-3-1-in-Ec...
I think if someone who knows what they're doing could quickly run through and update the build & debug documentation for Eclipse, that would be very helpful! I've been trying to get xwiki-enterprise working in Eclipse for some time now, and haven't had much luck. I'm no newbie to Eclipse or *nix, however, I am a newbie to maven & developing *large* projects in Java. I got lost in the sheer number of documents from which I had to pull instructions or configuration information from, all of which appeared to be using an older version of Eclipse. I'm still not sure where things went wrong, but I am sure that a single step-by-step setup document (that currently works) would definitely help. Thanks!
On Thu, Jun 17, 2010 at 00:48, James Cuzella <james.cuzella@alumni.mines.edu> wrote:
On Wed, Jun 9, 2010 at 7:47 AM, DarkVolbec <lbep101@hotmail.com> wrote:
Yes you are right, thanks for the advise. Probably the blog module is more what I need.
Now how can I build it in eclipse? :) -- View this message in context: http://xwiki.475771.n2.nabble.com/Problem-to-build-XWiki-Manager-2-3-1-in-Ec...
I think if someone who knows what they're doing could quickly run through and update the build & debug documentation for Eclipse, that would be very helpful!
I've been trying to get xwiki-enterprise working in Eclipse for some time now, and haven't had much luck. I'm no newbie to Eclipse or *nix, however, I am a newbie to maven & developing *large* projects in Java.
Why do you absolutely want to build xwiki-enterprise in Eclipse ? Jar projects why not but it's a lot easier to build xwiki-enterprise distribution in console with mvn command (see http://dev.xwiki.org/xwiki/bin/view/Community/Building). Especiallt if you are a *nix user. M2Eclipse use some early beta version of maven which probably have issue with some fancy things we do in xwiki-enterprise.
I got lost in the sheer number of documents from which I had to pull instructions or configuration information from, all of which appeared to be using an older version of Eclipse. I'm still not sure where things went wrong, but I am sure that a single step-by-step setup document (that currently works) would definitely help.
Thanks! _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On Thu, Jun 17, 2010 at 10:41, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
On Thu, Jun 17, 2010 at 00:48, James Cuzella <james.cuzella@alumni.mines.edu> wrote:
On Wed, Jun 9, 2010 at 7:47 AM, DarkVolbec <lbep101@hotmail.com> wrote:
Yes you are right, thanks for the advise. Probably the blog module is more what I need.
Now how can I build it in eclipse? :) -- View this message in context: http://xwiki.475771.n2.nabble.com/Problem-to-build-XWiki-Manager-2-3-1-in-Ec...
I think if someone who knows what they're doing could quickly run through and update the build & debug documentation for Eclipse, that would be very helpful!
I've been trying to get xwiki-enterprise working in Eclipse for some time now, and haven't had much luck. I'm no newbie to Eclipse or *nix, however, I am a newbie to maven & developing *large* projects in Java.
Why do you absolutely want to build xwiki-enterprise in Eclipse ? Jar projects why not but it's a lot easier to build xwiki-enterprise distribution in console with mvn command (see http://dev.xwiki.org/xwiki/bin/view/Community/Building). Especiallt if you are a *nix user.
M2Eclipse use some early beta version of maven which probably have issue with some fancy things we do in xwiki-enterprise.
I got lost in the sheer number of documents from which I had to pull instructions or configuration information from, all of which appeared to be using an older version of Eclipse. I'm still not sure where things went wrong, but I am sure that a single step-by-step setup document (that currently works) would definitely help.
For debugging XE (not building a distribution of it) you should look at http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse if you don't need the WYSIWYG (it's not supported yet out of the box but you can probably tweak it a little to support it if you know well Eclipse and GWT).
Thanks! _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne
participants (4)
-
DarkVolbec -
James Cuzella -
Marius Dumitru Florea -
Thomas Mortagne