Skip to main content



      Home
Home » Modeling » TMF (Xtext) » LSP: How to trigger build after dependency changes
LSP: How to trigger build after dependency changes [message #1871472] Thu, 26 September 2024 04:37 Go to next message
Eclipse UserFriend
Hi,

how can I trigger the build of a project after a dependency (either a project in the workspace or a file outside the workspace) changes?

Best regards,
Sebastian
Re: LSP: How to trigger build after dependency changes [message #1871475 is a reply to message #1871472] Thu, 26 September 2024 04:50 Go to previous messageGo to next message
Eclipse UserFriend
hi, can you please be a bit more specific.

- which client do you use
- what kind of change do you do
- what kind of build do you do

you can e.g have a look at

didChangeWorkspaceFolders
or
didChangeConfiguration
Re: LSP: How to trigger build after dependency changes [message #1871478 is a reply to message #1871475] Thu, 26 September 2024 05:04 Go to previous messageGo to next message
Eclipse UserFriend
Hey Christian,

Client: VSCode

what kind of change do you do:
The projects in the workspace can depend on others in the project.
The projects in the workspace can depend on files outside the project (similar to a jar in java).
I want to trigger the Xtext build of a project if the contents of the build output or the contents of files outside the workspace changes.

I already watch these files and get the notifications from the client. However, I'm looking for a way to trigger builds of the dependent projects.
Re: LSP: How to trigger build after dependency changes [message #1871481 is a reply to message #1871478] Thu, 26 September 2024 05:07 Go to previous messageGo to next message
Eclipse UserFriend
then i propose you have a look at the implementations of the methods i have mentioned
Re: LSP: How to trigger build after dependency changes [message #1871484 is a reply to message #1871481] Thu, 26 September 2024 05:18 Go to previous message
Eclipse UserFriend
ok, thank you!
Previous Topic:absolute paths in ._trace files
Next Topic: Xtext 2.37.0.M0 is out
Goto Forum:
  


Current Time: Sun Mar 16 00:01:03 EDT 2025

Powered by FUDForum. Page generated in 0.04392 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top