Hello, everyone! My name is Jeffrey Chang and I am very interested in TTCN-3 Parsing. I have built the SVN repository and checked out the source code of TRex from Internet. I followed the document published on the Internet and checked out eight projects including com.yourkit.profiler.controller, de.ugoe.cs.swe.trex, de.ugoe.cs.swe.trex.antlr, de.ugoe.cs.swe.trex.core, de.ugoe.cs.swe.trex.refactoring.core, de.ugoe.cs.swe.trex.refactoring.ui, de.ugoe.cs.swe.trex.ui, de.ugoe.cs.swe.trex.ui.help. Also I translated the *.g file into *.java using Antlr plugin and succeeded in compiling the whole projects. But when I run the plugins in another Eclipse workbench, the paring of TTCN-3 file is out of work. The console will print an exception such as: Exception in thread "org.eclipse.jface.text.reconciler.MonoReconciler" java.lang.OutOfMemoryError: Java heap space. I have appended an snapshot in the letter and you can see what is going wrong. The problem has troubled me for a long time and I am doing an experiment for my master diploma.Anyone can give me some suggestion and I will be appreciated a lot. It is really very nice to join the development of TRex and I will make my contribution to the excellent project. Best regards! Yours sincerely, Jeffrey Chang
Hello Jeffrey,
My name is Jeffrey Chang and I am very interested in TTCN-3 Parsing. I
Weclome to the TRex-devel mailing list!
it turns out, your mail has been tagged as spam. Thus, here is the answer again that i sent to you personally.
The plug-ins you have chosen should be sufficient. Currently, i can think of two things that may go wrong: you could be using the wrong Eclipse version. TRex requires Eclipse 3.2. It won't work with any earlier version and has not been testen with the 3.3 milestones. So i simply suggest to use Eclipse 3.2.2. Furthermore, you need to have a proper configuration for the second Eclipse instance. You can either go for "Launch with all workspace and enabled external plug-ins" or you can manually select the trex plug-ins and then click "Add required Plug-Ins" on the right side.
Also, you may want to launch the TRex product, i.e. in the launch configuration, select de.ugoe.cs.swe.trex.ui.trex in the "Run a product:" combobox.
You also may want to add one of the compiler plugins from the svn repository. Both aren't finished, but you'll have select an active compiler if you want to get rid of the "no compiler selected" message that appears once it works.
I just had a fresh update and used your configuration and could use TRex without any trouble. So if these hints did not help, please let me know and tell me a few more things about your configuration.
Jeffrey wrote:
Hello, everyone! My name is Jeffrey Chang and I am very interested in TTCN-3 Parsing. I have built the SVN repository and checked out the source code of TRex from Internet. I followed the document published on the Internet and checked out eight projects including com.yourkit.profiler.controller, de.ugoe.cs.swe.trex, de.ugoe.cs.swe.trex.antlr, de.ugoe.cs.swe.trex.core, de.ugoe.cs.swe.trex.refactoring.core, de.ugoe.cs.swe.trex.refactoring.ui, de.ugoe.cs.swe.trex.ui, de.ugoe.cs.swe.trex.ui.help. Also I translated the *.g file into *.java using Antlr plugin and succeeded in compiling the whole projects. But when I run the plugins in another Eclipse workbench, the paring of TTCN-3 file is out of work. The console will print an exception such as: Exception in thread "org.eclipse.jface.text.reconciler.MonoReconciler" java.lang.OutOfMemoryError: Java heap space. I have appended an snapshot in the letter and you can see what is going wrong.
Hi Jeffrey,
does the "OutOfMemoryError: Java heap space." occur only while parsing large TTCN-3 test suites or also with tiny TTCN-3 examples like "module m { }"?
If your problem occurs only with large test suites, please refer to http://www.trex.informatik.uni-goettingen.de/trac/wiki/ManualBuild "To be able to edit large TTCN-3 test suites, you may want to add -Xmx512m to the VM arguments section of the Arguments tab."
Best regards, Helmut
P.S.: The maximum size of mails send to trex-devel is restricted to 40KB. Hence, your initial mail was rejected.
trex-devel@informatik.uni-goettingen.de