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
de:doc:lua_make [2014/11/03 21:16] wsauerde:doc:lua_make [2014/12/15 13:54] (current) wsauer
Line 148: Line 148:
  
 ==== ABC.seccode ==== ==== ABC.seccode ====
-*.seccode Dateien enthalten einen Teil des Lua Kodes, welcher den Sicherheitszugriffskode der Module definiert. *.seccode files contains a piece of lua code, which 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 Kodes, welcher 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 otherIf you do this in a workgroup folderonly the files in that folder will be proceedIf you type the commands in the lua root folderthen all workgroup folderswhich you have listed in the local.make will be proccessed.+Tippe dann die cygwin Kommandozeilenbefehle in das Cygwinterminalfenster, eins nach dem anderen einWenn Du dies in einem Arbeitsgruppenordner machstwerden nur die Dateien in diesem Ordner bearbeitetWenn Du die Kommandos in in einem Lua-Wurzelverzeichnis zur Ausführung bringstwerden alle Arbeitsverzeichnissewelche Du in local.make eingetragen hast, ausgeführt.
  
-  - **make clean**: this will remove all older results and temporary files +  - **make clean**: dies entfernt alle älteren Ergebnisse und temporären Dateien. 
-  - **make**: This will convert all module XML filesall other templates and all *.lua files into Lua source files with the extension .luasource. Although normal *.lua files will only been copied by thisthis renaming is necessary to not accidently delete some handwritten *.lua files when calling "make clean" +  - **make**: Dies konvertiert alle Modul-xml Dateien alle anderen Templates und alle *.lua Dateien in Lua Quelldateien mit der Endung .luasource. Obwohl normale *.lua Dateien damit kopiert werden, ist diese Namensänderung notwendigum nicht ungewollt einige handgeschriebenen *.lua Dateien beim Aufruf von "make clean" zu löschen. 
-  - **make scripts**: This will now start the real compile processwhere the lua- compiler takes all luasource files and translates them into precompiled binaries (*.lbc). HintDuring the compilation of a script all include files are linked together in a temporary file called lua.tmp. If the compiler fails with any error messagethat is the right file to look into why the compiler is complaining+  - **make scripts**: Dies startet den eigentlichen Übersetzungsprozessin dem der lua-Übersetzer alle luasource Daten nimmt und sie in vorübersetzte Binärdateien übersetzt.(*.lbc). HinweisWährend der Übersetzung eines Skripts, werden alle include Dateien mit einer temporären Datei zusammengefasst und unter lua.tmp abgelegt.Wenn der Übersetzer mit einer Fehlernachricht abbrichtist dies die richtige Datei um nachzuschauen woran der Übersetzer gescheitert ist
-  - **make pack**: When enabled and configured in local.make, this call will take all compiled *.lbc files and encrypt them accourding to the workgroup directory in which they are in, make up the folderstructure in the target directorywhich is also configured in local.make, and and copy the results into it.+  - **make pack**: Wenn dies konfiguriert und eingeschaltet ist im local.make wird es die übersetzten *.lbc Dateien nehmen und in Abhängigeit des Verzeichnisses, in dem Sie sich befindenverschlüsseln, eine Ordnerstruktur im Zielverzeichnis erstellen, wie sie in local.make konfiguriert worden ist und dann die Ergebnisse dorthin kopieren.
      
-After that the final output can be found in the configured target directory, encrypted and ready to distribute.+Danach kann das Ergebnis in dem konfigurierten Zielverzeichnis gefunden werden und ist nun bereit zur Verteilung.
de/doc/lua_make.1415045811.txt.gz · Last modified: 2014/11/03 21:16 by wsauer