[xwiki-devs] compilation problems going from scratch with last night trunk
Hello, I checked ou trunks yesterday night with an empty maven repository in console mode... Then I launch "mvn install -Pmysql" 1)It then blocks immediately because in trunks/pom.xml, the parent pom is xwiki-platform-pom/pom.xml with version "14-SNAPSHOT" but current version is "15-SNAPSHOT". To go quickly, I change xwiki-platform-pom/pom.xml to version 15-SNAPSHOT... 2)I relaunches and it blocks again because it can't download xwiki-xar-handlers version 1.9-SNAPSHOT (apparently it doesn't try to compile xwiki-platform-tool before looking elsewhere). So I go in xwiki-platform-tools/xwiki-xar-handlers and I run "maven install" and I get my 1.9-SNAPSHOT 3)I relaunches and it goes on until xwiki-platform-plugins/lucene... I get lots of "unknown symbol" Maven downloads into repository lucene/lucene/1.4.3 and org/apache/lucene/lucene-core and lucene-parent version 2.3.1 If I remove lucene/lucene/1.4.3, it resynchronizes it and then it works... I had this problem last week when I compiled from an empty maven repository also... Maybe a problem while downloading lucene-1.4.3 first time and this gives a bad Jar file... Anyway not a real problem 4)I relaunches again and it goes on until xwiki-platform-core/xwiki-velocity which fails due to TEST errors: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.xwiki.velocity.VelocityManager', it could not be started at org.codehaus.plexus.DefaultComponentLookupManager.lookup( DefaultComponentLookupManager.java:156) I haven't been looking in the project but I wonder if anyone had the same pb as me... 5)So as I don't care about tests now, I relaunches with "maven install -Pmysql -Dmaven.test.skip=true" and then it runs until "BUILd SUCCESSFUL" Next step: run it... Next step: do it from Eclipse (I get lots of Java Heap Space problems with M2Eclipse 0.0.12) Pascal
On Mar 26, 2008, at 9:53 AM, Pascal Voitot wrote:
Hello, I checked ou trunks yesterday night with an empty maven repository in console mode... Then I launch "mvn install -Pmysql"
1)It then blocks immediately because in trunks/pom.xml, the parent pom is xwiki-platform-pom/pom.xml with version "14-SNAPSHOT" but current version is "15-SNAPSHOT". To go quickly, I change xwiki-platform-pom/pom.xml to version 15-SNAPSHOT...
Fixed thanks.
2)I relaunches and it blocks again because it can't download xwiki-xar-handlers version 1.9-SNAPSHOT (apparently it doesn't try to compile xwiki-platform-tool before looking elsewhere). So I go in xwiki-platform-tools/xwiki-xar-handlers and I run "maven install" and I get my 1.9-SNAPSHOT
This is not normal since it's available at http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/tools/xwiki-xar-hand... I suspect you might be using a buggy maven version.
3)I relaunches and it goes on until xwiki-platform-plugins/lucene... I get lots of "unknown symbol" Maven downloads into repository lucene/lucene/1.4.3 and org/apache/lucene/lucene-core and lucene-parent version 2.3.1 If I remove lucene/lucene/1.4.3, it resynchronizes it and then it works... I had this problem last week when I compiled from an empty maven repository also... Maybe a problem while downloading lucene-1.4.3 first time and this gives a bad Jar file... Anyway not a real problem
Just tried it here and it builds fine.
4)I relaunches again and it goes on until xwiki-platform-core/xwiki- velocity which fails due to TEST errors: org .codehaus .plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.xwiki.velocity.VelocityManager', it could not be started at org.codehaus.plexus.DefaultComponentLookupManager.lookup( DefaultComponentLookupManager.java:156)
Builds fine here too. Are you sure you've done a svn up? See also http://continuum.xwiki.org/continuum/projectGroupSummary.action?projectGroup... This lists all the projects that build fine and the ones that have problems. If the module you have problems with is shown as good there then it usually means you have a problem local to your machine. Make sure you use the maven version that we provide in the Building page on dev.xwiki.org Thanks -Vincent
I haven't been looking in the project but I wonder if anyone had the same pb as me...
5)So as I don't care about tests now, I relaunches with "maven install -Pmysql -Dmaven.test.skip=true"
and then it runs until "BUILd SUCCESSFUL"
Next step: run it... Next step: do it from Eclipse (I get lots of Java Heap Space problems with M2Eclipse 0.0.12)
Pascal
I'm sure this is a local problem on my computer... I'm performing tests on a special environment: an asusEEE with only flash memory and SDCard... Sometimes, there are some weird disk issues :) I just wanted to verify that it was on my side... I have tried to follow the dev page maven2.1SNAPSHOT and I have JAVA1.5.0_15 and SVN 1.4.2 Anyway, I'm going to investigate deeply now that I understand the whole architecture :) Br pascal On 3/26/08, Vincent Massol <vincent@massol.net> wrote:
On Mar 26, 2008, at 9:53 AM, Pascal Voitot wrote:
Hello, I checked ou trunks yesterday night with an empty maven repository in console mode... Then I launch "mvn install -Pmysql"
1)It then blocks immediately because in trunks/pom.xml, the parent pom is xwiki-platform-pom/pom.xml with version "14-SNAPSHOT" but current version is "15-SNAPSHOT". To go quickly, I change xwiki-platform-pom/pom.xml to version 15-SNAPSHOT...
Fixed thanks.
2)I relaunches and it blocks again because it can't download xwiki-xar-handlers version 1.9-SNAPSHOT (apparently it doesn't try to compile xwiki-platform-tool before looking elsewhere). So I go in xwiki-platform-tools/xwiki-xar-handlers and I run "maven install" and I get my 1.9-SNAPSHOT
This is not normal since it's available at
http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/tools/xwiki-xar-hand...
I suspect you might be using a buggy maven version.
3)I relaunches and it goes on until xwiki-platform-plugins/lucene...
I get lots of "unknown symbol" Maven downloads into repository lucene/lucene/1.4.3 and org/apache/lucene/lucene-core and lucene-parent version 2.3.1 If I remove lucene/lucene/1.4.3, it resynchronizes it and then it works... I had this problem last week when I compiled from an empty maven repository also... Maybe a problem while downloading lucene-1.4.3 first time and this gives a bad Jar file... Anyway not a real problem
Just tried it here and it builds fine.
4)I relaunches again and it goes on until xwiki-platform-core/xwiki- velocity which fails due to TEST errors: org .codehaus .plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.xwiki.velocity.VelocityManager', it could not be started at org.codehaus.plexus.DefaultComponentLookupManager.lookup( DefaultComponentLookupManager.java:156)
Builds fine here too. Are you sure you've done a svn up?
See also http://continuum.xwiki.org/continuum/projectGroupSummary.action?projectGroup... This lists all the projects that build fine and the ones that have problems. If the module you have problems with is shown as good there then it usually means you have a problem local to your machine.
Make sure you use the maven version that we provide in the Building page on dev.xwiki.org
Thanks -Vincent
I haven't been looking in the project but I wonder if anyone had the same pb as me...
5)So as I don't care about tests now, I relaunches with "maven install -Pmysql -Dmaven.test.skip=true"
and then it runs until "BUILd SUCCESSFUL"
Next step: run it... Next step: do it from Eclipse (I get lots of Java Heap Space problems with M2Eclipse 0.0.12)
Pascal
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
Ok, found the problem... For your info, this was a problem of FileSystem... my 8G SD was formatted in FAT32 and when using SVN on my Xandros linux, apparently there are some problems with lower and upper case directories such as META-INF and WEB-INF which ended into Plexus not to find its components... Apparently I can compile and maybe launch now :) best regards Pascal On Wed, Mar 26, 2008 at 10:25 AM, Pascal Voitot <pascal.voitot.dev@gmail.com> wrote:
I'm sure this is a local problem on my computer... I'm performing tests on a special environment: an asusEEE with only flash memory and SDCard... Sometimes, there are some weird disk issues :)
I just wanted to verify that it was on my side...
I have tried to follow the dev page maven2.1SNAPSHOT and I have JAVA1.5.0_15 and SVN 1.4.2
Anyway, I'm going to investigate deeply now that I understand the whole architecture :)
Br pascal
On 3/26/08, Vincent Massol <vincent@massol.net> wrote:
On Mar 26, 2008, at 9:53 AM, Pascal Voitot wrote:
Hello, I checked ou trunks yesterday night with an empty maven repository in console mode... Then I launch "mvn install -Pmysql"
1)It then blocks immediately because in trunks/pom.xml, the parent pom is xwiki-platform-pom/pom.xml with version "14-SNAPSHOT" but current version is "15-SNAPSHOT". To go quickly, I change xwiki-platform-pom/pom.xml to version 15-SNAPSHOT...
Fixed thanks.
2)I relaunches and it blocks again because it can't download xwiki-xar-handlers version 1.9-SNAPSHOT (apparently it doesn't try to compile xwiki-platform-tool before looking elsewhere). So I go in xwiki-platform-tools/xwiki-xar-handlers and I run "maven install" and I get my 1.9-SNAPSHOT
This is not normal since it's available at
http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/tools/xwiki-xar-hand...
I suspect you might be using a buggy maven version.
3)I relaunches and it goes on until xwiki-platform-plugins/lucene...
I get lots of "unknown symbol" Maven downloads into repository lucene/lucene/1.4.3 and org/apache/lucene/lucene-core and lucene-parent version 2.3.1 If I remove lucene/lucene/1.4.3, it resynchronizes it and then it works... I had this problem last week when I compiled from an empty maven repository also... Maybe a problem while downloading lucene-1.4.3 first time and this gives a bad Jar file... Anyway not a real problem
Just tried it here and it builds fine.
4)I relaunches again and it goes on until xwiki-platform-core/xwiki- velocity which fails due to TEST errors: org .codehaus .plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.xwiki.velocity.VelocityManager', it could not be started at org.codehaus.plexus.DefaultComponentLookupManager.lookup( DefaultComponentLookupManager.java:156)
Builds fine here too. Are you sure you've done a svn up?
See also http://continuum.xwiki.org/continuum/projectGroupSummary.action?projectGroup... This lists all the projects that build fine and the ones that have problems. If the module you have problems with is shown as good there then it usually means you have a problem local to your machine.
Make sure you use the maven version that we provide in the Building page on dev.xwiki.org
Thanks -Vincent
I haven't been looking in the project but I wonder if anyone had the same pb as me...
5)So as I don't care about tests now, I relaunches with "maven install -Pmysql -Dmaven.test.skip=true"
and then it runs until "BUILd SUCCESSFUL"
Next step: run it... Next step: do it from Eclipse (I get lots of Java Heap Space problems with M2Eclipse 0.0.12)
Pascal
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
How long does a full build take on that PC? Pascal Voitot wrote:
Ok, found the problem... For your info, this was a problem of FileSystem... my 8G SD was formatted in FAT32 and when using SVN on my Xandros linux, apparently there are some problems with lower and upper case directories such as META-INF and WEB-INF which ended into Plexus not to find its components...
Apparently I can compile and maybe launch now :)
-- Sergiu Dumitriu http://purl.org/net/sergiu/
To build from trunk with Mysql, it takes exactly 8mn... On Wed, Mar 26, 2008 at 4:34 PM, Sergiu Dumitriu <sergiu@xwiki.com> wrote:
How long does a full build take on that PC?
Pascal Voitot wrote:
Ok, found the problem... For your info, this was a problem of FileSystem... my 8G SD was formatted in FAT32 and when using SVN on my Xandros linux, apparently there are some problems with lower and upper case directories such as META-INF and WEB-INF which ended into Plexus not to find its components...
Apparently I can compile and maybe launch now :)
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
participants (3)
-
Pascal Voitot -
Sergiu Dumitriu -
Vincent Massol