| Save one file, all files rebuilt? [message #1004737] |
Wed, 23 January 2013 14:28  |
Joey Mink Messages: 86 Registered: July 2009 Location: Centreville, VA, USA |
Member |

|
|
Hi,
When running my Xtext-based IDE, I have a very large DSL project (~30 files, ~500,000 lines of DSL code). Some individual files are as large as 200,000 lines of code (users of this DSL have used scripts to generate source files in some cases, hence the large files).
Here is a confusing scenario I've seen: The project is fully-built, all files are saved. I modify one line in one file (comment-out an Include statement, for example), and then save the file. What follows is a long build process, where almost all files in the project appear to be rebuilt. The Progress View takes very long to complete and notes that it's "updating resource description for" many files that weren't modified. I would expect that the resource descriptions would only need to be updated for modified files.
This happens with every save, making the IDE pretty unusable for this project. I wonder if anyone has any thoughts on what might be going on. I've profiled the application a bunch of times, but have not uncovered anything meaningful yet.
Any thoughts readers might have would be appreciated!
PS - I'm using Xtext 2.3.1
[Updated on: Wed, 23 January 2013 15:27] Report message to a moderator
|
|
|