[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cbi-dev] Import error org.osgi.service.cm cannot be resolved
|
Hi Everyone,
I managed to get much further in the CBI M6 build after fixing a few
more issues. The org.eclipse.jdt.debug.tests java issue I was seeing
before I switched to the eclipse.platform.releng.git repository (instead
from FROMCVS) seems to have also went away and jdt.debug.tests was
successful at compiling this time. I think I'm getting fairly close to
successfully building CBI M6.
I'm now stuck on a new java issue below regarding the
org.eclipse.equinox.console.ssh.tests project. Seems to be a missing
class as far as I can tell related to org.osgi.service.cm.ManagedService.
I had a look at the src files in org.eclipse.equinox.cm/src directory
and did not find a ManagedService.java file. Not sure what to do
regarding this issue. Any ideas on what is happening in this case?
Thanks,
Thanh
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:0.14.1:compile (default-compile)
on project org.eclipse.equinox.console.ssh.tests: Compilation failure:
Compilation failure:
[ERROR]
/home/user/Downloads/eclipse2/R3_platform-aggregator/rt.equinox.bundles/bundles/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java:[43,0]
[ERROR] import org.osgi.service.cm.ManagedService;
[ERROR] ^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.osgi.service.cm cannot be resolved
[ERROR]
/home/user/Downloads/eclipse2/R3_platform-aggregator/rt.equinox.bundles/bundles/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java:[65,0]
[ERROR] private ManagedService configurator;
[ERROR] ^^^^^^^^^^^^^^
[ERROR] ManagedService cannot be resolved to a type
[ERROR]
/home/user/Downloads/eclipse2/R3_platform-aggregator/rt.equinox.bundles/bundles/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java:[102,0]
[ERROR] (ManagedService)EasyMock.anyObject(),
[ERROR] ^^^^^^^^^^^^^^
[ERROR] ManagedService cannot be resolved to a type
[ERROR]
/home/user/Downloads/eclipse2/R3_platform-aggregator/rt.equinox.bundles/bundles/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java:[106,0]
[ERROR] configurator = (ManagedService) EasyMock.getCurrentArguments()[1];
[ERROR] ^^^^^^^^^^^^
[ERROR] ManagedService cannot be resolved to a type
[ERROR]
/home/user/Downloads/eclipse2/R3_platform-aggregator/rt.equinox.bundles/bundles/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java:[106,0]
[ERROR] configurator = (ManagedService) EasyMock.getCurrentArguments()[1];
[ERROR] ^^^^^^^^^^^^^^
[ERROR] ManagedService cannot be resolved to a type
[ERROR]
/home/user/Downloads/eclipse2/R3_platform-aggregator/rt.equinox.bundles/bundles/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java:[128,0]
[ERROR] configurator.updated(props);
[ERROR] ^^^^^^^^^^^^
[ERROR] ManagedService cannot be resolved to a type
[ERROR]
/home/user/Downloads/eclipse2/R3_platform-aggregator/rt.equinox.bundles/bundles/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java:[207,0]
[ERROR] (ManagedService)EasyMock.anyObject(),
[ERROR] ^^^^^^^^^^^^^^
[ERROR] ManagedService cannot be resolved to a type
[ERROR]
/home/user/Downloads/eclipse2/R3_platform-aggregator/rt.equinox.bundles/bundles/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java:[211,0]
[ERROR] configurator = (ManagedService) EasyMock.getCurrentArguments()[1];
[ERROR] ^^^^^^^^^^^^
[ERROR] ManagedService cannot be resolved to a type
[ERROR]
/home/user/Downloads/eclipse2/R3_platform-aggregator/rt.equinox.bundles/bundles/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java:[211,0]
[ERROR] configurator = (ManagedService) EasyMock.getCurrentArguments()[1];
[ERROR] ^^^^^^^^^^^^^^
[ERROR] ManagedService cannot be resolved to a type
[ERROR]
/home/user/Downloads/eclipse2/R3_platform-aggregator/rt.equinox.bundles/bundles/org.eclipse.equinox.console.ssh.tests/src/org/eclipse/equinox/console/ssh/SshCommandWithConfigAdminTests.java:[235,0]
[ERROR] configurator.updated(props);
[ERROR] ^^^^^^^^^^^^
[ERROR] ManagedService cannot be resolved to a type
[ERROR] 10 problems (10 errors)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :org.eclipse.equinox.console.ssh.tests