• 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: resource forks and cvs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: resource forks and cvs?


  • Subject: Re: resource forks and cvs?
  • From: Randall Crenshaw <email@hidden>
  • Date: Wed, 25 Sep 2002 05:55:42 -0700 (PDT)

--- Tomas Zahradnicky <email@hidden> wrote:

> >any info on how to preserve resource forks across cvs
> >import/check-out's. Is it a standard cvswrapper entry?
> >The file had no extension to check against.
>
> Use /Developer/Tools/DeRez. This will make .r source file
> from .rsrc.
> Then use /Developer/Tools/Rez to compile .r back into
> .rsrc.
>

Tomas,
Thank you for your reply. I have seen these tools. Is
there a shell test I can use to determine if a file has a
resource fork? Although it seems somewhat heavy-handed, it
appears I have to pass **all** files through a cvs wrapper
to (a) check if it has an rFork and (b) if so, use
DeRez/Rez - while (c) making sure that the DeRez'ed file is
treated as a binary by cvs.

So,
#!/bin/sh
if( -e $1/rsrc )
/Developer/Tools/DeRez $1 -o $1_deRez
# somehow get cvs to use this derez'ed version...

OTOH, perhaps I should just recursively descend the
project's folders doing this en masse before importing and
then use Rez during the build cycle?

Again, my sincere thanks,
Randy
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
_______________________________________________
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.

  • Follow-Ups:
    • Re: resource forks and cvs?
      • From: Chris Ridd <email@hidden>
    • Re: resource forks and cvs?
      • From: Cameron Hayne <email@hidden>
References: 
 >Re: resource forks and cvs? (From: Tomas Zahradnicky <email@hidden>)

  • Prev by Date: Multiple apps, one file.
  • Next by Date: Re: resource forks and cvs?
  • Previous by thread: Re: resource forks and cvs?
  • Next by thread: Re: resource forks and cvs?
  • Index(es):
    • Date
    • Thread