The Java sources are divided in five components. In the past some of the Java sources are translated to C using Java2C.
The Java sources are the original sources for C. See emC - embedded multiplatform C / C++
=> Archive of Java jar and sources - => Build & test Java components
It uses the => "reproducible build" concept, see also
https://github.com/JzHartmut contains git for the Java sources
javaSrc_vishiaBase: Basic sources with ZBNF parser and JZtxtcmd. All sources are independent, only Java standard packages are used.
javadoc / javadoc with linked sources
javaSrc_vishiaXml: Sources for Xml processing. This sources need the javaSrc_vishiaBase component.
javadoc / javadoc-private
javaSrc_vishiaRun: Sources for running systems. This sources need the javaSrc_vishiaBase component.
javadoc / javadoc-private,
- Package communication: Inter process communication, sockets.
- Package msgDispatch Message dispatcher: An universal interface for logs and process messages, a dispatcher, file and console output classes.
- Inspector on Target: Access to all data of a running application via reflection. This classes are translated to C too, it runs in some C/C++-Applications like in Java.
The Header2Reflection-Generator creates C-Sources for reflection data from header files especially for C-programming. It is able to use for embedded devices.
- InspcPC: It is the counterpart to access to a running system on any target device.
This sources are executed on the PC in Java. They are used to get the data for graphical presentation.
javaSrc_vishiaGui: Sources for graphic applications. This sources uses all three components above.
javadoc / javadoc-private,
- Package gral and its sub packages: The GRAL concept: GRaphic Adation Layer: It helps to write graphical applications independent of the underlying graphic system.
Yet only eclipse.SWT is full supported. Some experience with AWT is done. In the next future also Swing and FX should be able to use.
- Package commander: The.file.Commander is an application using the GRAL concept. It is adequate to the classic known 'Norton Commander' and its derivatives.
- Package guiInspc: The inspector GUI is an application using the GRAL which shoes data content (variable, curves) from a running application in any embedded target system
with access using reflection (the inspector concept). The graphic presentation with tabbed panels is controlled by a script.
- Package guiViewCfg: The view cfg is an application using the GRAL which shoes data content (variable, curves) from a running application in any embedded target system.
using only one telegram (ethernet, may be serial) which contains the values to show. The graphic presentation with tabbed panels is controlled by a script.
That are not all Java-sources in the vishia-Project. The Java2C - Translator is written in Java.
The ZBNF - Downloadpackage contains some sources to handle with XML. That sources depends on the SAXON XML tools and Jdom.