Am 21.04.2011 09:58, schrieb Thomas Mortagne:
On Thu, Apr 21, 2011 at 09:47, Andreas
Hahn<ahahn(a)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#HGetthesou…
(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(a)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(a)xwiki.org
>>>
http://lists.xwiki.org/mailman/listinfo/devs
>> _______________________________________________
>> devs mailing list
>> devs(a)xwiki.org
>>
http://lists.xwiki.org/mailman/listinfo/devs
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs