Ok, that's normal it didn't find Nuxeo repositories.
We didn't set repositories on each package as nuxeo-platform-syndication is usually built from nuxeo-features. If you need to build only small parts of nuxeo, best way is to set repositories into your c:\Documents and Settings\.m2\settings.xml

Also, you don't need to run unit tests, it's our job :) run Maven with "-Dmaven.test.skip=true" option About your error, it's due to spaces in the path that make Google Web Toolkit compiler fail. Move your Maven repository from C:\Documents and Settings\Test\.m2\repository to W:\workspace\repository and edit c:\Documents and Settings\.m2\settings.xml to set
 <localRepository>w:/workspace/repository</localRepository>



[email protected] a écrit :
Hello,

tnuxeo-platform-syndication package

thanks for the tip, it did work, now i got a different error, any ideas?

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.nuxeo.ecm.platform.preview.tests.helper.TestHelper
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
Running org.nuxeo.ecm.platform.preview.tests.codec.TestDocumentPreviewCodec
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
Running org.nuxeo.ecm.platform.preview.tests.service.TestService
org.nuxeo.ecm.core.schema.types.TypeBindingException: Type could not be 
resolved: No type provider registered
        at org.nuxeo.ecm.core.schema.TypeRef.load(TypeRef.java:106)
        at org.nuxeo.ecm.core.schema.TypeRef.get(TypeRef.java:74)
        at 
org.nuxeo.ecm.core.api.impl.DocumentModelImpl.hasSchema(DocumentModelImpl.java:707)
        at 
org.nuxeo.ecm.platform.preview.adapter.PreviewAdapterManagerComponent.hasAdapter(PreviewAdapterManagerComponent.java:98)
        at 
org.nuxeo.ecm.platform.preview.tests.service.TestService.testServiceContrib(TestService.java:48)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:164)
        at org.jmock.core.VerifyingTestCase.runBare(Unknown Source)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
org.nuxeo.ecm.core.schema.types.TypeBindingException: Type could not be 
resolved: No type provider registered
        at org.nuxeo.ecm.core.schema.TypeRef.load(TypeRef.java:106)
        at org.nuxeo.ecm.core.schema.TypeRef.get(TypeRef.java:74)
        at 
org.nuxeo.ecm.core.api.impl.DocumentModelImpl.hasSchema(DocumentModelImpl.java:707)
        at 
org.nuxeo.ecm.platform.preview.adapter.PreviewAdapterManagerComponent.hasAdapter(PreviewAdapterManagerComponent.java:98)
        at 
org.nuxeo.ecm.platform.preview.tests.service.TestService.testServiceContrib(TestService.java:48)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:164)
        at org.jmock.core.VerifyingTestCase.runBare(Unknown Source)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.937 sec

Results :

Tests run: 7, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: 
W:\workspace\NUXEO\mercurial\nuxeo-platform-syndication\nuxeo-platform-preview\target\nuxeo-platform-preview-5.2.1-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 20090612-120551 at timestamp: 1244801151508
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 
W:\workspace\NUXEO\mercurial\nuxeo-platform-syndication\nuxeo-platform-preview\target\nuxeo-platform-preview-5.2.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Nuxeo Platform Annotation Service Client
[INFO]    task-segment: [clean, package]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory 
W:\workspace\NUXEO\mercurial\nuxeo-platform-syndication\nuxeo-platform-annotations\nuxeo-platform-annotations-web\target
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 20090612-120553 at timestamp: 1244801153211
[INFO] [nuxeo:eclipse-version {execution: eclipsize-version}]
[INFO] eclipseVersion:5.2.1.-SNAPSHOT
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 25 resources
[INFO] [dependency:copy {execution: copy-installed}]
[INFO] Configured Artifact: com.google.gwt:gwt-servlet:?:jar
[INFO] Copying gwt-servlet-1.5.3.jar to 
W:\workspace\NUXEO\mercurial\nuxeo-platform-syndication\nuxeo-platform-annotations\nuxeo-platform-annotations-web\target
\classes\lib\gwt-servlet-1.5.3.jar
[INFO] [compiler:compile]
[INFO] Compiling 83 source files to 
W:\workspace\NUXEO\mercurial\nuxeo-platform-syndication\nuxeo-platform-annotations\nuxeo-platform-annotations-web\target\cla
sses
[INFO] [gwt:compile {execution: default}]
[FATAL ERROR] org.codehaus.mojo.gwt.CompileMojo#execute() caused a linkage 
error (java.lang.ExceptionInInitializerError) and may be out-of-date. Check the 
realm
s:
[FATAL ERROR] Plugin realm = 
app0.child-container[org.codehaus.mojo:gwt-maven-plugin:1.0]
urls[0] = file:/C:/Documents and 
Settings/Test/.m2/repository/org/codehaus/mojo/gwt-maven-plugin/1.0/gwt-maven-plugin-1.0.jar
urls[1] = file:/C:/Documents and 
Settings/Test/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.jar
urls[2] = file:/C:/Documents and 
Settings/Test/.m2/repository/junit/junit/3.8.2/junit-3.8.2.jar
urls[3] = file:/C:/Documents and 
Settings/Test/.m2/repository/com/google/gwt/gwt-user/1.5.3/gwt-user-1.5.3.jar
urls[4] = file:/C:/Documents and 
Settings/Test/.m2/repository/com/thoughtworks/qdox/qdox/1.6.3/qdox-1.6.3.jar
urls[5] = file:/C:/Documents and 
Settings/Test/.m2/repository/ant/ant/1.5.1/ant-1.5.1.jar
urls[6] = file:/C:/Documents and 
Settings/Test/.m2/repository/jmock/jmock/1.0.0/jmock-1.0.0.jar
urls[7] = file:/C:/Documents and 
Settings/Test/.m2/repository/freemarker/freemarker/2.3.6/freemarker-2.3.6.jar
urls[8] = file:/C:/Documents and 
Settings/Test/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar
urls[9] = file:/C:/Documents and 
Settings/Test/.m2/repository/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
urls[10] = file:/C:/Documents and 
Settings/Test/.m2/repository/org/apache/maven/surefire/surefire-booter/2.4.3/surefire-booter-2.4.3.jar
urls[11] = file:/C:/Documents and 
Settings/Test/.m2/repository/org/apache/maven/surefire/surefire-api/2.4.3/surefire-api-2.4.3.jar
urls[12] = file:/C:/Documents and 
Settings/Test/.m2/repository/com/google/gwt/gwt-dev/1.5.3/gwt-dev-1.5.3-windows.jar
urls[13] = file:/C:/Documents and 
Settings/Test/.m2/repository/com/google/gwt/gwt-dev/1.5.3/gwt-dev-1.5.3-windows-libs.zip
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/c:/tools/apache-maven-2.1.0/bin/../lib/maven-2.1.0-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
Illegal character in path at index 18: file:/C:/Documents and 
Settings/Test/.m2/repository/com/google/gwt/gwt-dev/1.5.3/gwt-dev-1.5.3-windows.jar
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.ExceptionInInitializerError
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at 
org.codehaus.mojo.gwt.CompileMojo.getGwtCompilerInstance(CompileMojo.java:211)
        at org.codehaus.mojo.gwt.CompileMojo.execute(CompileMojo.java:85)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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: java.lang.IllegalArgumentException
        at java.net.URI.create(URI.java:842)
        at 
com.google.gwt.util.tools.Utility.computeInstallationPath(Utility.java:288)
        at com.google.gwt.util.tools.Utility.getInstallPath(Utility.java:224)
        at com.google.gwt.util.tools.ToolBase.<clinit>(ToolBase.java:55)
        ... 26 more
Caused by: java.net.URISyntaxException: Illegal character in path at index 18: 
file:/C:/Documents and 
Settings/Test/.m2/repository/com/google/gwt/gwt-dev/1.5.3/
gwt-dev-1.5.3-windows.jar
        at java.net.URI$Parser.fail(URI.java:2816)
        at java.net.URI$Parser.checkChars(URI.java:2989)
        at java.net.URI$Parser.parseHierarchical(URI.java:3073)
        at java.net.URI$Parser.parse(URI.java:3021)
        at java.net.URI.<init>(URI.java:578)
        at java.net.URI.create(URI.java:840)
        ... 29 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 39 seconds
[INFO] Finished at: Fri Jun 12 12:05:58 CEST 2009
[INFO] Final Memory: 75M/135M
[INFO] ------------------------------------------------------------------------
--
Posted by "sames" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2544#7041>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

--
Julien Carsique, Nuxeo (Paris, France)
www.nuxeo.com - The Open Source ECM Platform - www.nuxeo.org
Nuxeo ECM Stack - The Java EE, scalable, standard-based ECM Platform
[email protected] | Tel: +33 1 40 33 79 87

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to