Re: [Configuration] Call me a moron, but I just can't make it work!

2008-07-15 Thread Michael Robinson
Hello again, I've spent some time with the test class, and managed to get to the data I need. I still don't have any idea how to use config.getProperty(stringleadingtoproperty) though. And thus, I suspect I will be unable to use config.setProperty(stringleadingtoproperty,

Re: [Configuration] Call me a moron, but I just can't make it work!

2008-07-14 Thread [EMAIL PROTECTED]
Michael Robinson schrieb: Hi, I'm writing a program that must load, search, edit and save Mac OS X plist files. I was attempting to use apple's NS* foundation classes, but I couldn't work out how to write to the plist files (maybe I'm just stupid). I searched around the internet and was

Re: [Configuration] Call me a moron, but I just can't make it work!

2008-07-14 Thread Ralph Goers
Your problem is that you are searching for the value of an element, not the element name, i.e. there are no elements named SndwichFillings, Dictionary or SidebarTitle. Your element names are all named key. I can never remember how to filter based on the value of an element of a key using the

Re: [Configuration] Call me a moron, but I just can't make it work!

2008-07-14 Thread Oliver Heger
[EMAIL PROTECTED] schrieb: Michael Robinson schrieb: Hi, I'm writing a program that must load, search, edit and save Mac OS X plist files. I was attempting to use apple's NS* foundation classes, but I couldn't work out how to write to the plist files (maybe I'm just stupid). I searched

Re: [Configuration] Call me a moron, but I just can't make it work!

2008-07-14 Thread Michael Robinson
Thank you all very much for your swift and helpful replies, I'll investigate the unit tests after breakfast, I'm sure they're just what I needed. Mike The future belongs to those who prepare for it today. -- Malcolm X (1925 - 1965) On 15/07/2008, at 7:40 AM, Oliver Heger wrote:

Re: [Configuration] Call me a moron, but I just can't make it work!

2008-07-14 Thread Michael Robinson
WAR IS PEACE FREEDOM IS SLAVERY IGNORANCE IS STRENGTH -- George Orwell (1903 - 1950), 1984 On 15/07/2008, at 7:40 AM, Oliver Heger wrote: [EMAIL PROTECTED] schrieb: Michael Robinson schrieb: Hi, I'm writing a program that must load, search, edit and save Mac OS X plist files. I