This repository has been archived by the owner on Apr 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbndrun.fmt
81 lines (66 loc) · 1.91 KB
/
bndrun.fmt
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#
# Variables for simplifying common requirements
#
requirements.shell = \
osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.runtime)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.jline)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.command)'
requirements.configurer = \
em.contract;filter:='(em.contract=configurer)'
requirements.webconsole = \
osgi.identity;filter:='(osgi.identity=org.apache.felix.webconsole)'
#
# Run without BND workspace
#
-standalone:
#
# If `distro` is provided then tell BND about it
#
<#if distro?has_content>
-distro: ${distro};version=file
</#if>
#
# Runtime environment
#
-runee: JavaSE-1.8
#
# OSGi framework implementation
#
-runfw: org.apache.felix.framework;version='[6,7)'
#-runfw: org.apache.felix.framework;version='[5,6)'
#-runfw: org.eclipse.osgi;version='[3.10,4)'
#
# The following properties enable console in Equinox!
# However it also breaks the resolver (it resolves OK but output does not contain required bundles) !!!
#
#-runproperties: osgi.console=, osgi.console.enable.builtin=false
#-runproperties: org.osgi.framework.bootdelegation="sun.*,com.sun.*"
-runproperties: \
<#list runProperties as property>
${property}<#sep>,\</#sep>
</#list>
#
# Requirements to taken into account in the assembly process:
# resolve - those are the ones OSGi runtime will enforce
# active - used by SCR to wire service components
# assemble - used by EM contracts
#
-resolve.effective: resolve, active, assemble
#
# Packages exported by the runtime:
#
-runsystempackages: sun.*,com.sun.*
#
# Always ignore the following bundles
#
-runblacklist: \
osgi.identity;filter:="(osgi.identity=osgi.core)",\
osgi.identity;filter:="(osgi.identity=osgi.cmpn)",\
osgi.identity;filter:="(osgi.identity=osgi.enterprise)"
#
# What are the initial requirements
#
-runrequires: \
<#list requirements as requirement>
${requirement}<#sep>,\</#sep>
</#list>