[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] Automatic project changes resolution
|
Ok. I also cloned/imported
https://github.com/sonatype/interactive-interpolation.git and that solved another issue. Now I'm down to just 19 compile errors ;)
The majority of them are related to "ProfileChangeRequest", although 'org.eclipse.equinox.internal.provisional.p2.director" package is available. It just doesn't have that class...
Any quick tips?
Description Resource Path Location Type
PREFS_ARCHETYPES cannot be resolved or is not a field M2EclipsePreferenceGroup.java /com.sonatype.s2.project.core/src/main/java/com/sonatype/s2/project/prefs/internal line 36 Java Problem
ProfileChangeRequest cannot be resolved to a type P2Installer.java /com.sonatype.s2.installer/src/com/sonatype/s2/installer/internal line 376 Java Problem
ProfileChangeRequest cannot be resolved to a type P2Installer.java /com.sonatype.s2.installer/src/com/sonatype/s2/installer/internal line 379 Java Problem
ProfileChangeRequest cannot be resolved to a type P2Installer.java /com.sonatype.s2.installer/src/com/sonatype/s2/installer/internal line 379 Java Problem
ProfileChangeRequest cannot be resolved to a type P2Installer.java /com.sonatype.s2.installer/src/com/sonatype/s2/installer/internal line 703 Java Problem
ProfileChangeRequest cannot be resolved to a type P2Installer.java /com.sonatype.s2.installer/src/com/sonatype/s2/installer/internal line 756 Java Problem
ProfileChangeRequest cannot be resolved to a type P2Installer.java /com.sonatype.s2.installer/src/com/sonatype/s2/installer/internal line 800 Java Problem
ProfileChangeRequest cannot be resolved to a type P2Installer.java /com.sonatype.s2.installer/src/com/sonatype/s2/installer/internal line 816 Java Problem
ProfileChangeRequest cannot be resolved to a type P2Installer.java /com.sonatype.s2.installer/src/com/sonatype/s2/installer/internal line 1162 Java Problem
ProfileChangeRequest cannot be resolved to a type P2Installer.java /com.sonatype.s2.installer/src/com/sonatype/s2/installer/internal line 1162 Java Problem
ProfileChangeRequest cannot be resolved to a type P2Installer.java /com.sonatype.s2.installer/src/com/sonatype/s2/installer/internal line 1254 Java Problem
ProfileChangeRequest cannot be resolved to a type P2Installer.java /com.sonatype.s2.installer/src/com/sonatype/s2/installer/internal line 1254 Java Problem
The constructor StructuredViewerProvisioningListener(String, StructuredViewer, int) is undefined AvailableGroupWrapper.java /com.sonatype.s2.extractor.helios/src/main/java/com/sonatype/s2/extractor line 630 Java Problem
The import org.eclipse.equinox.internal.provisional.p2.director.ProfileChangeRequest cannot be resolved P2Installer.java /com.sonatype.s2.installer/src/com/sonatype/s2/installer/internal line 48 Java Problem
The method addProvisioningListener(StructuredViewerProvisioningListener) is undefined for the type ProvUI AvailableGroupWrapper.java /com.sonatype.s2.extractor.helios/src/main/java/com/sonatype/s2/extractor line 646 Java Problem
The method buildProvisioningRequest(IProfile, IInstallableUnit[], IInstallableUnit[]) from the type P2Installer refers to the missing type ProfileChangeRequest P2Installer.java /com.sonatype.s2.installer/src/com/sonatype/s2/installer/internal line 757 Java Problem
The method getArchetypeManager() is undefined for the type MavenPlugin M2EclipsePreferenceGroup.java /com.sonatype.s2.project.core/src/main/java/com/sonatype/s2/project/prefs/internal line 86 Java Problem
The method getMavenProjectManager() is undefined for the type MavenPlugin AbstractSourceTreeOperation.java /com.sonatype.s2.project.core/src/main/java/com/sonatype/s2/project/core/internal/update line 71 Java Problem
The method removeProvisioningListener(StructuredViewerProvisioningListener) is undefined for the type ProvUI AvailableGroupWrapper.java /com.sonatype.s2.extractor.helios/src/main/java/com/sonatype/s2/extractor line 651 Java Problem
Thanks,
Andrii
On Mon, Oct 10, 2011 at 3:37 PM, Igor Fedorenko
<igor@xxxxxxxxxxxxxx> wrote:
There were breaking changes in p2 between 3.5 and 3.6, so we had to
implement p2 integration for 3.5 and 3.6 separately. Due to limitations
of PDE workspace target platform support, only one of 3.5 and 3.6
integration can compile inside workspace and you need to close the other
one.
--
Regards,
Igor
On 11-10-10 9:32 AM, Java Questions wrote:
In addition to that I'm getting a few other errors related to plugins:
Description Resource Path Location Type
Bundle 'org.sonatype.spice.interactive-interpolation' cannot be
resolved MANIFEST.MF /com.sonatype.s2.project.core/META-INF
line 20 Plug-in Problem
Bundle 'org.sonatype.spice.interactive-interpolation' cannot be
resolved MANIFEST.MF /com.sonatype.s2.project.ui/META-INF line
24 Plug-in Problem
Unsatisfied version constraint: 'org.eclipse.equinox.p2.core:
[1.0.100,2.0.0)' MANIFEST.MF
/com.sonatype.s2.project.validation.p2/META-INF line 17 Plug-in
Problem
Unsatisfied version constraint: 'org.eclipse.equinox.p2.director:
[1.0.100,2.0.0)' MANIFEST.MF
/com.sonatype.s2.project.validation.p2/META-INF line 14 Plug-in
Problem
Unsatisfied version constraint: 'org.eclipse.equinox.p2.engine:
[1.0.100,2.0.0)' MANIFEST.MF
/com.sonatype.s2.project.validation.p2/META-INF line 15 Plug-in
Problem
Unsatisfied version constraint: 'org.eclipse.equinox.p2.metadata:
[1.0.100,2.0.0)' MANIFEST.MF
/com.sonatype.s2.project.validation.p2/META-INF line 13 Plug-in
Problem
Unsatisfied version constraint: 'org.eclipse.equinox.p2.repository:
[1.0.1,2.0.0)' MANIFEST.MF
/com.sonatype.s2.project.validation.p2/META-INF line 19 Plug-in
Problem
Unsatisfied version constraint: 'org.eclipse.equinox.p2.ui:
[1.0.100,2.0.0)' MANIFEST.MF
/com.sonatype.s2.project.validation.p2/META-INF line 16 Plug-in
Problem
Any ideas?
/Andrii
On Mon, Oct 10, 2011 at 2:59 PM, Java Questions
<mailto:
igor@xxxxxxxxxxxxxx>> wrote:
Where do you see this version range? Dependencies on m2e should be
[1.0,1.1) and we probably should change them to [1.0,1.2) to
allow Juno.
--
Regards,
Igor
On 11-10-10 8:48 AM, Java Questions wrote:
Yep, that helped a lot.
Now I'm wondering about things like:
org.eclipse.m2e.maven.runtime;__bundle-version="[0.13.0,0.14.__0)",
Sources which I got from
http://git.eclipse.org/__gitroot/m2e/m2e-core.git
<mailto:igor@xxxxxxxxxxxxxx <mailto:igor@xxxxxxxxxxxxxx>>>
wrote:
I believe this comes from eclipse-commons source tree
https://github.com/sonatype/____eclipse-commons
<https://github.com/sonatype/__eclipse-commons>
org.maven.ide.eclipse.ui.____common.editor.____AbstractFileEditor;
<mailto:mpiggott@xxxxxxxxxxxx>>__>__>
<mailto:for.java.questions@
<mailto:for.java.questions@>__g__mail.com <http://gmail.com>
<mailto:
for.java.questions@__
gmail.com
<mailto:
for.java.questions@gmail.com>>>>
wrote:
I discussed this with my team and they were
quite
interested. If
it really suits our needs and we'll see that
it makes
sense to
work in that direction, we could even
contribute back
anything
we would need to tune to make it work for us.
But I need some additional help from you in
order to proceed
with the investigation, since my experience
with Eclipse
plugins
is very basic. For now I need to know/do the
following
things:
1) Be able to run/debug the Onboarding project
I looked at
https://docs.sonatype.org/____display/M2ECLIPSE/Developer+____Guide
<https://docs.sonatype.org/__display/M2ECLIPSE/Developer+__Guide>
<
https://docs.sonatype.org/__display/M2ECLIPSE/Developer+__Guide
<
https://docs.sonatype.org/display/M2ECLIPSE/Developer+Guide>>
and
tried to import the Onboarding project in a
similar way.
That
helped me to get rid of some errors, but I
still get tons of
them (for instance, for some reason I have
problems with
resolving/downloading s2-e36.target - could
it be because I
tried it with e3.7.1?). Do you have
somewhere up-to-date
wiki
somewhere describing how to get started?
Every mistake with
setup costs a lot of time (when it starts
verifying/downloading
something it takes a lot of time and then
shows an error).
The target platform would be fine with 3.7.1,
the most
likely cause
is that one of the update sites has had content
removed. Its
probably easier to see what using the command line.
___________________________________________________
<mailto:m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>>__>
https://dev.eclipse.org/____mailman/listinfo/m2e-users
<https://dev.eclipse.org/__mailman/listinfo/m2e-users>
<https://dev.eclipse.org/__mailman/listinfo/m2e-users
<https://dev.eclipse.org/mailman/listinfo/m2e-users>>
___________________________________________________
https://dev.eclipse.org/____mailman/listinfo/m2e-users
<https://dev.eclipse.org/__mailman/listinfo/m2e-users>
<https://dev.eclipse.org/__mailman/listinfo/m2e-users
<https://dev.eclipse.org/mailman/listinfo/m2e-users>>
___________________________________________________
https://dev.eclipse.org/____mailman/listinfo/m2e-users
<https://dev.eclipse.org/__mailman/listinfo/m2e-users>