• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deployment


  • Subject: Re: Deployment
  • From: Art Isbell <email@hidden>
  • Date: Sat, 19 Jun 2004 16:21:10 -1000

On Jun 19, 2004, at 2:57 PM, Greg Hulands wrote:

My application has system wide preferences that stores them in a text file on the file system.

Chuck's database suggestion is about as general solution as exists.

But you do know that a WO app will automatically read a file named "Properties" that is included in the project and installed in the app's woa directory, right? Besides storing simple key-value string pairs, it can also store array and dictionary values as property lists that can be parsed using NSPropertyListSerialization's methods. This is pretty convenient.

Reading about how you can have multiple instances on the same machine will be ok as the preferences will be on the same file system, although if I change a preference in one instance, how does it propogate through to the others?

You can launch each instance with a launch argument that will override any value defined in the Properties file. Or the Properties file can be updated in a text editor and the instance restarted.


But if I add another machine then the preference file would be duplicated, unless I was able to store it on a shared volume somewhere.

The Properties file will be installed with each application, so you don't need to worry about duplicating it.


Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Deployment
  • Next by Date: Re: Deployment
  • Previous by thread: Re: Deployment
  • Next by thread: Re: Deployment
  • Index(es):
    • Date
    • Thread