Re: Testing out services
Christiaan Hofman <[email protected]> Wed, 9 Feb 2011 17:22:13 +0100
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Feb 9, 2011, at 17:10, claw wrote: > > if i understand well your problem : you did not succeed to specify the right version of your apps to the system, it kept the old version ?? No, I am only talking about services offered by my app. I simply want to test them out, and for that I need the system to update the services it knows about from the correct instance of my app bundle. According to the docs, it should always use the one in Applications, and running the pbs tool should force an update of the system services database. However when I look at the information it gathers it looks like it always uses stale information, not the one from my (updated) app bundle. Christiaan > in info.plist, you have option to specify if your app is effectively an executable, an agent (work in background ) so my idea was to use some "unix concept" : differenciate location of the app & properties of apps like the folder "application support" ?? do you understand me more ??? this agent can call the kernel & the registry if there some change needs to be update inside your app because there is something missing , and it can crash without crashing your principal application > > > > Le 9 févr. 2011 à 16:56, Christiaan Hofman a écrit : > >> Sorry, I don't understand what you're saying here, and I fail to see what an agent can do to help me with my problem. >> >> Christiaan >> >> On Feb 9, 2011, at 16:52, claw wrote: >> >>> hi, >>> >>> i have no much experience in coding, but why not build an agent as an app working "side by side" comparing different version on your info.plist : the actual inside the apps & the one referenced in the system in order to implement different kind of stuff : security authentication & ask web site to verify the version & so on ?? >>> >>> and this agent can used the kernels "safely" from your apps ...... >>> >>> >>> Le 9 févr. 2011 à 16:35, Christiaan Hofman a écrit : >>> >>>> I am trying to test out some services provided by my app. However, I don't get the system to update the services for me to test it out, the services don't change when I change the Services items in the Info.plist of my app. I have tried moving the app to /Applications, . Running the pbs CLT still loads the old services, even reporting an old version of my app in a completely different location, where it does not even reside anymore (using the -dump_pboard option). So how can I really force the Services to be updated? And is it possible to use a particular instance of my app bundle (different from the installed one) to be loaded? >>>> >>>> thanks, >>>> Christiaan >> >> >> _______________________________________________ >> MacOSX-dev mailing list >> [email protected] >> http://www.omnigroup.com/mailman/listinfo/macosx-dev >