Re: Command line build of a distribution
Re: Command line build of a distribution
- Subject: Re: Command line build of a distribution
- From: Ryan Cuprak <email@hidden>
- Date: Sun, 22 Oct 2006 23:50:03 -0400
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)
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:
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.
Change:
% /Developer/Tools/packagemaker -build -proj Untitled.pmproj -p
Untitled.mpkg
to:
%
/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/
PackageMaker
-build -proj Untitled.pmproj -p Untitled.mpkg
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden