User Tools

Site Tools


de:doc:lua_make

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
de:doc:lua_make [2014/11/02 19:03] wsauerde:doc:lua_make [2014/12/09 22:30] wsauer
Line 142: Line 142:
 Im Gegensatz zu all den anderen automatisch erzeugten Ausgaben ist dies ein rein manuell hergestelltes Skript. Wenn der Bauprozess ein *.lua Skript findet, übersetzt er es. Im Gegensatz zu all den anderen automatisch erzeugten Ausgaben ist dies ein rein manuell hergestelltes Skript. Wenn der Bauprozess ein *.lua Skript findet, übersetzt er es.
  
-==== lua_reference ==== +==== lua_referenz ==== 
-In conjunction with the seccode files (see further belowyou could compile the same script for different security levelsBy the lua_reference file you can store the original script in a different directoryreference to it and compile it in the actual directory with a different security level.+In Verbindung mit den "seccode" Dateien (siehe weiter untenkannst Du das gleiche Skript für verschiedene Sicherheitsebenen übersetzenMit der lua_referenz Datei kannst Du das Original Skript in einem anderen Verzeichnisauf es referenzieren und es in dem aktuellen Verzeichnis mit einem anderen Sicherheitlevel zu übersetzen.
  
-By convention the original script has to be stored in the workgroup directory with its lowest security level, and the higher level reference to it.+Durch ein Abkommen muss das originale Skript in einem Arbeitsgruppenverzeichnis mit seinem geringsten Sicherheitslevel abgelegt werden und der höhere Sicherheitslevel muss darauf referenzieren.
  
 ==== ABC.seccode ==== ==== ABC.seccode ====
-*.seccode files contains a piece of lua codewhich defines the security access codes of modules. In the lua scripts of the module itself you then can use the pseudo command ''-- optinclude("ABC.seccode")'', which include the seccodes **only** if that file exist, but does not generate an error message if the file does not exist. +*.seccode Dateien enthalten einen Teil des Lua Kodeswelcher den Sicherheitszugriffskode der Module definiert 
- +In den Luaskripten selbst kann dann das Pseudo Kommando ''-- optinclude("ABC.seccode")'', in denen der seccode **nur** enthalten ist wenn das Skript existiertEs erzeugt aber keine Fehlernachricht wenn das Skript nicht existiert.
-For confidential reasons, these *.seccode files are **not included** in the software repository, and it is **forbitten** to upload this or any other format of security codes into the repository, so each script developer has to maintain his personal knowledge about security codes locally and must not publish this into the repository.+
  
 +Aus Geheimhaltungsgründen sind diese *.seccode Dateien in dem Softwarerepository **nicht eingebunden**. Es ist ausserdem **verboten** diese oder andere Formate von Sicherheitskodes in das Repository hochzuladen. Deshalb hat jeder Entwickler sein Wissen über über Sicherheitskodes lokal für sich zu behalten und darf es nicht im Repository publizieren.
  
 ==== files.inc ==== ==== files.inc ====
-Any other filewhich is needed by the script later and which is not already part of the lua compilation processlike e.g. DTC databases can be listed in the files.inc. By that it will be encrypted and copied to the output dir too.+Jede andere Dateiwelche später vom Skript benötigt wird und welche nun nicht Teil des Übersetzungsprozess istwie z.B. DTC Datenbasen, kann in files.inc aufgelistet werdenDadurch wird sie verschlüsselt und auch in das Ausgabeverzeichnis kopiert.
  
 ==== makefile ==== ==== makefile ====
-This makefile don't need to be editedIt's just needed for the build process.+Dieses Makefile muss nicht editiert werdenEs wird nur für den Bauprozess benötigt.
  
  
 ==== presets.rtd ==== ==== presets.rtd ====
-for futher extensions.+für spätere Erweiterungen.
  
  
-==== carcheck.footer, carcheck.header and carcheck.xslt ==== +==== carcheck.footer, carcheck.header und carcheck.xslt ==== 
-These are the templates for the carcheck scripts+Diese sind Vorlagen für die carcheck Skripte
  
 ==== db ==== ==== db ====
-In here database files (*.oodb) are stored to reference to by files.inc, but also the stylesheet (VehInfo_Stylesheet.xsl) for a Vehicle Health report is stored here.+Die hierin enthaltene Datenbasendateien (*.oodb) werden gespeichert um zu files.inc zu referenzierenaber auch das stylesheet (VehInfo_Stylesheet.xsl) für einen Vehicle Health Report wird hier gespeichert.
  
 ==== generic.make ==== ==== generic.make ====
-This file controls the whole build process and must not be modified without very good reasons... +Diese Datei kontrolliert den gesammten Bauprozess und darf aus sehr guten Gründen nicht verändert werden...
  
 ==== Healthfiles ==== ==== Healthfiles ====
-When generating a vehicle report when doing a carcheckthe resulting XML files should saved hereWhen then opening the file in a web browserthe file automatically points to the VehInfo_Stylesheet.xsl in the db folder and present the data with the right style sheet.+Wenn ein Fahrzeugreport erstellt wird durch die Benutzung des Skripts Carchecksollten die dabei entstandenen XML Dateien hier gespeichert werdenWenn diese Datei in einem Webbrouser geöffnet wirdzeigt diese automatisch auf VehInfo_Stylesheet.xsl in dem db Verzeichnis und präsentiert die Daten mit dem richtigen Stylesheet.
  
 ==== lib_lua ==== ==== lib_lua ====
-In here you can find some lua library scripts for generic functions+In dieser findest du einige Lua Bibliotheksskripte für generische Funktionen
  
 ==== lib_protocol ==== ==== lib_protocol ====
-In here you can find some lua library scripts for diagnostic related functions+In dieser hier findest du einige Lua Bibliotheksskripte für diagnosebezogene Funktionen
  
-==== local.make and local_template.make ==== +==== local.make und local_template.make ==== 
-local.make will contain your personal settingsIt is not part of the repository contentas it's content is different for each userTo generate your own local settingscopy the template file local_template.make and make your settings in local.make+local.make enthält deine persönlichen EinstellungenEs ist nicht Teil des Repositorysweil es für jeden Benutzer unterschiedlich istUm die eigenen Einstellungen zu erzeugenkopiere die Templatedatei lokal template.make und mache deine Einstellungen in local.make
  
   cp local_template.make local.make   cp local_template.make local.make
  
-==== makefile ==== +==== Makefile ==== 
-Also here in the lua base directory the makefile is needed for the build processJust don't change it.+Auch in dem lua Basisverzeichnis wird das Makefile für den Bauprozess benötigtÄndere es einfach nicht.
  
  
-===== Running the make process =====+===== Durchlauf des Makeprozesses =====
  
-In opposite to all the complicate setup and explanations abovethe build process is just simple:+Im Gegensatz zu dem komplizierten Setup und den obigen Erklärungenist der eigentliche Bauprozess sehr einfach:
  
-Edit or add the files as you needFor a good startchoose one of the existing *.lua filescopy it to where you need it and give it a clear nameMake sure that the script capabilities do not exceed the security rights of the workgroup folder they are stored in. +Bearbeite oder füge Dateien hinzu wie Du es benötigstFür einen guten Startwähle eins der existierenden *.lua Dateienkopiere es wohin du es benötigst und gib Ihm einen eindeutigen NamenStelle sicher das die Fähigkeiten des Skriptes nicht die Sicherheitsrechte des Arbeitsgruppenordners überschreiten in dem es abgelegt ist
  
 Then type in the cygwin command line windows the following commands one after the other. If you do this in a workgroup folder, only the files in that folder will be proceed. If you type the commands in the lua root folder, then all workgroup folders, which you have listed in the local.make will be proccessed. Then type in the cygwin command line windows the following commands one after the other. If you do this in a workgroup folder, only the files in that folder will be proceed. If you type the commands in the lua root folder, then all workgroup folders, which you have listed in the local.make will be proccessed.
de/doc/lua_make.txt · Last modified: 2014/12/15 13:54 by wsauer