Missed some required changes to get the example app working with the latest
version of Felix. (FELIX-453)
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@627960 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/examples/extenderbased.host/pom.xml b/examples/extenderbased.host/pom.xml
index 7238c03..29ac0da 100644
--- a/examples/extenderbased.host/pom.xml
+++ b/examples/extenderbased.host/pom.xml
@@ -49,9 +49,9 @@
<configuration>
<instructions>
<Main-Class>org.apache.felix.example.extenderbased.host.Activator</Main-Class>
- <Import-Package>org.osgi.framework,org.osgi.service.packageadmin,org.osgi.service.url,org.osgi.service.startlevel,org.osgi.util.tracker,*</Import-Package>
+ <Import-Package>!android.dalvik,org.osgi.framework,org.osgi.service.packageadmin,org.osgi.service.url,org.osgi.service.startlevel,org.osgi.util.tracker,*</Import-Package>
<Export-Package>org.apache.felix.example.extenderbased.host.extension.*</Export-Package>
- <Private-Package>org.apache.felix.example.extenderbased.host.*,org.apache.felix.moduleloader.*,org.apache.felix.framework.*,org.osgi.*</Private-Package>
+ <Private-Package>org.apache.felix.example.extenderbased.host.*,org.apache.felix.moduleloader.*,org.apache.felix.framework.*,org.apache.felix.main,org.osgi.*</Private-Package>
<Bundle-Activator>org.apache.felix.example.extenderbased.host.Activator</Bundle-Activator>
</instructions>
</configuration>
diff --git a/examples/servicebased.host/pom.xml b/examples/servicebased.host/pom.xml
index 4a8b601..2c8eacb 100644
--- a/examples/servicebased.host/pom.xml
+++ b/examples/servicebased.host/pom.xml
@@ -49,9 +49,9 @@
<configuration>
<instructions>
<Main-Class>org.apache.felix.example.servicebased.host.Activator</Main-Class>
- <Import-Package>javax.microedition.io;resolution:=optional, org.osgi.framework,org.osgi.service.packageadmin,org.osgi.service.url,org.osgi.service.startlevel,org.osgi.util.tracker,*</Import-Package>
+ <Import-Package>!android.dalvik,javax.microedition.io;resolution:=optional, org.osgi.framework,org.osgi.service.packageadmin,org.osgi.service.url,org.osgi.service.startlevel,org.osgi.util.tracker,*</Import-Package>
<Export-Package>org.apache.felix.example.servicebased.host.service.*</Export-Package>
- <Private-Package>org.apache.felix.example.servicebased.host.*,org.apache.felix.moduleloader.*,org.apache.felix.framework.*,org.osgi.*</Private-Package>
+ <Private-Package>org.apache.felix.example.servicebased.host.*,org.apache.felix.moduleloader.*,org.apache.felix.framework.*,org.apache.felix.main,org.osgi.*</Private-Package>
<Bundle-Activator>org.apache.felix.example.servicebased.host.Activator</Bundle-Activator>
</instructions>
</configuration>