RE: Automating PackageMaker?
RE: Automating PackageMaker?
- Subject: RE: Automating PackageMaker?
- From: "Huyler, Christopher M" <email@hidden>
- Date: Fri, 22 Aug 2003 10:10:05 -0400
- Thread-topic: Automating PackageMaker?
I have been playing around with this package script and it doesn't seem to be doing what I want.
First, I commented out line 29 (set resDir = "") to get the -r option to work.
Then I managed to get it to build my package. The problem is, it is missing a bunch of files and it places files in different places. It also deletes the entire Resources directory so if there was anything in there that it doesn't create, its gone after the script runs. Does anyone have a method for using this script?
Here's what I have to do:
1) Copy the <package>.info file and the Description.info file out of the package and into a temp directory.
2) Build the package sending in the copy of the <package>.info file.
3) Delete the <destination>/Content/Resources/English.lproj directory.
4) Copy the temp versions of <package>.info and Description.info back into <destination>/Content/Resources/.
The package script doesn't touch the Archive.bom and Archive.pax.gz files located under <destination>/Content. I'm not sure what these files do. Is it ok to leave the files from the previous package created with PackageMaker?
Finally, I haven't looked into this yet, but is it possible to create a disk image (dmg) from a command-line as well?
Thanks,
~ Chris
>
-----Original Message-----
>
From: Stiphane Sudre [mailto:email@hidden]
>
Sent: Thursday, August 21, 2003 9:53 AM
>
To: Huyler, Christopher M
>
Cc: email@hidden
>
Subject: Re: Automating PackageMaker?
>
>
yes.
>
>
you will need to use the 'package' command.
>
>
You may need to add some additional codes to copy the resources as the
>
-r option has not been successful during my attempts.
>
>
It might be a bug or a lack of documentation in the parameter
description.
>
>
> On jeudi, ao{ 21, 2003, at 15:18 Europe/Paris, Huyler, Christopher M
>
> wrote:
>
> Our entire build process is automated by shell scripts and we do
>
> nightly
>
> builds.
>
>
>
> Assuming that a package has been configured through PackageMaker and
>
> the new
>
> files are copied into the correct places within a package's Resource
>
> folders,
>
> is it possible to 'create' the package from the command-line or shell
>
> script?
>
> _______________________________________________
>
> 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.
_______________________________________________
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.