Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [xtext-dev] Why does Rename Element in a dsl plugin triggers build for the project before rename ? How to remove it?
  • From: Christian Dietrich <christian.dietrich@xxxxxxxxx>
  • Date: Tue, 3 Sep 2019 17:52:17 +0200
  • Autocrypt: addr=christian.dietrich@xxxxxxxxx; prefer-encrypt=mutual; keydata= mQINBFv8HLMBEACt83uOc7r5AqOhowcQoA/AX0JZPE0iHcheRTqb6XwgDepSuT+/5fU6mu/k s9OXwFgmzWNZPHhOd2ww5QEg4PaF46butO08lzog8/u20WN+FLMkoTbNuBKnwAkdHBWrFGdw LL8eQMAY1Fkw1+8RlrO1Z4Zs+XUO4j/A2cJ1UMNgn0ronPh9jMteNm4IswWqM4dWC26gDBYD CbKf724sLPf3lJooRu38YL/fpQYmyfkTIsJS0xmLpq7XdkMWJgGvzbW9bhM59VhfeLWggLET KORm5Q7p5/QGDgXfoEFMmjvR4mP89JqKGvMzHzKcVEZVG/bWCsaTlx6wM2XtY81u0B5WPcHT J6zjtcxF1dXsNHwm+qMKavGEOZXNUz/gurlx2RSkbT7evnLkvzyUMgw/meSaLyf40X2J/tu2 TgWmUkdw+cj8Co8IGlLgBEIQwj51C6V59eTCnRU1Yl3ezGqVOdUOF/zmov8ejz+mS3QL7JNv gvGHDaIVG8QRomERXVPsk+Uqmcx7Ex+xZQdUMOOAxXQjX6e78a+5+DIvqOsSHSmBQwv7ki8b kV98/OrMCdU9vKVya5HtgIDgRS9wWjKtquziylzKcGO9Pg3a1+znfoUt2gPrMndMJfWRir82 5fJgqbsnyWTS5UeU3j1Wgs1BjqQk0n64EzlYt8sh9XO1r7LZDwARAQABtDFDaHJpc3RpYW4g RGlldHJpY2ggPGNocmlzdGlhbi5kaWV0cmljaEBpdGVtaXMuZGU+iQJUBBMBCgA+FiEE0/r4 jhdhFs7esWhLcp7qoW1Fo9QFAlv8HLMCGwMFCQm/p4AFCwkIBwMFFQoJCAsFFgIDAQACH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Ueo fIN/bdfTcjOFiq2VEg==
  • Delivered-to: xtext-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/xtext-dev>
  • List-help: <mailto:xtext-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/xtext-dev>, <mailto:xtext-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/xtext-dev>, <mailto:xtext-dev-request@eclipse.org?subject=unsubscribe>
  • Openpgp: preference=signencrypt
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Hi,

the xtext-dev mailing list is not the correct place for this. please use the forum (or stackoverflow) in future.

due to organisational issues the 2019-06 update site does not contain the latest
2.18 Xtext release but a milestone. https://www.eclipse.org/forums/index.php/t/1099376/

The release contains some fixes on scheduled builds.
i tried to reproduce this with my dev workspace.

=> can you please retry this with the actual release (or actually the 2.19 release from yesterday)

Am 03.09.19 um 17:08 schrieb Lidia:
Hello xtext developers,

 

We have few dsl plugins generated with xtext and some custom projects that
has a custom builder (which executes a long time running script) .

When I try to use the  inherited from xtext feature 'Rename Element' for a
dsl file, it triggers full workspace build, or one single project build,
which eventually calls our long running script.

Basically we can not use rename action, because we have to wait about 5
minutes till script ends and Rename dialog will be visible.

 

Why does it happens by default and how to remove it?

 

I have reproduced it in a demo workflow:

1.       I have installed eclipse ide for DSL
https://www.eclipse.org/downloads/packages/release/2019-06/r/eclipse-ide-jav
a-and-dsl-developers

2.       Created demo dsl plugins based on
<https://www.eclipse.org/Xtext/documentation/102_domainmodelwalkthrough.html
15 Minutes Tutorial
https://www.eclipse.org/Xtext/documentation/102_domainmodelwalkthrough.html 

3.       Generated java sources and run eclipse 

4.       In demo workspace created a demo project ( TestDSL), and on its
Right Click -> Properties added a second builder, a simple ant script (the
Test.ant):





 



 

Any time when I try to use Rename Element it first triggers the project
build.

If I uncheck the ANT build (From Project Properties -> Builders), this is
not triggered any more. But I do need it checked, and I would like to be
able to use Rename Element as well. How to disable it?

 



 

 

Thank you in advance

Kind Regards

Lidia



_______________________________________________
xtext-dev mailing list
xtext-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/xtext-dev

Back to the top