Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / June 2004



Tip: Looking for answers? Try searching our database.

Where's the packaging prefs panel?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy Bettis - 23 Jun 2004 09:24 GMT
Hi folks,

I've just upgraded from CW 8.3 -> 9.2 and am starting to use the new
version on some existing projects. However I can't seem to find the
prefs panel for setting the packager details, and consequently my output
package has a generic icon. I'm mostly building PEF Carbon apps, mostly.
Where should I be looking?

Rev. Andy
Isaac Wankerl - 24 Jun 2004 19:05 GMT
> Hi folks,
>
[quoted text clipped - 5 lines]
>
> Rev. Andy

If you are using the Property List Compiler, then you will want to edit
the .plc file instead of looking for a pref panel.  For the app's icon,
be sure to add a CFBundleIconFile key:

 key "CFBundleIconFile" value string "NameOfAppIconFile"

Then, take your NameOfAppIconFile.icns file and add it to the Package
panel so that it gets copied to the Foo.app/Contents/Resources folder.

Signature

Isaac Wankerl
Metrowerks

Andy Bettis - 25 Jun 2004 08:40 GMT
> > I've just upgraded from CW 8.3 -> 9.2 and am starting to use the new
> > version on some existing projects. However I can't seem to find the
[quoted text clipped - 10 lines]
> Then, take your NameOfAppIconFile.icns file and add it to the Package
> panel so that it gets copied to the Foo.app/Contents/Resources folder.

This is all in place, as it has for my earlier projects. Under 8.3 there
was a 'Mac OS Packager' panel that allowed me to specify the folder to
be packaged and the four-character creator and file types. This is not
present when I convert the projects to 9.2, and I suspect that this is
why I don't get the icons etc. set up.

Ron, can you help?

Rev. Andy
Miro Jurisic - 25 Jun 2004 09:02 GMT
> > > I've just upgraded from CW 8.3 -> 9.2 and am starting to use the new
> > > version on some existing projects. However I can't seem to find the
[quoted text clipped - 16 lines]
> present when I convert the projects to 9.2, and I suspect that this is
> why I don't get the icons etc. set up.

There is no Mac OS Packager in CW9. You need to use the Package tab and the plc
compiler. Go to your PPC Target settings, and set project type to Application
Package. Arrange your app in the Package tab of your project. Convert your
Info.plist to a plc file (if you haven't already). Specify your creator and type
in the PPC Target settings. Build.

hth

meeroh

Signature

If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>

Andy Bettis - 25 Jun 2004 10:18 GMT
> > > > I've just upgraded from CW 8.3 -> 9.2 and am starting to use the new
> > > > version on some existing projects. However I can't seem to find the
[quoted text clipped - 11 lines]
> type
> in the PPC Target settings. Build.

My current project has a file called AppPropertyList.plc which contains
all the plist stuff. I've done it this way so I can have a generic file
that uses an #include to set the app-specific details. There is no
Info.plist. Now in the Package tab there _is_ a file called Info.plist -
do I need to change this to point to my file? I'd like to keep compiling
the .plc file so that I don't have to hand code a .plist file for every
project - how do I get the output into my application?

Rev. Andy
MW Ron - 25 Jun 2004 17:00 GMT
>> > > > I've just upgraded from CW 8.3 -> 9.2 and am starting to use the new
>> > > > version on some existing projects. However I can't seem to find the
[quoted text clipped - 20 lines]
>the .plc file so that I don't have to hand code a .plist file for every
>project - how do I get the output into my application?

I'm not sure where you are at with the .plc  what I would advise is that
you look at a CodeWarrior Example  maybe the Mac OS X Bundle example and
see what that is set up and everything.  Use that for a guide.

I understand that you wish that all of these be target settings but (as
I understand it) the feedback that we got was that people would rather
they be text files.

Ron

Signature

 Metrowerks, one of the world¹s top 100 companies and influencers
    in the software development industry. - SD Times  May 2004
              http://www.sdtimes.com/2004sdt100.htm
     
                 Metrowerks, maker of CodeWarrior
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com

Miro Jurisic - 25 Jun 2004 20:44 GMT
> My current project has a file called AppPropertyList.plc which contains
> all the plist stuff. I've done it this way so I can have a generic file
[quoted text clipped - 3 lines]
> the .plc file so that I don't have to hand code a .plist file for every
> project - how do I get the output into my application?

The Info.plist in the package is a placeholder for the compiled output of the
plc file.

Have you actually verified that there is a problem with the plist in the final
application? From everything you've said so far, your setup sounds fine and your
problem may very well be elsewhere.

meeroh

Signature

If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>

Andy Bettis - 26 Jun 2004 16:53 GMT
> > My current project has a file called AppPropertyList.plc which contains
> > all the plist stuff. I've done it this way so I can have a generic file
[quoted text clipped - 12 lines]
> your
> problem may very well be elsewhere.

Here's a strange thing. I had a look at the Package panel for my app and
inside the MyApp.app item there's a MyStarter entry - MyStarter is the
build folder I duplicate when starting a new project. The rest of the
contents look fine - the MacOSClassic folder includes MyApp with the
correct icon. I can't seem to do anything to the MyStarter entry, Get
Info, double-clicking, delete key, it all has no effect. Assuming that
this is a hang over from the starter project, how can I reset/correct it?

And what is it?

Rev. Andy
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.