[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [wtp-releng] Compile error with org.eclipse.jst.jsf.test.util
|
Looks like I'm getting platform packages from this URL:
http://download.eclipse.org/eclipse/updates/4.3
I will see if changing that to one of the Luna builds helps it.
Thanks,
Thanh
On 09/10/13 04:29 PM, Ian Trimble wrote:
We (JSF Tools) made changes in this area due to breakage introduced by platform changes when the build picked up a newer version of Luna; could it be that the latest code is being compiled against an older version of the platform?
- Ian
-----Original Message-----
From: Thanh Ha [mailto:thanh.ha@xxxxxxxxxxx]
Sent: Wednesday, October 09, 2013 1:07 PM
To: Webtools releng discussion list
Subject: [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]
_______________________________________________
wtp-releng mailing list
wtp-releng@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-releng
_______________________________________________
wtp-releng mailing list
wtp-releng@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-releng