-
Notifications
You must be signed in to change notification settings - Fork 117
/
p2.inf
25 lines (24 loc) · 1.34 KB
/
p2.inf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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.6)
units.0.hostRequirements.0.greedy=false