Project File Internals

From LintouchWiki

Jump to: navigation, search

[edit] What is Lintouch Project

Lintouch project is a ZIP file with a well defined structure. An example LintouchProjekt1.ltp looks like this:

$ unzip -l LintouchProjekt1.ltp
Archive:  LintouchProjekt1.ltp
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  01-04-06 14:28   resources/
      514  01-16-06 14:10   view-Pohled.xml
    78677  01-16-06 14:10   resources/Shannon.jpg
      490  01-16-06 14:10   project-descriptor.xml
      310  01-16-06 14:10   editor-settings.xml
 --------                   -------
    79991                   5 files

The following files are contained within the archive:

project-descriptor.xml 
Mandatory file. The processing always starts there. This file defines some meta information about the project (author, version, ...). It references connections (there none) and views (there is one called Pohled). It does also define what template libraries are used by the project.
editor-settings.xml 
Optional file. Used by Lintouch Editor to remember grid settings and snap-to-grid option.
resources/ 
Contains all data files (images, Lua scripts, ...) that were added to the project.
view-Pohled.xml 
Defines the Panels, their names, layout of templates, template properties, etc.
Personal tools