Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-releng] Compile error with org.eclipse.jst.jsf.test.util

Hi Everyone,

I'm getting a compile error when building the latest code from the master branches as shown below. Any ideas on what might be the cause?

Thanks,


Thanh


[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.19.0-SNAPSHOT:compile (default-compile) on project org.eclipse.jst.jsf.test.util: Compilation failure: Compilation failure: [ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/mock/osgi/BundleHacker.java:[18]
[ERROR] import org.eclipse.osgi.container.Module.Settings;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.osgi.container cannot be resolved
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/mock/osgi/BundleHacker.java:[19]
[ERROR] import org.eclipse.osgi.internal.framework.BundleContextImpl;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.osgi.internal.framework cannot be resolved
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/mock/osgi/BundleHacker.java:[20]
[ERROR] import org.eclipse.osgi.internal.framework.EquinoxBundle;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.osgi.internal.framework cannot be resolved
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/mock/osgi/BundleHacker.java:[21]
[ERROR] import org.eclipse.osgi.internal.framework.EquinoxContainer;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.osgi.internal.framework cannot be resolved
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/mock/osgi/BundleHacker.java:[49] [ERROR] EquinoxContainer container = new EquinoxContainer(Collections.EMPTY_MAP);
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR] EquinoxContainer cannot be resolved to a type
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/mock/osgi/BundleHacker.java:[49] [ERROR] EquinoxContainer container = new EquinoxContainer(Collections.EMPTY_MAP);
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR] EquinoxContainer cannot be resolved to a type
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/mock/osgi/BundleHacker.java:[50]
[ERROR] EquinoxBundle bundle = createEquinoxBundle(container);
[ERROR] ^^^^^^^^^^^^^
[ERROR] EquinoxBundle cannot be resolved to a type
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/mock/osgi/BundleHacker.java:[52] [ERROR] BundleContextImpl bundleContextImpl = new BundleContextImpl(bundle,container);
[ERROR] ^^^^^^^^^^^^^^^^^
[ERROR] BundleContextImpl cannot be resolved to a type
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/mock/osgi/BundleHacker.java:[52] [ERROR] BundleContextImpl bundleContextImpl = new BundleContextImpl(bundle,container);
[ERROR] ^^^^^^^^^^^^^^^^^
[ERROR] BundleContextImpl cannot be resolved to a type
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/mock/osgi/BundleHacker.java:[59] [ERROR] private EquinoxBundle createEquinoxBundle(EquinoxContainer equinoxContainer) {
[ERROR] ^^^^^^^^^^^^^
[ERROR] EquinoxBundle cannot be resolved to a type
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/mock/osgi/BundleHacker.java:[59] [ERROR] private EquinoxBundle createEquinoxBundle(EquinoxContainer equinoxContainer) {
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR] EquinoxContainer cannot be resolved to a type
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/mock/osgi/BundleHacker.java:[60] [ERROR] return new EquinoxBundle(-1L, null, null, EnumSet.of(Settings.USE_ACTIVATION_POLICY), 3, equinoxContainer);
[ERROR] ^^^^^^^^^^^^^
[ERROR] EquinoxBundle cannot be resolved to a type
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/mock/osgi/BundleHacker.java:[60] [ERROR] return new EquinoxBundle(-1L, null, null, EnumSet.of(Settings.USE_ACTIVATION_POLICY), 3, equinoxContainer);
[ERROR] ^^^^^^^^
[ERROR] Settings cannot be resolved to a variable
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/junit4/WorkspaceRunner.java:[13]
[ERROR] import org.eclipse.osgi.internal.loader.ModuleClassLoader;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.osgi.internal.loader.ModuleClassLoader cannot be resolved [ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/junit4/WorkspaceRunner.java:[68] [ERROR] if (Platform.isRunning() && classLoader instanceof ModuleClassLoader)
[ERROR] ^^^^^^^^^^^^^^^^^
[ERROR] ModuleClassLoader cannot be resolved to a type
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/junit4/WorkspaceRunner.java:[70]
[ERROR] final Bundle bundle = ((ModuleClassLoader) classLoader).getBundle();
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] ModuleClassLoader cannot be resolved to a type
[ERROR] /buildroot/webtools.releng.aggregator/webtools.jsf.tests/jsf/tests/org.eclipse.jst.jsf.test.util/src/org/eclipse/jst/jsf/test/util/junit4/WorkspaceRunner.java:[70]
[ERROR] final Bundle bundle = ((ModuleClassLoader) classLoader).getBundle();
[ERROR] ^^^^^^^^^^^^^^^^^
[ERROR] ModuleClassLoader cannot be resolved to a type
[ERROR] -> [Help 1]



Back to the top