[xwiki-devs] How to download the complete source code?
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
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 devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
Yes i read it and the article about building.The problem is that i cant download all the files from a selected version.For example i want to download all the sources to understand the project structure , modify a file and build the modified file.The problem is on step one! i can download the sources of a selected version!Is this possible ?
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 devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
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 devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
Hello, On Wed, Mar 2, 2011 at 2:21 PM, Nikolaos Panagiotou <npan1990@gmail.com>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?
The latest sources are under trunk folder. In the case of XWiki Enterprise: - for getting the latest sources, check out https://svn.xwiki.org/svnroot/xwiki/enterprise/trunk/ - for getting previous versions, go to https://svn.xwiki.org/svnroot/xwiki/enterprise/tags/ and check out a certain version Raluca.
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 devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
Thank you(sorry about the delay)! I checked out https://svn.xwiki.org/svnroot/xwiki/enterprise/trunk/ these are all files i need to build the latest xwiki?
Hello,
On Wed, Mar 2, 2011 at 2:21 PM, Nikolaos Panagiotou <npan1990@gmail.com <mailto:npan1990@gmail.com>> 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?
The latest sources are under trunk folder. In the case of XWiki Enterprise: - for getting the latest sources, check out https://svn.xwiki.org/svnroot/xwiki/enterprise/trunk/ - for getting previous versions, go to https://svn.xwiki.org/svnroot/xwiki/enterprise/tags/ and check out a certain version
Raluca.
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 >> devs@xwiki.org <mailto:devs@xwiki.org> >> http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ > devs mailing list > devs@xwiki.org <mailto:devs@xwiki.org> > http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org <mailto:devs@xwiki.org> http://lists.xwiki.org/mailman/listinfo/devs
Hi, if you want to hack XWiki I strongly recommend that you give a look at how to debug XWiki using Eclipse. Here http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse you can find the instructions for setting up a development environment to modify/run/debug XWiki from within Eclipse. The xem-web-debug-eclipse project works fine with the latest *Eclipse JEE (Helios - 3.6)* Make sure that you have the M2Eclipse plugin installed (if you use Helios you can automatically install it using the Eclipse Marketpalce (Menu Help -> Eclipse Marketplace...)) and that you import it in your workspace as an *existing Eclipse project*. -Fabio On Wed, Mar 2, 2011 at 1:21 PM, Nikolaos Panagiotou <npan1990@gmail.com> 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 devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
On Wed, Mar 2, 2011 at 5:32 PM, Fabio Mancinelli <fabio.mancinelli@xwiki.com> wrote:
Hi,
if you want to hack XWiki I strongly recommend that you give a look at how to debug XWiki using Eclipse. Here http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse you can find the instructions for setting up a development environment to modify/run/debug XWiki from within Eclipse.
The xem-web-debug-eclipse project works fine with the latest *Eclipse JEE (Helios - 3.6)* Make sure that you have the M2Eclipse plugin installed (if you use Helios you can automatically install it using the Eclipse Marketpalce (Menu Help -> Eclipse Marketplace...)) and that you import it in your workspace as an *existing Eclipse project*.
-Fabio
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) 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 <npan1990@gmail.com> 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 devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
(The previous message was send by mistake) Very intresting.:D:DCan you explain a bit more step 3(this folder just have a pom.xml file) ?On steps 6-8 which is the source and the destination folder.
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) 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<npan1990@gmail.com> 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 devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
On Wed, Mar 9, 2011 at 3:22 PM, Nikolaos Panagiotou <npan1990@gmail.com> wrote:
(The previous message was send by mistake) Very intresting.:D:DCan you explain a bit more step 3(this folder just have a pom.xml file) ?
It's true but... have you actually tried to do a "svn co http://svn.xwiki.org/svnroot/xwiki/platform/trunks/"? Please do. You will be surprised of the result :)
On steps 6-8 which is the source and the destination folder.
Source and destination folder are the same where xwiki.cfg.default and the other files reside. So, assuming that you checked out trunks in $DIR, they are in $DIR/trunks/tools/xem-web-debug-eclipse/src/main/webapp/WEB-INF/ -Fabio
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) 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<npan1990@gmail.com> 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 devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
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 -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-download-the-complete-source-code-t... Sent from the XWiki- Dev mailing list archive at Nabble.com.
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<npan1990@gmail.com> 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 devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
On Thu, Apr 21, 2011 at 09:47, Andreas Hahn <ahahn@gmx.net> wrote:
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.
Actually no you are not, just a bad timing :) XWiki svn repository is pretty much abandoned and does not really work on trunk now. You have to go to https://github.com/xwiki/ now to get sources. I just updated http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse page.
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<npan1990@gmail.com> 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 devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
Am 21.04.2011 09:58, schrieb Thomas Mortagne:
On Thu, Apr 21, 2011 at 09:47, Andreas Hahn<ahahn@gmx.net> wrote:
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. Actually no you are not, just a bad timing :)
XWiki svn repository is pretty much abandoned and does not really work on trunk now. You have to go to https://github.com/xwiki/ now to get sources.
I just updated http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse page.
Ok, I downloaded and installed git as in http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse#HGetthesour... (cloned xwiki-platform.git). In the next section "Setting Eclipse" I wonder what is the default project. Is it the top-level pom ? I tried that but I'm still getting the same errors. BTW in 'The best way to get the debug project is to clone it from git <http://dev.xwiki.org/xwiki/bin/view/Community/git> and look at the README file instructions' the link to 'git' is broken. I tried other poms also but no success - - still same ? error: Description Resource Path Location Type Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://caucho.com/m2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.caucho.com has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-php line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-oldcore line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-rss line 1 Maven pom Loading Problem Eclipse Ide shows 159 projects starting with 'xwiki-platform'. Is it assumed to be this way ? Hmm - They are all flagged as erroneous. Somewhere seems I have taken the wrong direction .... thanks Andreas
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<npan1990@gmail.com> 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 > devs@xwiki.org > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
On Thu, Apr 21, 2011 at 14:40, Andreas Hahn <ahahn@gmx.net> wrote:
Am 21.04.2011 09:58, schrieb Thomas Mortagne:
On Thu, Apr 21, 2011 at 09:47, Andreas Hahn<ahahn@gmx.net> wrote:
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. Actually no you are not, just a bad timing :)
XWiki svn repository is pretty much abandoned and does not really work on trunk now. You have to go to https://github.com/xwiki/ now to get sources.
I just updated http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse page.
Ok, I downloaded and installed git as in http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse#HGetthesour... (cloned xwiki-platform.git).
In the next section "Setting Eclipse" I wonder what is the default project. Is it the top-level pom ? I tried that but I'm still getting the same errors.
Actually that's a syntax issue git style repository urls, I just removed the link syntax.
BTW in 'The best way to get the debug project is to clone it from git <http://dev.xwiki.org/xwiki/bin/view/Community/git> and look at the README file instructions' the link to 'git' is broken.
I tried other poms also but no success - - still same ? error:
Description Resource Path Location Type Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://caucho.com/m2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.caucho.com has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-php line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-oldcore line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-rss line 1 Maven pom Loading Problem
Eclipse Ide shows 159 projects starting with 'xwiki-platform'. Is it assumed to be this way ?
Hmm - They are all flagged as erroneous.
Somewhere seems I have taken the wrong direction ....
thanks
Andreas
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<npan1990@gmail.com> 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 >> devs@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ > devs mailing list > devs@xwiki.org > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
Am 21.04.2011 16:52, schrieb Thomas Mortagne:
Ok, I downloaded and installed git as in http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse#HGetthesour... (cloned xwiki-platform.git).
In the next section "Setting Eclipse" I wonder what is the default project. Is it the top-level pom ? I tried that but I'm still getting the same errors. Actually that's a syntax issue git style repository urls, I just removed the link syntax.
Thanks but I already tried that "git@github.com:xwiki/xwiki-debug-eclipse.git" in the meantime. Same error complaining about 'Non-resolvable parent POM' see *below *(its just a snippet from the looong list of errors) Seems it might have to do with my maven installation although I don't have a clue what might be wrong . Unfortunately I'm a maven rookie ... thanks Andreas
Description Resource Path Location Type Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://caucho.com/m2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.caucho.com has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-php line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-oldcore line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-rss line 1 Maven pom Loading Problem
On Thu, Apr 21, 2011 at 17:10, Andreas Hahn <ahahn@gmx.net> wrote:
Am 21.04.2011 16:52, schrieb Thomas Mortagne:
Ok, I downloaded and installed git as in http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse#HGetthesour... (cloned xwiki-platform.git).
In the next section "Setting Eclipse" I wonder what is the default project. Is it the top-level pom ? I tried that but I'm still getting the same errors. Actually that's a syntax issue git style repository urls, I just removed the link syntax.
Thanks but I already tried that "git@github.com:xwiki/xwiki-debug-eclipse.git" in the meantime. Same error complaining about 'Non-resolvable parent POM' see *below *(its just a snippet from the looong list of errors) Seems it might have to do with my maven installation although I don't have a clue what might be wrong . Unfortunately I'm a maven rookie ...
Ha I know, XEM artifact ids has just been refactored and xwiki-debug-eclipse has not been updated accordingly. Fixing that right now. Also make sure you have XWiki repository as Sergiu suggested.
thanks
Andreas
Description Resource Path Location Type Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://caucho.com/m2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.caucho.com has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-php line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-oldcore line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-rss line 1 Maven pom Loading Problem
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On Thu, Apr 21, 2011 at 18:04, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
On Thu, Apr 21, 2011 at 17:10, Andreas Hahn <ahahn@gmx.net> wrote:
Am 21.04.2011 16:52, schrieb Thomas Mortagne:
Ok, I downloaded and installed git as in http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse#HGetthesour... (cloned xwiki-platform.git).
In the next section "Setting Eclipse" I wonder what is the default project. Is it the top-level pom ? I tried that but I'm still getting the same errors. Actually that's a syntax issue git style repository urls, I just removed the link syntax.
Thanks but I already tried that "git@github.com:xwiki/xwiki-debug-eclipse.git" in the meantime. Same error complaining about 'Non-resolvable parent POM' see *below *(its just a snippet from the looong list of errors) Seems it might have to do with my maven installation although I don't have a clue what might be wrong . Unfortunately I'm a maven rookie ...
Ha I know, XEM artifact ids has just been refactored and xwiki-debug-eclipse has not been updated accordingly. Fixing that right now.
Also make sure you have XWiki repository as Sergiu suggested.
Done, you can do a pull and all should be ok now.
thanks
Andreas
Description Resource Path Location Type Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://caucho.com/m2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.caucho.com has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-php line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-oldcore line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-rss line 1 Maven pom Loading Problem
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
Ha I know, XEM artifact ids has just been refactored and xwiki-debug-eclipse has not been updated accordingly. Fixing that right now.
Also make sure you have XWiki repository as Sergiu suggested.
Hi Thomas & Sergiu, seems I can build xwiki-enterprise. However when trying to build the xwiki-platform I'm getting 'random' errors. Currently it seems that the Captcha won't build. That's my maven console output: https://docs.google.com/document/d/1oRkrg5QuWYyjEnidkuwZk1DcVe95N5vI0p_e2eNb... thanks Andreas
On Tue, Apr 26, 2011 at 10:23, Andreas Hahn <ahahn@gmx.net> wrote:
Ha I know, XEM artifact ids has just been refactored and xwiki-debug-eclipse has not been updated accordingly. Fixing that right now.
Also make sure you have XWiki repository as Sergiu suggested.
Hi Thomas & Sergiu,
seems I can build xwiki-enterprise. However when trying to build the xwiki-platform I'm getting 'random' errors. Currently it seems that the Captcha won't build. That's my maven console output: https://docs.google.com/document/d/1oRkrg5QuWYyjEnidkuwZk1DcVe95N5vI0p_e2eNb...
[ERROR] error: error reading /home/lucid64/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar; error in opening zip file [ERROR] error: error reading /home/lucid64/.m2/repository/commons-validator/commons-validator/1.1.4/commons-validator-1.1.4.jar; error in opening zip file Looks like you have some corrupted files in your local repository, maybe a network issue when downloading it or something. You should try to open them yourself to see if that's really the case and if it is then try to delete then so that maven re-download them.
thanks
Andreas
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
Finally it seems I built the platform https://docs.google.com/leaf?id=0B05JH-hYx5XIMjliMGRhOGYtYzMxMi00NmY4LTk5YTk... But it doesn't look like a regular build in Eclipse - lots of error flags: https://docs.google.com/leaf?id=0B05JH-hYx5XIMmZkNzRiNDItZjA0Zi00NzYxLTgzNjM... maybe it has to do that m2eclipse builds aren't fully supported ? https://docs.google.com/leaf?id=0B05JH-hYx5XINjQxYmM3NDUtMzdlZC00ZWExLTgxMzg... I'm not sure if its necessary to further investigate in a 'clean' build or if its ok just ignore the errors ? thanks Andreas Am 26.04.2011 10:49, schrieb Thomas Mortagne:
On Tue, Apr 26, 2011 at 10:23, Andreas Hahn<ahahn@gmx.net> wrote:
Ha I know, XEM artifact ids has just been refactored and xwiki-debug-eclipse has not been updated accordingly. Fixing that right now.
Also make sure you have XWiki repository as Sergiu suggested.
Hi Thomas& Sergiu,
seems I can build xwiki-enterprise. However when trying to build the xwiki-platform I'm getting 'random' errors. Currently it seems that the Captcha won't build. That's my maven console output: https://docs.google.com/document/d/1oRkrg5QuWYyjEnidkuwZk1DcVe95N5vI0p_e2eNb... [ERROR] error: error reading /home/lucid64/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar; error in opening zip file [ERROR] error: error reading /home/lucid64/.m2/repository/commons-validator/commons-validator/1.1.4/commons-validator-1.1.4.jar; error in opening zip file
Looks like you have some corrupted files in your local repository, maybe a network issue when downloading it or something. You should try to open them yourself to see if that's really the case and if it is then try to delete then so that maven re-download them.
thanks
Andreas
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
On Wed, Apr 27, 2011 at 23:34, Andreas Hahn <ahahn@gmx.net> wrote:
Finally it seems I built the platform https://docs.google.com/leaf?id=0B05JH-hYx5XIMjliMGRhOGYtYzMxMi00NmY4LTk5YTk...
But it doesn't look like a regular build in Eclipse - lots of error flags: https://docs.google.com/leaf?id=0B05JH-hYx5XIMmZkNzRiNDItZjA0Zi00NzYxLTgzNjM...
maybe it has to do that m2eclipse builds aren't fully supported ? https://docs.google.com/leaf?id=0B05JH-hYx5XINjQxYmM3NDUtMzdlZC00ZWExLTgxMzg...
I'm not sure if its necessary to further investigate in a 'clean' build or if its ok just ignore the errors ?
Do you really need to build with M2Eclipse ? I find using console to do plain mvn install a lot easier unless you are on Windows maybe. IMO the point of using M2Eclipse is to be integrated into Eclipse, I never need to build a project when using M2Eclipse since Eclipse give me the java error and I can run unit tests directly from Eclipse too, I even have checkstyle thanks to eclipse-cs. I just run the plain maven sometimes before committing a big modification to validate a bunch of projects (I never open the whole platform into Eclipse, only what I'm really working on otherwise it's very slow).
thanks Andreas
Am 26.04.2011 10:49, schrieb Thomas Mortagne:
On Tue, Apr 26, 2011 at 10:23, Andreas Hahn<ahahn@gmx.net> wrote:
Ha I know, XEM artifact ids has just been refactored and xwiki-debug-eclipse has not been updated accordingly. Fixing that right now.
Also make sure you have XWiki repository as Sergiu suggested.
Hi Thomas& Sergiu,
seems I can build xwiki-enterprise. However when trying to build the xwiki-platform I'm getting 'random' errors. Currently it seems that the Captcha won't build. That's my maven console output: https://docs.google.com/document/d/1oRkrg5QuWYyjEnidkuwZk1DcVe95N5vI0p_e2eNb... [ERROR] error: error reading /home/lucid64/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar; error in opening zip file [ERROR] error: error reading /home/lucid64/.m2/repository/commons-validator/commons-validator/1.1.4/commons-validator-1.1.4.jar; error in opening zip file
Looks like you have some corrupted files in your local repository, maybe a network issue when downloading it or something. You should try to open them yourself to see if that's really the case and if it is then try to delete then so that maven re-download them.
thanks
Andreas
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
Am 28.04.2011 09:33, schrieb Thomas Mortagne:
On Wed, Apr 27, 2011 at 23:34, Andreas Hahn<ahahn@gmx.net> wrote:
Finally it seems I built the platform https://docs.google.com/leaf?id=0B05JH-hYx5XIMjliMGRhOGYtYzMxMi00NmY4LTk5YTk...
But it doesn't look like a regular build in Eclipse - lots of error flags: https://docs.google.com/leaf?id=0B05JH-hYx5XIMmZkNzRiNDItZjA0Zi00NzYxLTgzNjM...
maybe it has to do that m2eclipse builds aren't fully supported ? https://docs.google.com/leaf?id=0B05JH-hYx5XINjQxYmM3NDUtMzdlZC00ZWExLTgxMzg...
I'm not sure if its necessary to further investigate in a 'clean' build or if its ok just ignore the errors ? Do you really need to build with M2Eclipse ? I find using console to do plain mvn install a lot easier unless you are on Windows maybe. IMO the point of using M2Eclipse is to be integrated into Eclipse, I never need to build a project when using M2Eclipse since Eclipse give me the java error and I can run unit tests directly from Eclipse too, I even have checkstyle thanks to eclipse-cs. I just run the plain maven sometimes before committing a big modification to validate a bunch of projects (I never open the whole platform into Eclipse, only what I'm really working on otherwise it's very slow).
Your words are bit of a contrast to the instructions "build the easy way" http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse#HBuildingWit... As a maven rookie i'm just looking for the easisest solution. So I followed the above instructions 'like a slave' and it seemed to work. Except that the workbench looks like a mess - lots of Java errors and Maven errors - see screenshots above. I haven't yet installed maven - only the m2eclipse plugin - should I do that - and if so is the most recent version ok ? What is the recommendation ? Rookie question #2: Once i install maven manually and run 'mvn install' from command line as you say - will the IDE reflect all the results of the build process - that is after refreshing all the Java errors that became apparent after importing from maven would disappear ? Rookie question #3: Is it advisable to just copy and paste an .m2 repository to another workstation (other VM) to save there the long repository download times ? - im still learning - thanks Andreas
On Thu, Apr 28, 2011 at 10:47, Andreas Hahn <ahahn@gmx.net> wrote:
Am 28.04.2011 09:33, schrieb Thomas Mortagne:
On Wed, Apr 27, 2011 at 23:34, Andreas Hahn<ahahn@gmx.net> wrote:
Finally it seems I built the platform https://docs.google.com/leaf?id=0B05JH-hYx5XIMjliMGRhOGYtYzMxMi00NmY4LTk5YTk...
But it doesn't look like a regular build in Eclipse - lots of error flags: https://docs.google.com/leaf?id=0B05JH-hYx5XIMmZkNzRiNDItZjA0Zi00NzYxLTgzNjM...
maybe it has to do that m2eclipse builds aren't fully supported ? https://docs.google.com/leaf?id=0B05JH-hYx5XINjQxYmM3NDUtMzdlZC00ZWExLTgxMzg...
I'm not sure if its necessary to further investigate in a 'clean' build or if its ok just ignore the errors ? Do you really need to build with M2Eclipse ? I find using console to do plain mvn install a lot easier unless you are on Windows maybe. IMO the point of using M2Eclipse is to be integrated into Eclipse, I never need to build a project when using M2Eclipse since Eclipse give me the java error and I can run unit tests directly from Eclipse too, I even have checkstyle thanks to eclipse-cs. I just run the plain maven sometimes before committing a big modification to validate a bunch of projects (I never open the whole platform into Eclipse, only what I'm really working on otherwise it's very slow).
Your words are bit of a contrast to the instructions "build the easy way" http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse#HBuildingWit...
As a maven rookie i'm just looking for the easisest solution. So I followed the above instructions 'like a slave' and it seemed to work. Except that the workbench looks like a mess - lots of Java errors and Maven errors - see screenshots above.
I haven't yet installed maven - only the m2eclipse plugin - should I do that - and if so is the most recent version ok ? What is the recommendation ?
The real reference is http://dev.xwiki.org/xwiki/bin/view/Community/Building which explain how to use maven. "Building in Eclipse" is just an alternative and as so is at the end of the documentation.
Rookie question #2: Once i install maven manually and run 'mvn install' from command line as you say - will the IDE reflect all the results of the build process - that is after refreshing all the Java errors that became apparent after importing from maven would disappear ?
What I really said is that you don't need to do mvn install at all except if you want to distribute the result. If all you want is java error/warning and run unit tests etc... just let Eclipse take care of it, that's what M2Eclipse is for.
Rookie question #3: Is it advisable to just copy and paste an .m2 repository to another workstation (other VM) to save there the long repository download times ?
Yep you can copy .m2 repositories and indeed to avoid having to download a lot of stuff.
- im still learning -
thanks Andreas
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On 04/21/2011 02:40 PM, Andreas Hahn wrote:
Am 21.04.2011 09:58, schrieb Thomas Mortagne:
On Thu, Apr 21, 2011 at 09:47, Andreas Hahn<ahahn@gmx.net> wrote:
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. Actually no you are not, just a bad timing :)
XWiki svn repository is pretty much abandoned and does not really work on trunk now. You have to go to https://github.com/xwiki/ now to get sources.
I just updated http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse page.
Ok, I downloaded and installed git as in http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse#HGetthesour... (cloned xwiki-platform.git).
In the next section "Setting Eclipse" I wonder what is the default project. Is it the top-level pom ? I tried that but I'm still getting the same errors. BTW in 'The best way to get the debug project is to clone it from git <http://dev.xwiki.org/xwiki/bin/view/Community/git> and look at the README file instructions' the link to 'git' is broken.
I tried other poms also but no success - - still same ? error:
Description Resource Path Location Type Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://caucho.com/m2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.caucho.com has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-php line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-oldcore line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-rss line 1 Maven pom Loading Problem
Eclipse Ide shows 159 projects starting with 'xwiki-platform'. Is it assumed to be this way ?
Hmm - They are all flagged as erroneous.
Somewhere seems I have taken the wrong direction ....
thanks
Andreas
Did you add the XWiki repositories to the maven settings? http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven -- Sergiu Dumitriu http://purl.org/net/sergiu/
Am 21.04.2011 17:37, schrieb Sergiu Dumitriu:
On 04/21/2011 02:40 PM, Andreas Hahn wrote:
Am 21.04.2011 09:58, schrieb Thomas Mortagne:
On Thu, Apr 21, 2011 at 09:47, Andreas Hahn<ahahn@gmx.net> wrote:
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. Actually no you are not, just a bad timing :)
XWiki svn repository is pretty much abandoned and does not really work on trunk now. You have to go to https://github.com/xwiki/ now to get sources.
I just updated http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse page. Ok, I downloaded and installed git as in http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse#HGetthesour... (cloned xwiki-platform.git).
In the next section "Setting Eclipse" I wonder what is the default project. Is it the top-level pom ? I tried that but I'm still getting the same errors. BTW in 'The best way to get the debug project is to clone it from git <http://dev.xwiki.org/xwiki/bin/view/Community/git> and look at the README file instructions' the link to 'git' is broken.
I tried other poms also but no success - - still same ? error:
Description Resource Path Location Type Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://caucho.com/m2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.caucho.com has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-php line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-oldcore line 1 Maven pom Loading Problem Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net.2 has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-rendering-macro-rss line 1 Maven pom Loading Problem
Eclipse Ide shows 159 projects starting with 'xwiki-platform'. Is it assumed to be this way ?
Hmm - They are all flagged as erroneous.
Somewhere seems I have taken the wrong direction ....
thanks
Andreas
Did you add the XWiki repositories to the maven settings? http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven
Thanks, I fixed the ~/.m2/settings.xml in m2eclipse. A lot of stuff is still downloading now ... I'll report the outcome ;)
Hi, Nikolaos is raising a good question. How can we actually package a zip with the complete source code of a specific XWiki version ? Both XE+PLatform+Plugins. Are we or could we build this with maven ? Ludovic Le 02/03/11 12:02, Nikolaos Panagiotou a écrit :
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 devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
participants (8)
-
Andreas Hahn -
Fabio Mancinelli -
Ludovic Dubost -
Marius Dumitru Florea -
Nikolaos Panagiotou -
Raluca Stavro -
Sergiu Dumitriu -
Thomas Mortagne