-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure start behavior of logback-class through m2e.logback.feature
and add 'jakarta.servlet-api' as requirement to ensure its present until Aries can handle its absense for logback: apache/aries#233 Fixes #1481
- Loading branch information
1 parent
cf3505f
commit 002fca8
Showing
5 changed files
with
35 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
bin.includes = feature.xml,\ | ||
feature.properties | ||
feature.properties,\ | ||
p2.inf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#The purpose of the following advices is to configure ch.qos.logback.classic as auto-started with start-level 2 when installing this feature | ||
#Create a requirement on the fragment we are creating | ||
requires.0.namespace=org.eclipse.equinox.p2.iu | ||
requires.0.name=configure.logback.classic | ||
requires.0.range=[$version$,$version$] | ||
requires.0.greedy=true | ||
|
||
#Create a IU fragment named configure.logback.classic | ||
units.0.id=configure.logback.classic | ||
units.0.version=$version$ | ||
units.0.provides.0.namespace=org.eclipse.equinox.p2.iu | ||
units.0.provides.0.name=configure.logback.classic | ||
units.0.provides.0.version=$version$ | ||
units.0.instructions.install=org.eclipse.equinox.p2.touchpoint.eclipse.installBundle(bundle:${artifact}); | ||
units.0.instructions.uninstall=org.eclipse.equinox.p2.touchpoint.eclipse.uninstallBundle(bundle:${artifact}); | ||
units.0.instructions.configure= \ | ||
org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel:2); \ | ||
org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started:true); | ||
units.0.instructions.unconfigure= \ | ||
org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel:-1); \ | ||
org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started:false); | ||
units.0.hostRequirements.0.namespace=osgi.bundle | ||
units.0.hostRequirements.0.name=ch.qos.logback.classic | ||
units.0.hostRequirements.0.range=[1.3,1.5] | ||
units.0.hostRequirements.0.greedy=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters