Comments (11)
Hi,
yeah, there have been a range of problems attached to include the execution of text templates into the build process. Unfortunately, these problems are not really solved yet, so that I am thinking about checking the generated code files into the repository in order to avoid those problems.
As a reason, the path to the text templating tools are no longer agnostic of Visual Studio. Rather, as you see at the path you posted, the path depends on the Visual Studio version (and even edition) you use.
Best,
Georg
from nmf.
Right on - thanks for the info. Nice product!
from nmf.
Just of curiosity: Can you tell me what you are using NMF for and in particular which parts of it? Only the model representation or also the incrementalization system, the transformation engine or even the synchronization engine?
from nmf.
from nmf.
Hi,
yes, I have seen TouchCore. It is not too long ago that we had Jörg Kienzle as a guest researcher in our group. Would be very nice to be able to use it as an editor for NMF, because NMF itself currently does not have an editor at all.
For the purpose, I guess the effort to do that will depend on whether the resulting model should be executable alone or to be extended with custom logic or not. The current code generator in NMF basically does not add any executable behavior except for things implied by the metamodel structure (e.g. to implement bidirectional references and compositions, but also to implement notifications). However, the code generator is actually available as a library and gives you a fully modifiable code model and a trace how metamodel elements have been transformed.
Because you asked, the most interesting use cases for me are those that really use NMFs ability to execute model transformations or analyses in an incremental manner by creating a dynamic dependency graph.
Best,
Georg
from nmf.
I'm having a problem where the t4s are being run by VS, including the TestGenerationSettings.t4 file which is an import for other templates.
That TestGenerationSettings.t4 doesn't run as a standalone T4 template.
from nmf.
from nmf.
@mcintyre321 What is the problem that the TestGenerationSettings.t4 does not run as a standalone T4 template?
from nmf.
You get this when you download and build in a standard VS2017 instance:
I think it's because VS by default tries to run all transforms on build, including the shared logic one, which isn't a self contained, runnable template.
from nmf.
Hm, I recently also had to setup a new VS 2017 as I changed my machine. However, I cannot reproduce this issue.
The only thing that I can imagine: I vaguely remember that somebody said that the DSL tools (which I have installed locally) are changing some things in the T4 engine. You could try this. It is installable simply through the VS installer, but you have to look for it in the single components list, it is not included in a workflow.
from nmf.
Closing as cannot reproduce
from nmf.
Related Issues (20)
- NMF Expressions - Feature idea - implement `ToLookup` HOT 12
- enum values differ between model and serialization HOT 5
- GC allocations accessing INotifyEnumerable HOT 4
- il2cpp compability for unity3d engine HOT 5
- Ecore2Code does not handle multiple namespaces HOT 5
- MetaRepository can't resolve multiple namespaces with same interface HOT 3
- Code generates incorrectly for models with elements named the same as the class HOT 1
- Generated static Retrieve methods need namespace to qualify ClassInstance reference HOT 5
- Support .NET Standard? HOT 4
- Serialization: Boolean TypeConverter doesn't conform to XML standard HOT 3
- Issue loading model created in EMF HOT 4
- Running Ecore2Code on .NET core HOT 7
- Troubles loading EMF instances of an Ecore model HOT 2
- Using NMF metamodels in Unity HOT 4
- "Data at root level is invalid. Line 1, position 1." HOT 1
- Ecore2Code: Generated reference models have incorrect ModelRepresentationClassAttribute HOT 1
- Support for Extrinsic XMI IDs HOT 12
- API question: how to find all usages of an object? HOT 2
- Some names in .ecore file can cause compilation errors HOT 2
- Problem following tutorial with NMF version 2.0.176 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nmf.