bndtools/bndtools — Issue #338: log4j properties in fragment bundle
Author: sichvoge
Created: 2012-02-06 11:01:40+00:00
State: open

Hey Guys,

Im trying to add a log4j.properties as a extern fragment bundle to my bnd project. I add the property file to the src folder and
add additional stuff to my bnd.bnd file. Final one looks like this one:

Fragment-Host: org.apache.log4j;bundle-version="1.2.15"
-resourceonly: true;
-includeresource: src/log4j.properties

I also included the log4j jar to the cnf. Now when I run the project, a message appears that no appenders was found. What did I wrong? Can somebody help me, please.

Greetings
Christian