You'll need to svn up. It's all working fine now except for the issue
I mentioned in the other thread (you'll need to have a settings.xml -
check the thread on "[Proposal] New SVN directory structure to
accommodate the different applications we have").
Just in case I'd also recommend you clean your local repo by deleting
~/.m2/repository/com/xpn
Thanks
-Vincent
On Jun 23, 2007, at 3:45 AM, David Ward wrote:
I think Vincent is probably still working on things a
bit.
I'm using trunks-devs and it seems that I can get xwiki-platform-core
to compile, but not package (or install). It seems that many of the
tests are failing.
The most common error is (25 times):
java.lang.NoClassDefFoundError
at org.jmock.cglib.CGLIBCoreMock.<init>(CGLIBCoreMock.java:48)
but I also got:
java.lang.NoSuchMethodError:
org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/
String;[Ljava/lang/String;Ljava/lang/String;)V
at net.sf.cglib.core.ClassEmitter.begin_class
(ClassEmitter.java:101)
Is this an issue with the asm/jMock/CGLib versions?
David
dward(a)curriki.org
--
On 6/22/07, evelyne24(a)gmail.com <evelyne24(a)gmail.com> wrote:
Hello,
Sorry if this mail arrives twice...I sent one in the morning but
no reply so...I guess no one's got it.
The problem is that after this change in the svn repository I
can't build the xwiki-platform-core in Eclipse. There is no
build.xml file and there are a lot of errors when I create a new
project based on xwiki-platform-core directory (lots of libraries
missing and othes errors).
Sergiu has been trying to help me since this morning, but
unfortunately it still doesn't work. I tried with mvn, in order to
build the war and then put in the tomcat or jetty but when I run
mvn install in the xwiki=platform-core directory I get a lot of
errors, like
D:\XWiki\src2\xwiki-platform-core>mvn install
[INFO] Scanning for projects...
[INFO]
---------------------------------------------------------------------
---
[ERROR] FATAL ERROR
[INFO]
---------------------------------------------------------------------
---
[INFO] Error building POM (may not be this project's POM).
Project ID: null:xwiki-core:jar:1.1-SNAPSHOT
Reason: Cannot find parent: com.xpn.xwiki:xwiki for project:
null:xwiki-core:jar
:1.1-SNAPSHOT for project null:xwiki-core:jar:1.1-SNAPSHOT
[INFO]
---------------------------------------------------------------------
---
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find
parent: com.xpn.xw
iki:xwiki for project: null:xwiki-core:jar:1.1-SNAPSHOT for
project null:xwiki-c
ore:jar:1.1-SNAPSHOT
at org.apache.maven.DefaultMaven.getProjects
(DefaultMaven.java:378)
at org.apache.maven.DefaultMaven.doExecute
(DefaultMaven.java:290)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced
(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:
255)
at org.codehaus.classworlds.Launcher.mainWithExitCode
(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException:
Cannot find parent
: com.xpn.xwiki:xwiki for project: null:xwiki-core:jar:1.1-
SNAPSHOT for project
null:xwiki-core:jar:1.1-SNAPSHOT
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1261)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Def
aultMavenProjectBuilder.java:747)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
leInternal(DefaultMavenProjectBuilder.java:479)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
nProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject
(DefaultMaven.java:553)
at org.apache.maven.DefaultMaven.collectProjects
(DefaultMaven.java:467)
at org.apache.maven.DefaultMaven.getProjects
(DefaultMaven.java:364)
... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'com.xpn.xwiki
:xwiki' not found in repository: Unable to download the artifact
from any reposi
tory
etc.....
I have no access to
svn://svn.forge.objectweb.org/svnroot/xwiki/
trunks-devs (apparently Sergiu is not getting this errors but he's
using this while I'm using
svn://svn.forge.objectweb.org/svnroot/
xwiki/trunks-users )
So, if anyone has succeeded in building the xwiki after the change
in the svn directory, please help me, I'm in big trouble and I
can' continue working.
Thank you very much.
Evelina
--
You receive this message as a subscriber of the xwiki-
dev(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://
www.objectweb.org/wws
--
You receive this message as a subscriber of the xwiki-
dev(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/
wws