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
Author: Bjarne
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
Key Takeaways Chapter 1 of Implementing Domain-Specific Languages with Xtext and Xtend – Second Edition
Here’s some personal notes and key takeaways from Chapter 1 of Implementing Domain-Specific Languages with Xtext and Xtend – Second Edition. First part is an introduction to DSL, why it’s here and why it matters. Typically a DSL is here to solve a very specific problem faster and easier instead of using a GPL. General
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:
VS Code disable blame text and you change x ago
There are many way VS Code wants to inform us who and when a line change in the source control. However sometimes it gets to much clutter. Here are the three basics settings you can disabled. Go to settings in VS Code. You’ll open up the settings window. Now take a look at the three
VS Code Hide Error Checking in C and CPP files
For quick look at your C or CPP files in VS Code can give you unintended error check as VS Code doesn’t know better. You just wanted to read the file. Not necessary work on it. So how to get rid of the underlined red errors? Solution VS Code has separate error check for each
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
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
Error Gradle script ‘/home/runner/work/*/gradlew’ is not executable
Setting up Gradle CI build for Github Actions with the build action for Gradle https://github.com/gradle/gradle-build-action is straight forward after you have either initialize your Eclipse project with Gradle or added Gradle build support afterwards. This project is a Xtext project, but for the continuous integration (CI) it doesn’t matter since we are using Gradle build
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