Felix doesn't automatically delete the cache. If you want to do that,
just modify your application launcher to delete the directory when it
completes, as Karl mention belows. Another option, for debugging
purposes is to install your bundle JAR file by reference (e.g.,
"reference:file:/path/to/bundle.jar"), which will not copy the bundle
into the cache, but will use it directly from the specified
location...this approach does have some limitations, but it may help you...
-> richard
Karl Pauls wrote:
Well, you could just update you bundles from inside your application
on startup or since you set a specific dir you could just delete that
one on application shutdown no?
regards,
Karl
On Wed, Mar 19, 2008 at 9:20 PM, jaredmac <[EMAIL PROTECTED]> wrote:
Hello,
As I develop with Felix embedded in my host application, I find I have to
set a new value for this line of code
configProps.setProperty(BundleCache.CACHE_PROFILE_PROP,
"testdir53");
every time I make a change to my bundle, which is pretty much every
change-compile-test iteration. Pretty painful. Either that, or go and delete
the .felix directory's contents.
Is there any way around this? I didn't see any way to do so on
http://felix.apache.org/site/apache-felix-usage-documentation.html and a
google search didn't turn anything up.
Thanks,
Jared
--
View this message in context:
http://www.nabble.com/Any-way-to-disable-caching-in-embedded-mode--tp16149838p16149838.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]