You're correct, it's not done like that today. On NEXTSTEP and OPENSTEP systems there was a process called make_services... This is why GNUstep has this executable.
Your suggestion, though, make sense. The make_services program should be run periodically so that registration of application associations is automatic. GC Sent from my iPhone On Jan 19, 2011, at 5:22 PM, Ivan Vučica <[email protected]> wrote: > Hi, > > On Wed, Jan 19, 2011 at 00:31, Riccardo Mottola <[email protected]> wrote: > Hi, > > your friend is make_services. Once your application is installed, run it. > (OS-X just runs make-services periodically). > > Thanks for the info! But, I'm pretty sure on OS X Finder does this, not a > background service (or the app handling registration is at least initiated by > Finder). Shouldn't GWorkspace and openapp run this sort of a task on launch > of the app? That would certainly improve usability and make app installation > easier. > > > You can also check with GWorkspace that the inspector "Tools" shows with what > to open. Several applications can be listed with one default. > > Thanks! > > > Furthermore I may add that ProjectCenter's 0.6.0 file format is a Bundle, > organized similarly to Xcode: a project specific file inside and a > user-specific plist. > > Riccardo > > > Ivan Vučica wrote: > Hi, > > Since Zcode is trying to be compatible with Xcode, I'd like to make it the > associated app for opening .xcodeproj bundles. Project Center does not seem > to support specifying that a document type is a bundle, and by reading PC's > Info-gnustep.plist, it doesn't seem to require it either. > > I've specified the document type in .plist, and I've launched the .app at > least once. On OS X, that would be sufficient to associate the filetype with > the app. However, GWorkspace does not seem to open the .xcodeproj files with > Zcode, nor does the file open dialog represent the .xcodeproj bundles as > "files" instead of directories. > > What did I do wrong with the plist? What else do I have to do to make the > GNUstep workspace associate .xcodeproj with Zcode? > > See the plist here: > https://bitbucket.org/ivucica/zcode/src/9d1d0e6cebe1/ZcodeInfo.plist > > > > > > -- > Regards, > > Ivan Vučica > > _______________________________________________ > Discuss-gnustep mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/discuss-gnustep
_______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
