Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326379 - Change dependency to org.apache.log4j to a wider range
Summary: Change dependency to org.apache.log4j to a wider range
Status: RESOLVED FIXED
Alias: None
Product: SWTBot
Classification: Technology
Component: SWTBot (show other bugs)
Version: 2.0.0-dev   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.0.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-28 03:59 EDT by Remo Loetscher CLA
Modified: 2010-10-12 10:52 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 Remo Loetscher CLA 2010-09-28 03:59:56 EDT
Build Identifier: 2.0.0_dev

The SWTBot Manifest.mf declares a "requireBundle" dependecy to log4j version 1.2.13.
As already mentioned in Bug #286527 it does make sense to exclude log4j versions prior to 1.2.12.
But we are using Apache log4j 1.2.16 and swtbot works without any problems with that log4j version.
Is it therefore possible to change the manifest files to this version range:
Require-Bundle: org.apache.log4j;bundle-version="[1.2.13,1.2.16]"
Supports current releases

Require-Bundle: org.apache.log4j;bundle-version="[1.2.13,1.3.0)"
Supports future micro releases.

Or even better use the "import" header:
Import-Package: org.apache.log4j;version="[1.2.13,1.2.16]"
Supports current releases

Import-Package: org.apache.log4j;version="[1.2.13,1.3.0)"
Supports future micro releases.

Reproducible: Always
Comment 1 Ketan Padegaonkar CLA 2010-10-12 10:52:27 EDT
Fixed in trunk rev 620 (git: 9a1b051).

I've changed all log4j references to use v1.2.13 to <v1.3.0.