Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[spaces-dev] Got a lot further...

Hi,
I managed to get a lot further with testing. Almost there...
 
- I created two test plugins "com.cloudsmith.demo.world" and "com.cloudsmith.demo.hello". The projects are in the SVN repository http://eclipsesvn.cloudsmith.com/eclipsecon2008
- The "hello" bundle depends on the "world" bundle
- The "hello" and "world" bundles were published with spaces to the spacexdrive account in the update sites:
- Installed the "world" bundle using the update manager
- Used Import > Space to import "world" as source
- Attempted Import > Space - import to target platform ended with an exception. See Note 1. below. Perhaps caused by some settings on my machine. Will discuss with Thomas.
- Mapped the "DemoHelloUpdateSite" at cloudsmith.com using update site mapper - into "bertil's" space "public.bertil" - verified that the information was mapped correctly.
- Attempted Import > Space of "hello" with "add missing bundles at workspace references" - caused exception - see Note 2. checked dependencies and the only dependency in the plugins is the one from "hello" to "world". Probably something wrong with the generated cspecs in the spaces produced update site. Should be easy to fix. Logged as an issue for thomas. https://bugs.eclipse.org/bugs/show_bug.cgi?id=221313  
 
regards
- henrik
 
 
 
Notes/Exceptions
 
1. Attempt to Import "world" to target platform ended with exception:

ERROR [0001] : No target platform found at: C:/Documents and Settings/helin/Application Data/buckminster/downloads

java.lang.reflect.InvocationTargetException

at org.eclipse.spaces.ui.imports.MSpecImport.run(MSpecImport.java:89)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

Caused by: org.eclipse.core.runtime.CoreException: [0001] : No target platform found at: C:/Documents and Settings/helin/Application Data/buckminster/downloads

at org.eclipse.buckminster.core.materializer.MaterializationJob.waitForJobs(MaterializationJob.java:277)

at org.eclipse.buckminster.core.materializer.MaterializationJob.internalRun(MaterializationJob.java:151)

at org.eclipse.buckminster.core.materializer.MaterializationJob.runDelegated(MaterializationJob.java:126)

at org.eclipse.spaces.ui.imports.MSpecImport.run(MSpecImport.java:83)

... 1 more

 

2. Attempt to import "Hello" with "install missing bundles as workspace references - fails with circular dependency!

ERROR [0003] : Unable to find a searchPath for component com.cloudsmith.demo.world

java.lang.reflect.InvocationTargetException

at org.eclipse.spaces.ui.imports.MSpecImport.run(MSpecImport.java:89)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

Caused by: org.eclipse.core.runtime.CoreException: Remote resolution service error - cannot get resolution results

at org.eclipse.buckminster.runtime.BuckminsterException.fromMessage(BuckminsterException.java:82)

at org.eclipse.buckminster.remote.resolver.jsonrpc.ResolutionServiceConnection.getResolutionResult(ResolutionServiceConnection.java:281)

at org.eclipse.buckminster.remote.resolver.RemoteResolver.resolveRemaining(RemoteResolver.java:153)

at org.eclipse.buckminster.core.resolver.MainResolver.resolveRemaining(MainResolver.java:103)

at org.eclipse.buckminster.core.resolver.MainResolver.resolve(MainResolver.java:59)

at org.eclipse.spaces.ui.imports.MSpecImport.run(MSpecImport.java:63)

... 1 more

Caused by: org.jabsorb.client.ErrorResponse: JSONRPC error code 490:

Caused by java.lang.RuntimeException: java.lang.Exception: Circular component dependency detected. Chain is DemoHelloUpdateSite -> com.cloudsmith.demo.hello -> com.cloudsmith.demo.world -> com.cloudsmith.demo.world: Circular component dependency detected. Chain is DemoHelloUpdateSite -> com.cloudsmith.demo.hello -> com.cloudsmith.demo.world -> com.cloudsmith.demo.world

at org.jabsorb.client.Client.processException(Client.java:180)

at org.jabsorb.client.Client.invoke(Client.java:157)

at org.jabsorb.client.Client.invoke(Client.java:134)

at $Proxy0.getResolutionResult(Unknown Source)

at org.eclipse.buckminster.remote.resolver.jsonrpc.ResolutionServiceConnection.getResolutionResult(ResolutionServiceConnection.java:277)

... 5 more


Back to the top