On Sun, 3 Jun 2007 16:39:29 -0400
"Hess, Philip J" <[EMAIL PROTECTED]> wrote:
> Today I started looking into the issue of how to store additional
> version info that could be used to populate a Mac app bundle's
> Info.plist file. Unfortunately, it appears as though any additional
> data added to the .lpi file in the <VersionInfo> section gets deleted
> the next time it's saved. Shouldn't the Laz IDE roundtrip data it
> doesn't know about in the .lpi rather than deleting it? By deleting
> it, isn't that kind of defeating the purpose of using XML for
> the .lpi?
The purpose of XML for the .lpi is human readability (debugging,
searching, diffs), this includes automatic clean up. The used xml
reader/writer does not understand the full xml syntax.
Almost all xml files of the IDE are automatically cleaned up.
If you want to add information extend the projectopts.pas or add a new
xml file.
> Also, if the value you enter in the Product Version box isn't in the
> expected format (major.minor.micro.build), this prevents Laz from
> compiling and doesn't give any error. Apparently windres chokes on
> anything else but doesn't communicate this to the IDE. What about
> having the IDE proof Product Version?
Yes. But I'm not a windows developer, so I will leave the solution to
other people.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives