diff --git a/RationaleMCP/0039/manifest-example.md b/RationaleMCP/0039/manifest-example.md index 1510cf472..c476a97b7 100644 --- a/RationaleMCP/0039/manifest-example.md +++ b/RationaleMCP/0039/manifest-example.md @@ -3,126 +3,77 @@ This is an example of what the “manifest.xml” file could look like for an example encrypted library: -<?xml version=*"1.0"* encoding=*"utf-8"*?> +``` + + -<archive> + -<!-- All paths in the file are interpreted as relative to the -directory of the top-level + -package (e.g., the path to this file would be ".library/manifest.xml"), -and allows + -only forward slashes as directory separators. --> + -<manifest version=*"1.0"*/> + +Example Encrypted Library -<!-- The id attribute is the actual Modelica identifier of the -library. The file attribute + + +Dummy library showing directory structure for an encrypted library (with empty files) + -from SMA is no longer needed, as it will always be "package.mo" or -"package.moc" + + -(and the tool will need the logic of checking for both .mo and .moc -anyway). - -The enabled attribute (optional, default value is true) indicates -whether the library - -should be enabled/loaded by default. --> - -<library id=*"ExampleLib"* enabled=*"true"*> - -<!-- Official title of the library (optional) --> - -<title>Example Encrypted Library</title> - -<!-- Description (optional) --> - -<description> - -Dummy library showing directory structure for an encrypted library (with -empty files) - -</description> - -<!-- The version of the library. Version information is formatted -according to the - -Modelica language specification. The build and date attributes are -optional. --> - -<version number=*"1.0"* build=*"1"* date=*"2013-08-04"*/> - -<!-- Version of the Modelica language that is used in this library. ---> - -<language version=*"3.2"* /> - -<!-- Copyright notice (optional)--> - -<copyright> + + + + Copyright © 2014, Modelon AB. + -</copyright> - -<!-- License information (optional) --> - -<license> - + + Some license information. + -</license> - -<!-- Encryption/license check information (only for proprietary -libraries). - -If this is present, then the library is encrypted. --> - -<encryption> - -<!-- Library vendor executable. May be repeated - one for each -supported platform. + + + -(i.e. .library/VENDORNAME/). The normal case is that licensing has the -same - -value for each executable node, but it is allowed to have different -values - -for different platforms. --> - -<executable path=*".library/Modelon/vendor.exe"* platform=*"win32"* -licensing=*"true"* /> - -<executable path=*".library/Modelon/vendor32"* platform=*"linux32"* -licensing=*"true"* /> + -<executable path=*".library/Modelon/vendor64"* platform=*"linux64"* -licensing=*"true"* /> + -</encryption> + -<!-- Icon for the library (PNG format) (optional) --> + -<icon file=*"Resources/Images/el.png"* /> + + -</library> + -<!-- Leaving out optional compatibility and dependencies in this -example. --> + -</archive> + +```