Customer Service Center
Spirent KB Article
Doc ID: FAQ17536
Email Article Link
TTworkbench: How to configure ETSI/3GPP LTE test package for compilation?
TTworkbench 32/64 Bit, Microsoft Windows/Linux
It contains several ASN.1 and XSD files with test data definition. These are quite large and require much memory during compilation and execution.
Do the following configuration in order to compile the project successfully.
1. Modify the ttworkbench.ini file (in TTworkbench installation directory) with any text editor.
1.1. Add JDK path before the -vmargs as below:
<Your JDK bin path>
// for example C:/Program Files/Java/jdk1.8.0_60/bin
1.2. Please make sure that the Xmx and MaxPermSize have the following values:
(under 32bit Windows)
(under 64bit Windows)
// or higher if available
2. Exit and restart TTworkbench
3. The java compiler from menu Windows > Properties > TTCN-3 > Compiler TTthree > Java Compiler, choose the first option Javac(Java SDK).
On this page please also check the box: Generate java debug information. This is giving a better feedback in case of error.
4. ASN.1 modules
4.1 Then move all ASN.1 input files into a TTCN-3 source folder that only contains ASN.1 files.
4.2 Add a TTCN-3 module (e.g. ASNModule) which imports all ASN.1 modules from that folder also to this folder and compile that module.
4.3 Then, remove that folder from the list of the project's TTCN-3 source folders (by right mouse click on it, choose TTCN-3 source > Remove from TTCN-3 source).
4.4 Whenever the set of ASN.1 files or one of its contents changes, you need to update the importing module accordingly, i.e., turn the folder into a TTCN-3 source folder, build the importing module and remove the folder again from the TTCN-3 source folders.
4.5 When the TTworkbench version for compilation changes, turn the folder into a TTCN-3 source folder, build the importing module and remove the folder again from the TTCN-3 source folders.
4.6. Compile the project using Build (NOT Rebuild button).
Alternative to 4.
After a complete compilation of the project, copy the jar files of the ASN modules into a separate folder e.g. asn1build.
Delete all jar files from the "ttcn3build" folder.
Copy the jar files from "asn1build" folder into "ttcn3build" folder, then build TTCN-3 from the main module instead of rebuild.
For the first time, please following all the three steps. For later compilation, only step 2 and 3.
5. Now compile the whole project from the main module
Product : Misc