Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » How to generate java file from command line through ttcn test cases.(How to generate java file from command line through ttcn test cases.)
How to generate java file from command line through ttcn test cases. [message #1827018] Wed, 06 May 2020 08:04 Go to next message
Ganesh Pahade is currently offline Ganesh PahadeFriend
Messages: 4
Registered: May 2020
Junior Member
Hi Guys , Is there any why to generate java file from command line through ttcn test cases, actually i am able to generate java file from eclipse plugin "TITAN_Designer_and_Executor_Plugin_6.6.1" but my requirement is to generate the java file on command line so please help me.


when we create the ttcn module then it will make the java file correspondingly automatically the TITAN plugin

I want to generate the java file on command line?
Re: How to generate java file from command line through ttcn test cases. [message #1827029 is a reply to message #1827018] Wed, 06 May 2020 09:16 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1120
Registered: January 2015
Senior Member
Hi Ganesh,

please post this in the Titan forum; it has no visibility here.



BR

Elemer
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 Go to previous message
Kristof Szabados is currently offline Kristof SzabadosFriend
Messages: 60
Registered: July 2015
Member
Hi Ganesh,

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.

Best Regards
Kristof
Previous Topic:TITAN Utility from java using eclipse
Next Topic:Cannot make Demo Example from Titan
Goto Forum:
  


Current Time: Mon Nov 11 15:03:22 GMT 2024

Powered by FUDForum. Page generated in 0.03332 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top