fails to build with org.apache.felix.framework 4.0.2

Description

hi ,
i tried to build runner-1.7.6 with felix framework 4.0.2
i applied a patch for some missing FF methods (attached)

i encounter these errors:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile)
on project pax-runner: Compilation failure: Compilation failure:
[ERROR] pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/osgi/RunnerBundleContext.java:[75,38]
addListener(org.osgi.framework.BundleContext,java.lang.Class,java.util.EventListener,org.osgi.framework.Filter) in
org.apache.felix.framework.util.EventDispatcher cannot be applied to
(org.osgi.framework.Bundle,java.lang.Class<org.osgi.framework.ServiceListener>,org.osgi.framework.ServiceListener,org.osgi.framework.Filter)
[ERROR]
[ERROR] pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/osgi/RunnerBundleContext.java:[107,42]
getServiceReferences(java.lang.String,org.apache.felix.framework.capabilityset.SimpleFilter) in
org.apache.felix.framework.ServiceRegistry cannot be applied to
(java.lang.String,org.osgi.framework.Filter)
[ERROR]
[ERROR] pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:[205,23] cannot find symbol
[ERROR] symbol : method shutdown()
[ERROR] location: class org.apache.felix.framework.util.EventDispatcher
[ERROR]
[ERROR] pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:[241,48] cannot find symbol
[ERROR] symbol : constructor ServiceRegistry(<nulltype>)
[ERROR] location: class org.apache.felix.framework.ServiceRegistry
[ERROR]
[ERROR] pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:[242,66] cannot find symbol
[ERROR] symbol : constructor Logger(int)
[ERROR] location: class org.apache.felix.framework.Logger
[ERROR]
[ERROR] pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:[247,26]
fireServiceEvent(org.osgi.framework.ServiceEvent,java.util.Dictionary,org.osgi.framework.launch.Framework) in
org.apache.felix.framework.util.EventDispatcher cannot be applied to (org.osgi.framework.ServiceEvent)
[ERROR]
[ERROR] pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:[243,23] cannot find symbol
[ERROR] symbol : method addServiceListener(<anonymous org.osgi.framework.ServiceListener>)
[ERROR] location: class org.apache.felix.framework.ServiceRegistry
[ERROR]
[ERROR] pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:[645,19]
reference to BundleReference is ambiguous, both class org.osgi.framework.BundleReference in
org.osgi.framework and class org.ops4j.pax.runner.platform.BundleReference in org.ops4j.pax.runner.platform match
[ERROR]
[ERROR] pax-runner-1.7.6/pax-runner/src/main/java/org/ops4j/pax/runner/Run.java:[645,63]
reference to BundleReference is ambiguous, both class org.osgi.framework.BundleReference in
org.osgi.framework and class org.ops4j.pax.runner.platform.BundleReference in
org.ops4j.pax.runner.platform match
[ERROR] -> [Help 1]

thanks in advance for every help
regards

Environment

Fedora all version
jdk 1.7.0_09-icedtea-mockbuild_2012_10_16_20_26-b00
org.apache.felix.framework 4.0.2
org.apache.felix.bundlerepository 1.6.6
slf4j 1.6.1 (soon be updated to 1.7.2)
eclipse 4.2.1
ops4j:
base-1.4.0
scanner-1.1.0
swissbox-1.5.1
url-1.3.5 (soon be updated to url-1.5.0)

Status

Assignee

Toni Menzel

Reporter

gil

Labels

None

Components

Affects versions

Priority

Major
Configure