Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345159 - Add a setPath(IPath path) method on IClasspathEntryDescriptor
Summary: Add a setPath(IPath path) method on IClasspathEntryDescriptor
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-09 11:31 EDT by Fred Bricon CLA
Modified: 2021-04-19 13:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fred Bricon CLA 2011-05-09 11:31:30 EDT
m2e-wtp updates IClasspathEntryDescriptors to deal with colliding file names  when configuring manifest files for skinny wars. See https://github.com/sonatype/m2eclipse-wtp/blob/323eb4f955bcf0594fc60df4cedf4e0548b98d07/org.maven.ide.eclipse.wtp/src/org/maven/ide/eclipse/wtp/WebProjectConfiguratorDelegate.java#L419

With the latest API cleanups, the setClasspathEntry method has been removed from the interface (now a private method from the underlying implementation). In order to keep existing functionality, we'd need to add a setPath method, to mutate the current descriptor's path.
Comment 2 Denis Roy CLA 2021-04-19 13:22:50 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/