Difference between revisions of "fixlp"
From Lazarus wiki
Jump to navigationJump to search (Created page with "==About== Lazarus 2.2.0 has changed default format of .lpi / .lps / .lpk files. XML structure was changed. So files in new format cannot be opened from Lazarus before version...") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==About== | ==About== | ||
− | Lazarus 2.2.0 | + | In Lazarus 2.2.0 a new structure of the XML files (*.lpi, *.lps, *.lpk) was introduced. It replaces the numbered XML nodes used in older versions by unnumbered nodes. |
− | |||
− | + | While Lazarus 2.2.0 can read both types of file formats and can also convert between them, older versions cannot read the new structure correctly leading to a lot of difficult-to-understand errors when trying to compile. | |
− | Source code (in Pascal) | + | |
+ | '''fixlp''' is a small utility program, it converts the new Lazarus XML file format to the format used by older versions. | ||
+ | |||
+ | ==Usage== | ||
+ | |||
+ | fixlp <filename1> [, <filename2> [, ...]] | ||
+ | |||
+ | <filenames> are the names of the Lazarus .lpi, .lps or .lpk files (with absolute or relative path) to be converted. Wildcards are allowed. | ||
+ | |||
+ | ==Download== | ||
+ | Source code (in Pascal): [https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/applications/fixlp/ SourceForge page]. | ||
+ | |||
+ | [[Category:Lazarus]] |
Latest revision as of 11:41, 6 January 2022
About
In Lazarus 2.2.0 a new structure of the XML files (*.lpi, *.lps, *.lpk) was introduced. It replaces the numbered XML nodes used in older versions by unnumbered nodes.
While Lazarus 2.2.0 can read both types of file formats and can also convert between them, older versions cannot read the new structure correctly leading to a lot of difficult-to-understand errors when trying to compile.
fixlp is a small utility program, it converts the new Lazarus XML file format to the format used by older versions.
Usage
fixlp <filename1> [, <filename2> [, ...]]
<filenames> are the names of the Lazarus .lpi, .lps or .lpk files (with absolute or relative path) to be converted. Wildcards are allowed.
Download
Source code (in Pascal): SourceForge page.