Community
Participate
Working Groups
Right now, we have: - session properties (for a session only) - persistant properties (within a single workspace only) But not any 'permanent' properties that persist across workspace, when a project is imported in a different workspace. We have the need for such API where simple client defined properties are stored in the .project file. Is there a reason why this wasn't implemented, or just there wasn't the requirement yet?
Yes, this is what the ProjectScope is for. The advantage of using the preference API here is that it allows cascaded property lookup, where we look in project scope, then instance scope, configuration scope, etc. It also has slightly richer API for getting/putting primitive types rather than just String.
Serge, if the ProjectScope is fine for you, I would mark the bug INVALID.
Ah great, thanks, I didn't realize that.