Hi all,

We have been building our OSGi bundle WAR's with BND and this is mostly working 
well. But I have one small gripe and that is that BND seems to only monitor 
JAVA files for changes when it decides whether or not to recreate the bundle 
JAR. If I only change, say an HTML file or properties file in my bundle 
project, then when running BND it will print something like:

[bnd] # my.example.bundle (example_bundle.jar) 27 (not modified)

If I then proceed to 'touch' a Java file in that same project, it does build a 
new bundle JAR and prints something like:

[bnd] # my.example.bundle (example_bundle.jar) 27

This is very tricky, because before you know it you will be testing a bundle 
that just was not updated, wondering why the heck it does not work. So I taught 
myself to always check the output for the '(not modified)' warning sign... 
However maybe there is a much better way to make BND check for resources also 
when deciding whether to build a new JAR or not? Does anyone here know?

Any help greatly appreciated,

-Stijn

Sorry if I am wrong here, but I understood BND questions are often sent to (and 
answered on) this list and that BND does not have it's own list. If I'm wrong 
and this is offtopic, please forgive me and point me to the correct place...


Reply via email to