|Re: How to generate java file from command line through ttcn test cases. [message #1827105 is a reply to message #1827029]
||Thu, 07 May 2020 09:19
| Kristof Szabados
Registered: July 2015
Please note that the Java code generator is still in prototype phase, for now the supported way of compilation with Titan is still going through the C/C++ compilation, which is working from the command line.
Right now the development of the Java side of Titan is focusing on supporting working from Eclipse in an interactive way.
The C side ( or command line) way of compilation has been available and used for around 20 years, offering very good runtime performance ... but its compilation takes some time.
With the Java side we first would like to address this issue, whereby our users could quickly do edit-build-execute iterations from Eclipse, while working on the code ... and when they need the best possible runtime performance compile their code using the C side of Titan.
That said, it might already be possible to execute the generated Java code from the command line, with the tools offered by Eclipse.
For this, after building your project successfully, you would go to the "File" / "Export..." menu of your Eclipse and in the window that comes up select the "Java" / "Runnable JAR file" wizard and go through its steps.
As these plugins are also valid Java plugins you can export them as you would with any Java project under Eclipse.
But please note that as we are concentrating our resources on reaching functional equivalence to the C side, and supporting an Eclipse internal edit-build-execute way of working ... executing from the command line might not be fully stable yet.
Powered by FUDForum
. Page generated in 0.04723 seconds