Difference between revisions of "fixlp"

From Lazarus wiki
Jump to navigationJump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==About==
 
==About==
  
In Lazarus v2.1 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.
+
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 v2.1 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.
+
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 for Lazarus versions before v2.1 and converts the new Lazarus xml file format to the format used by older versions.
+
'''fixlp''' is a small utility program, it converts the new Lazarus XML file format to the format used by older versions.
  
Usage:
+
==Usage==
  
 
  fixlp <filename1> [, <filename2> [, ...]]
 
  fixlp <filename1> [, <filename2> [, ...]]
Line 15: Line 15:
 
==Download==
 
==Download==
 
Source code (in Pascal): [https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/applications/fixlp/ SourceForge page].
 
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.