Hello ICE-Dev,
I will be making some local modifications to org.eclipse.ice.core/src/...../Core.java. To make sure the changes would make sense, I thought I would run the o.e.ice.core.test module. I am facing an issue here:
1) Without my changes, in ICE, if I right click on o.e.i.core.test module and select Run As -> JUnit Test, the tests don't run. I get a Failure Trace:
java.lang.IllegalStateException: Workspace is closed.
at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:411)
at org.eclipse.ice.core.internal.Core.setupProjectLocation(Core.java:740)
at org.eclipse.ice.core.internal.Core.<init>(Core.java:174)
.....
Just wanted to know if I am executing the test correctly.
2) Also, with my local changes for a first pass Remote OSGi, o.eclipse.ice.core has a dependency on o.eclipse.ecf.remoteservice and I updated the core/plugin.xml file.
When trying to build ICE with my changes, I get an error at the ice.client module:
[INFO] Resolving dependencies of MavenProject: org.eclipse.ice:org.eclipse.ice.client:2.1.8-SNAPSHOT @ /home/ram/ICE/workspace/ice/org.eclipse.ice.client/pom.xml
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86_64} [ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.eclipse.ice.client 2.1.8.qualifier
[ERROR] Missing requirement: org.eclipse.ice.client 2.1.8.qualifier requires 'bundle org.eclipse.ecf.remoteservice 8.11.0' but it could not be found
I added the dependency into the client/plugin.xml file and that did not resolve this. I had also updated my Target Platform and the remoteservice plugin (of that version) shows up in the Contents of that Target Platform as well.
Hope I haven't missed something obvious here. Any help on resolving the errors would be great.
Thanks,
Ram
Hello Jay,
I have been looking at issue 261 and have just outlined my progress on this.
I had worked through various sources on how OSGi applications are written and what changes are needed for developing a Remote OSGi service. The most useful sources were:
I am continuing to look at the relevant example code and will carry over modifications to the relevant branch (for ICE). If it works within one VM, I will then try to connect an ICEClient from Windows to an ICECore in a guest Ubuntu (and vice versa) and check that the current UI comes up.
Regards,
Ram
Hi Jay,
Sounds good and I have pulled in the changes and the new branch. I will start by taking a look at the two bugs as we had discussed.
Thanks,
Ram
Ram,
I created a new remote OSGI branch for you and I to look at:
jayAndRam/remoteOSGI
I also added two bugs to start
Jay
--
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings
_______________________________________________
ice-dev mailing list
ice-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-dev
--
Ramachandran K. Narayanan
Software Engineer
RNET Technologies Inc.
240 W.Elmwood Drive, Suite 2010
Dayton, OH 45459-4248
--
Ramachandran K. Narayanan
Software Engineer
RNET Technologies Inc.
240 W.Elmwood Drive, Suite 2010
Dayton, OH 45459-4248