Declaration of information on creation and references for the library
LIBRARY fully.qualified.name
IMPLEMENTS_LOGICALS_LIB := fully.qualified.name; (* optional for 'LOGICAD'; invalid for 'LOGIWEB' and 'LOGISAFE' *)
VERSION := number | number-SNAPSHOT;
LIBRARYTYPE := LOGICAD | LOGIWEB | LOGISAFE; (* optional; some of the other statements are invalid for a library type *)
PTK_FOR_LIBRARY_BUILD := platform; (* required for library type 'LOGIWEB' and 'LOGISAFE', but invalid for 'LOGICAD' *)
SUPPORTED_PTKS := platform_1, platform_2, ... platform_n; (* optional for 'LOGICAD', invalid for 'LOGIWEB' and 'LOGISAFE' *)
(* begin of more optional statements *)
PACKAGETYPE := zip;
DISPLAYNAME := "name";
COPYRIGHT := "text";
SUMMARY := "text";
VENDOR := "text";
COMMON_SOURCE := "text"; (* invalid for 'LOGIWEB' and 'LOGISAFE' *)
BASE_TEST_SOURCE := "project-relative path"; (* not supported in all variants of the IDE *)
USES fully.qualified.name, VERSION_number; (* invalid for 'LOGIWEB' and 'LOGISAFE' *)
(* end of optional statements *)
FOLDER ...
END_LIBRARY
Meaning |
||||||||
declaration of a →library, fully.qualified.name must be a fully qualified name Use the specification VERSION to define the version number of a library, number can be any sequence of numbers and the numbers can be separated by . (dots). The statement is stored in a text file within the deployed libary. The following statements are optional:
The optional statements IMPLEMENTS_LOGICALS_LIB and COMMON_SOURCE are not needed when creating custom libraries for team members. Usually, an administrator/OEM is using these statements when a system library for logi.CAD 3is created. From FOLDER onwards, the contents of the library are specified. |
The name of the library results from the fully qualified name, the version number and the compression format (see the following example).
LIBRARY com.CompanyA.Controller (* The library is created with the name 'com.CompanyA.Controller__1.1.0-SNAPSHOT.zip'. *)
VERSION := 1.1.0-SNAPSHOT;
PACKAGETYPE := zip;
USES com.CompanyA.Boards, 1.0.0 (* The library 'com.CompanyA.Boards' in version 1.0.0 is referenced. *)
FOLDER ...
END_LIBRARY
LIBRARY com.Musterfirma.Controller (* The library is created with the name 'com.CompanyA.Controller__2.1.0.zip. *)
VERSION := 2.1.0;
PACKAGETYPE := zip;
USES com.Musterfirma.Boards, 1.1.0 (* Die Bibliothek 'com.Musterfirma.Boards' in Version 1.1.0 wird referenziert. *)
FOLDER ...
END_LIBRARY
LIBRARY com.CompanyA.Controller
VERSION := 1.1.0-SNAPSHOT;
PACKAGETYPE := zip;
DISPLAYNAME := "Controller";
COPYRIGHT:="Copyright (c) Company A. All rights reserved.";
SUMMARY:="Company A Controller Library";
VENDOR:="Company A";
FOLDER ...
END_LIBRARY