Community
Participate
Working Groups
While working on SDEF files in the PDE it would be much faster if the SDEF cache could be disabled so that it would be re-read each time the UI was built.
Suggested method would be to introduce support for a framework wide debug flag: -Dsapphire.debug=true If its true, then the SDEF cache could check this flag and if debug is on, it would not cache the definition, thus allowing for rapid development.
Note that I would expect caching to be disabled only for sdef models (as opposed to disabling the overall caching system that is used for any kind of model).
Tagging as a possible work item for Kamesh.
I've getting back into SDEF development again and before I started I went ahead and made a patch for this. I'll attach my current patch.
Created attachment 205256 [details] patch attempt 1 Added a simple -D debug flag to look for to avoid cache check for SDEFs.
I generalized the system property by calling it "sapphire.dev.mode" and creating a public method to check its state. We will might want to attach other behaviors to dev mode besides disabling sdef cache. Please verify.
Verified with latest CVS.
Closing. Thanks.