Community
Participate
Working Groups
Build Identifier: 2.0.0 (1) I have a Project with Xtend Files (2) I have a xtend-gen source folder (3) I Have xbase-lib and xtend-lib on path => Xtend always generates Files if i hit save I want to be able to switch off the generation through a flag on the project Reproducible: Always
Can you please elaborate why you don't want to compile the Xtend files?
Hi, the peformance of Xtend with files with more that 100 lines and heavy use of JvmRefs/Extensions is slow like hell (2-10 sec for validation) the generator makes this even more hell (10+ secs more)
Scheduled for 2.1 > => Xtend always generates Files if i hit save Can you provide a sample project that allows to reproduce the issue. I cannot observe the described behavior.(In reply to comment #0)
Hi, i fear i cannot share the project. Holger did some Yourkit Measurements on the projects when he was on site a few weeks ago. Maybe you can ask him for further information. If necessary we can do further analysis on our side too, Regards Christian
Btw - i do not exacly know what Xtext does - but it results in build cascades that might even take minutes. the only thing that helps is removing xtext nature or switch of automatic build.
Do you use Xtext 2.0.1 or 2.0.0? There were already some first improvements in this field.
We are still on 2.0.0 maybe we'll find the time to have a look at 2.0.1
To be discussed: Do we want to allow to disable an output configuration completely?
In general this will be possible by disabling automatic creation of the output folder + not creating the output folder yourself (i.e. like it is with the domain model example if no src-gen exists). This will be possible to configure in the preferences very soon. However, the underlying problem is the performance of the static analysis of Xtend, which we already improved drastically in the last couple of days and will further do.
I have this problem too. I would also recommend a setting for disabling automatic code generation. Additionally you could create a builder or MWE component for manual code generation. In a template file of about 1400 lines (including a lot of dispatch methods, rich strings, loops, contidions,..) + a file containing 400 lines the code generation takes about - 40-70seconds for "updating resource descriptions" - 2-10 seconds for "xtext validation" - 50-70 seconds for "invoking build participants" Each time I save I have to wait for about 1:30min to 2:10min till the building is finished. Even if I only change a whitespace within the xtend code (not in rich text). I'm using xtext 2.0.1. Please reopen this bug since this feature is really necessary.
We are working on it. Please see Bug #353463 . Disabling will be possible as soon as we've the preference page in place. It will be included in 2.1 which is due mid October.
Closing all bugs that were set to RESOLVED before Neon.0
Hi, While my project is being auto-build, it shows "Updating resource descriptions chunk x of xx. It shows around 18 chunks were available. It takes several minutes to complete the building. It's really frustrating to wait for such long time. Everytime when build happens, it's irritating to wait long time. If this performance can be optimized to take bit less time, that would be appreciated. Thanks, Prasanth
Hi, can you share any measurement data why it takes so long in your scenario (yourkit, ....) does your machine have sufficient memory? do you have antiviruses interfering?