Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336313 - properties not showing up
Summary: properties not showing up
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Milos Kleint CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-04 01:50 EST by Milos Kleint CLA
Modified: 2021-04-19 13:22 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint CLA 2011-02-04 01:50:47 EST
[9:47pm] igorf_: mkleint: am I supposed to get codeassist for properties defined in this pom.xml?
[9:51pm] mkleint: igorf_: where? after you type ${ you should get props from effective pom
[9:51pm] igorf_: it does not work, at least not for all projects
[9:51pm] igorf_: mkleint: try org.eclipse.m2e.maven.runtime/update-jars-pom.xml for example
[9:52pm] igorf_: I see some random properties defined I don't even know where
[9:52pm] igorf_: editor most likely uses wrong effective pom
[9:52pm] mkleint: please file an issue, I'll look into it tomorow.. about ot head for bead now..
[9:53pm] igorf_: sure
Comment 1 Milos Kleint CLA 2011-02-04 01:59:23 EST
caused by code relying on IProject as reference point, rather than MavenProject


        IMavenProjectFacade mvnproject = MavenPlugin.getDefault().getMavenProjectManager().getProject(project);
        List<String> keys = new ArrayList<String>();
        String contextTypeId = getContextTypeId();
        if(mvnproject != null) {
          MavenProject mvn = mvnproject.getMavenProject();
Comment 3 Denis Roy CLA 2021-04-19 13:22:27 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/