views:

54

answers:

1

I am looking for something that could read external data (e.g. XML) and then generate source code file. Main reason is to have single definition file and then make Visual Studio to generate C# code and IntelliJ to generate java code.


Visual Studio T4 is template engine intended to produce source code.

A: 

The TextTransform.exe that runs T4 is a separate .net executable (even though it links to some of the Visual Studio dlls), so if you have both development environments in the same box, you can run the Java generation (even if it needs to be as a separate process spawning task).

Steve Gilham
yeh, I thought about this. Thanks if there will be nothing "native" I will investigate this more tightly.
Mike Chaliy