Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314502 - Remove unnecessary Version constraints on Require-Bundle- / Package-Import-Statements
Summary: Remove unnecessary Version constraints on Require-Bundle- / Package-Import-St...
Status: RESOLVED FIXED
Alias: None
Product: EMFT
Classification: Modeling
Component: MWE (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: RC3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 12:24 EDT by Jochen Schmich CLA
Modified: 2010-05-28 01:09 EDT (History)
1 user (show)

See Also:
sven.efftinge: helios+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Schmich CLA 2010-05-26 12:24:43 EDT
There are version constraints on the imports of every of the following bundles:
org.eclipse.emf.mwe.core -> org.apache.commons.logging (1.1.1)
org.eclipse.emf.mwe.utils -> org.apache.commons.logging (1.1.1)
org.eclipse.emf.mwe2.runtime -> org.apache.log4j (1.2.15)

It's not absolutely necessary to remove them -> but I sometimes had strange effects while running different versions of Commons Logging in an OSGi-Environment (can't really predict of which bundles this environment will consist on each machine) -> those effects especially occurred while running the M2T Xpand Workflow Components inside the same environment - they don't define version constraints and sometimes happened to use a different Commons Logging bundle -> a different Logger!
Comment 1 Sven Efftinge CLA 2010-05-28 01:08:49 EDT
fixed in HEAD
Comment 2 Sven Efftinge CLA 2010-05-28 01:09:43 EDT
Note that the org.apache.log4j is needed in 1.2.15 because it provides features we use, which are not available in previous versions.