Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326379

Summary: Change dependency to org.apache.log4j to a wider range
Product: [Technology] SWTBot Reporter: Remo Loetscher <remo.loetscher>
Component: SWTBotAssignee: Project Inbox <swtbot-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: remo.loetscher
Version: 2.0.0-dev   
Target Milestone: 2.0.0   
Hardware: All   
OS: All   
Whiteboard:

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.