• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Error when trying to add Info.plist fo packagemaker project by command line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error when trying to add Info.plist fo packagemaker project by command line


  • Subject: Error when trying to add Info.plist fo packagemaker project by command line
  • From: "OSullivan, Steve" <email@hidden>
  • Date: Fri, 17 Oct 2008 10:32:20 -0700
  • Thread-topic: Error when trying to add Info.plist fo packagemaker project by command line

Good morning all,

The saga of the Info.plist file continues....

I have created an Info.plist file that consists of the following two lines

<key>IFPkgFlagRestartAction</key>
<string>RequiredRestart</string>

And it is located in a directory named: /build_base/info_plist/

And I am calling packagemaker from the following command line:

/Developer/usr/bin/packagemaker -r /pkg_base_engine -o
/pkg_scratch/engine.pkg -i com.company.project -n 8.0.100.1 -t "Project
Engine" -l /Applications/Company/Engine -s /build_base/scripts/ -e
/build_base/resources  -f /build_base/info_plist/Info.plist -g 10.5 -h
system -b

When my build scripts run, I get the following error, and it only has
started since I added the Info.plist file to the mis:

2008-10-17 09:35:03.667 packagemaker[61797:10b] Setting to : 0 (null)
2008-10-17 09:35:03.668 packagemaker[61797:10b] Setting to : 0 (null)
2008-10-17 09:35:03.669 packagemaker[61797:10b] relocate: (null) 0
2008-10-17 09:35:03.670 packagemaker[61797:10b] Setting to : 0
com.emc.retrospect
    ERROR: Could not merge "PackageInfo" file into package: Line 2: Extra
content at the end of the document.


Are there any special requirements as to the formatting or line breaks of
the Info.plist file? I am editing using TextWrangler and saving the file as
"Western (Mac OS X Roman)" and "Unix LF".

Is my syntax wrong in my Info.plist file? Any and all thoughts are
appreciated!

Regards,

Steve O'Sullivan

 _______________________________________________
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

  • Follow-Ups:
    • Re: Error when trying to add Info.plist fo packagemaker project by command line
      • From: Bill Coderre <email@hidden>
    • Re: Error when trying to add Info.plist fo packagemaker project by command line
      • From: John Brisbin <email@hidden>
  • Prev by Date: Re: hdiutil create failed error 49168
  • Next by Date: Re: Error when trying to add Info.plist fo packagemaker project by command line
  • Previous by thread: metapackage upgrade behavior change in leopard?
  • Next by thread: Re: Error when trying to add Info.plist fo packagemaker project by command line
  • Index(es):
    • Date
    • Thread