• 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: Redistribution of /Developer/Tools components...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redistribution of /Developer/Tools components...


  • Subject: Re: Redistribution of /Developer/Tools components...
  • From: Michael Tsai <email@hidden>
  • Date: Mon, 28 Oct 2002 10:29:26 -0500

On 2:09 AM 10/26/02 Charles Srstka <email@hidden>
wrote:

>> Specifically, I'd like to bundle CpMac and MvMac in my app bundle.
>> What's the legal aspect of this?
> I highly doubt that it would be legal to bundle those tools in your
> app.
>
> Fortunately, their functionality is pretty easy to duplicate. Just
> make two command-line tools which take two paths as input and then
> run -[NSFileManager movePath:toPath:handler:] or -[NSFileManager
> copyPath:toPath:handler:] with the paths as arguments.

copyPath:toPath:handler: does preserve resource forks, but it does
not preserve HFS+ metadata. I'm not sure about
movePath:toPath:handler:, but it probably doesn't either.

If you are running on 10.2 or later, 'ditto' may be an acceptable
replacement for CpMac.

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

  • Prev by Date: How to change the app viewing WWDC video
  • Next by Date: NSString Parsing
  • Previous by thread: Re: Redistribution of /Developer/Tools components...
  • Next by thread: Rendezvous and the Picture Sharing app
  • Index(es):
    • Date
    • Thread