Hello,
I was wondering why I can't install the resource-editor bundle to the
Sling server. It took me a significant amount of time to figure out that
the changes will be installed if I use the 1.6.0 version of
org.apache.felix:org.apache.felix.scr.annotations instead of a newer one
[1].
I don't get any error message. To test if the installation was
successful I added a static variable to a ResourceDecorator and checked
if a log output was showing the changed value.
I don't use a different/incompatible major version of
oaf.scr.annotations and the change log [3] doesn't show any
incompatibilities.
I don't see any syntax problems and when debugging the Felix bundle
servlet and the Maven-Sling-Plugin I didn't find any hidden exceptions
that are thrown. The installation looks like it would be successful.
This might be just a simple problem. But it would make my day if someone
has a solution.
A dedicated project can be found at GitHub [4]
[1] -
https://github.com/sandroboehme/sandbox/blob/master/scr-annotation-test/pom.xml
[2] -
https://github.com/sandroboehme/sandbox/blob/master/scr-annotation-test/src/main/java/de/sandroboehme/scrannotationdeployment/ADecorator.java
[3] -
http://svn.apache.org/repos/asf/felix/releases/org.apache.felix.scr.annotations-1.9.8/changelog.txt
[4] -
https://github.com/sandroboehme/sandbox/tree/master/scr-annotation-test
Thanks a lot,
Sandro