How to use TITAN TTCN3 Java Compiler from command line? [message #1870431] |
Wed, 28 August 2024 07:23 |
|
I'm wondering if there's any way to give the new TITAN TTCN3 Java Compiler a try from the command line? The official documentation seems to assume everyone is using the Eclipse IDE. Also, the IPL4 example posted here in the forum assumes that one uses the Eclipse IDE.
I personally do not use any IDEs, find them hugely uncomfortable and am use to edit source code in the terminal using vim. That's what I've been doing for the past ~30 years with any compiler in any programming language I used. Is there any way for such users to give the Java Compiler a try?
Also, given that dependency on an IDE: How would you build CI jobs that clone the git repo, build the code headless in some build server and then start to run it? Opening a GUI application and importing/creating a "project" doesn't really sound like something that can be automatized efficiently?
Thanks in advance for any pointers.
|
|
|
|
Re: How to use TITAN TTCN3 Java Compiler from command line? [message #1870458 is a reply to message #1870446] |
Wed, 28 August 2024 14:20 |
|
I'm sorry to hear that the development was abandoned. I guess at that point there's no point fo investigating it any further.
We've been successfully using the TITAN C++ compiler for many years at osmocom, and we'll then stick to that.
Originally when you started the Java compiler, I was under the impression that it would be the future and we'd eventually have to migrate over to it as the C++ compiler might get EOL at some point. Seems that was a wrong impression and/or prioritiies have changed.
No need to put together a guide for command-line use, but thanks a lot for offering to write one!
|
|
|
|
Re: How to use TITAN TTCN3 Java Compiler from command line? [message #1870692 is a reply to message #1870689] |
Thu, 05 September 2024 11:07 |
|
Hi Miklos,
thanks for the update. I think for me it's not really worth spending time on testing or preparing some instructions.
I think I once played with the TTCN3 language server nokia had released (https://github.com/nokia/vscode-ttcn3) but beyond playing with it for 15 minutes it never looked very attractive to me. I guess I'm just not really convinced that I need anything beyond 'ctags' to navigate around source code. I'm not saying that all of this has no use - I'm just saying somehow it never felt attractive to me enough to invest a lot of time to getting used to working with it.
If there are other users interested, feel free to bring it up here, so Miklos knows whether to invest some time in it.
Related fun fact: In a private exchange with an unnamed member of a group producing large amounts of TTCN-3 code (ETSI TF160 https://www.3gpp.org/about-us/mobile-competence-centre/mcc-task-forces) it was mentioned to me that allegedly nobody in that ETSI task force was using Eclipse or some IDE to write that ETSI conformance testing TTCN-3 code...
|
|
|
Powered by
FUDForum. Page generated in 0.03909 seconds