Re: command-line build Distribution Package
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com A followup: On May 3, 2007, at 11:18 AM, Kevin Packard wrote: Beautiful - thank you! -- Kevin Packard On May 3, 2007, at 9:28 AM, Arne Scheffler (ext) wrote: arne Hello, Any help much appreciated. The dirty details: - from within Package Maker, my pmproj builds a working mpkg file - and I see the following build errors: Missing identifier field for "Package1.pkg" Missing identifier field for "Package2.pkg" Missing size field for "Package1.pkg" Missing size field for "Package2.pkg" thanks, -- Kevin Packard _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... The problem is with PackageMaker's interpretation of project-relative paths when referencing pkg files for distribution. When I switch to absolute path references inside of the Distribution Package pmproj file, the command-line produces the correct mpkg file. I can work around this problem in my automation script by dynamically setting absolute paths in the pmproj file, then invoking PackageMaker. As the distribution script is xml, you can build that file yourself with other tools. I used ruby's REXML in one of my projects. Kevin Packard wrote: Hello, I've still not solved building a Distribution Package from the command line. I've filed a bug. Are developers just not using Distribution Package? If they are, how are developers automating the build process? thanks, -- Kevin Packard On May 1, 2007, at 6:02 PM, Kevin Packard wrote: I'm having trouble building a Distribution Package from the command line. There are a couple of other references to this problem, but I haven't seen any solutions (http:// lists.apple.com/archives/installer-dev/2006/Sep/msg00057.html and http://lists.apple.com/archives/installer-dev/2006/Oct/ msg00062.html) Is this a known bug, or is there a solution? If this is a known bug, how are people automating the Checkout, Build, Build Installer process on OS X? - from the command line, I build the pmproj with: /Developer/Applications/Utilities/PackageMaker.app/Contents/ MacOS/PackageMaker -build -proj Installer.pmproj -ds -p ./ Installer.mpkg - and the resulting mpkg fails to install with the following error: Failed to locate package at path Installer.mpkg/Contents/ Packages/(null) - when comparing the good and bad mpkg files, only the Contents/ distribution.dist is different _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/kevinpackard %40mac.com This email sent to kevinpackard@mac.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/a.scheffler% 40steinberg.de This email sent to a.scheffler@steinberg.de - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Steinberg Media Technologies GmbH, Neuer Hoeltigbaum 22-32, D-22143 Hamburg, Germany Phone: +49 (40) 21035-0 | Fax: +49 (40) 21035-300 | www.steinberg.netManaging Director: Kazunori Kobayashi, Mitsuru Umemura, Takuya Nakata Registration Court: Hamburg HRB 86534 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/kevinpackard% 40mac.com This email sent to kevinpackard@mac.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/kevinpackard% 40mac.com This email sent to kevinpackard@mac.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Kevin Packard