Perhaps consider xstream for serialization of this sort - at least there is a chance of seeing what is going on. http://www.devx.com/xml/Article/30068 , though it would be better to have an owl representation of the mapping...
[*] I don't think it saves ontology library state right after editing in that dialog(as it should?). I've made changes and quit protege to find that they have not been saved when I restart.
Re: how does one create a mapping of ontologies to local files for protege 4?
You are right, this should behave the same and I have added a bug to make sure all the tidyup that occurs when shutting down still takes place regardless of how you do this. Command Q is just handled differently internally currently.
Actually, I was wrong again, for some reason the repositories are not actually stored along with the other settings.
I'm going to have a look at the reasons for this and see if it all wants tidyup.
In the meantime the reps are saved when the dialog is OKed (and cancel really cancels now aswell!)
On Mon, Jul 14, 2008 at 6:47 PM, Alan Ruttenberg <[hidden email]> wrote:
On Jul 14, 2008, at 11:07 AM, Nick Drummond wrote:
P4 settings are not saved unless P4 is shut down correctly (ie closed rather than Command-Q on the mac).
Is there any reason not to make command-q on the mac a proper way of shutting down protege? Consistency of applications, etc.
Note that my suggestion was simply to save the repository information when the dialog is closed, rather than later, which is a small matter of moving the save code from one place to another.