Re: Command line build of a distribution
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com At compile time I also get: "The package was completed with the following non-fatal errors: Missing identifier field for "WebPortal.pkg". Missing identifier field for "StartupItems.pkg". Missing identifier field for "Database.pkg". Missing size field for "WebPortal.pkg". Missing size field for "StartupItems.pkg". Missing size field for "Database.pkg"." Is the source code available for this utility? Thanks, -Ryan On Oct 20, 2006, at 7:47 AM, John McAleely wrote: Change: % /Developer/Tools/packagemaker -build -proj Untitled.pmproj -p Untitled.mpkg to: and your project should build. -------- Hello, I am trying to do a command line build of a distribution: packagemaker -build -proj "/Users/rcuprak/Projects/Test/ Distribution.pmproj" -p "./build/Distribution.pkg" -v to which I get: packagemaker[423] *** Uncaught exception: <NSInvalidArgumentException> *** -[NSPlaceholderMutableString initWithString:]: nil argument Does this work? My distribution builds just fine if I kick it off from the gui. Thanks, -Ryan _______________________________________________ _______________________________________________ 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... Hello, Thanks, that indeed did get it to compile. However, when I go to run the distribution I am getting: Oct 22 23:39:33 ryan-cupraks-computer : Failed to locate package at path /Users/rcuprak/Projects/Installers/Mac/build/Test.pkg/Contents/ Packages/(null) Another list contributer suggested switching from the command line alias to fix this problem. I've not tried it yet: --------- I've seen the same problem and filed a bug a while back (#4652659). The problem occurs only when using the symlink at /Developer/Tools/packagemaker to invoke the build. % /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/ PackageMaker -build -proj Untitled.pmproj -p Untitled.mpkg This email sent to site_archiver@lists.apple.com
participants (1)
-
Ryan Cuprak