Page 1 of 1

Cache in bookmap in new .jar

Posted: Mon Oct 31, 2022 4:21 am
by nxbjyscspmv
Why when I rename name fromĀ  class@Layer1StrategyName("FeedRecorder demo") to @Layer1StrategyName("FeedRecorder2 demo") and create new .jar in bookmap dont see new name. but if i rename file, i see.

I need always rename file?

Re: Cache in bookmap in new .jar

Posted: Mon Oct 31, 2022 2:12 pm
by Andry API support
Hi, what file do you mean here?
Please look at my screenshots. I have created a copy of the FeedRecorder.class and it isĀ FeedRecorder2.class
I have also changed the strategy name in the annotation. Then I built the jar and `FeedRecorder2 demo` is visible in Bookmap.
Clipboard01.jpg
Clipboard01.jpg (78.64 KiB) Viewed 8023 times
Clipboard02.jpg
Clipboard02.jpg (33.28 KiB) Viewed 8023 times

Re: Cache in bookmap in new .jar

Posted: Wed Nov 02, 2022 10:07 am
by Svyatoslav
If you are talking about the entry point caching - that is done based on the jar file hash, so as soon as you rebuild it (so that hash is different) - it should no longer be cached. That being said, if the above reply from Andrey and my reply didn't help - please record a video if possible to show the issue in detail (or just describe it in details, step by step).