Key Takeaways Chapter 3: Working with the Xtend Programming Language of Implementing Domain-Specific Languages with Xtext and Xtend – Second Edition

Others chapters https://spacetech.dk/key-takeaways-chapter-1-of-implementing-domain-specific-languages-with-xtext-and-xtend-second-edition.html https://spacetech.dk/key-takeaways-chapter-2-of-implementing-domain-specific-languages-with-xtext-and-xtend-second-edition.html Chapter 3 Working with the Xtend Programming Language in Implementing Domain-Specific Languages with Xtext and Xtend – Second Edition covers what and how to use Xtend. Basically Xtend is a concise syntax of Java. Xtend can be compiled just a Java but it’s rich on type interference, extension methods, dispatch, lambda

Read More

Key Takeaways Chapter 2 of Implementing Domain-Specific Languages with Xtext and Xtend – Second Edition

These are the key takeaways from Chapter 2 of Implementing Domain-Specific Languages with Xtext and Xtend – Second Edition. Chapter 2. Creating Your First Xtext Language Creating a hello world Xtext project in Eclipse File -> New -> Project -> Xtext -> Xtext Project Fill out Project name, Name and Extensions Finish The project solution contains the following projects

Read More

Xtext The rule ‘Primary’ may be consumed without object instantiation

When working with Xtext you might hit this issue at some point. The rule ‘Primary’ may be consumed without object instantiation. Add an action to ensure object creation, e.g. ‘{Expression}’. You will have something similar in your Xtext file: Solution Use explicit notation instantiate with {} For more information go to Xtext documentation https://www.eclipse.org/Xtext/documentation/301_grammarlanguage.html#syntax Section:

Read More

Failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest

Trying to run the Azure Data Factory Integration Runtime in Windows Container Sample from https://github.com/Azure/Azure-Data-Factory-Integration-Runtime-in-Windows-Container repo according to the guide of creating an integrated runtime for Azure Data Factory from https://docs.microsoft.com/en-us/azure/data-factory/how-to-run-self-hosted-integration-runtime-in-windows-container give a failed to run dockerfile in Docker Desktop. When trying to run the docker command Looking closer at the issue it’s simple because

Read More

Error Could not find or load main class org.gradle.wrapper.GradleWrapperMain

After fixing permission error on gradlew https://spacetech.dk/error-gradle-script-home-runner-work-gradlew-is-not-executable.html we ran into the next issue where the error message is a bit wage. But taking a closer look at the CI pipeline action for Gradle there is not specified a version. So what version is taking? Why are we getting could not load main class org.gradle.wrapper.GradleWrapperMain. Looking

Read More

How to fix Localdb MSSQLLocalDB trigger execution

Encountering the error of connecting to localdb/mssqllocaldb gives Logon failed for login ‘xx\xxx’ due to trigger execution in Visual Studio Solution for localdb\mssqllocaldb Get rid of database and recreate it. It aren’t pretty, but it works! Open the from Admin Visual Studio CMD prompt: https://docs.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2022#start-in-visual-studio Write the following in the console prompt. This will first

Read More