All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edelta.GenerateEdelta.mwe2 Maven / Gradle / Ivy

There is a newer version: 3.5.0
Show newest version
module edelta.GenerateEdelta

import org.eclipse.xtext.xtext.generator.*
import org.eclipse.xtext.xtext.generator.model.project.*

var rootPath = ".."

Workflow {
	
	component = XtextGenerator {
		configuration = {
			project = StandardProjectConfig {
				baseName = "edelta"
				rootPath = rootPath
				runtimeTest = {
					enabled = true
				}
				eclipsePlugin = {
					enabled = true
				}
				eclipsePluginTest = {
					enabled = true
				}
				createEclipseMetaData = true
			}
			code = {
				encoding = "UTF-8"
				lineDelimiter = "\n"
				fileHeader = "/*\n * generated by Xtext \${version}\n */"
				preferXtendStubs = false
			}
		}
		language = StandardLanguage {
			name = "edelta.Edelta"
			fileExtensions = "edelta"

			serializer = {
				generateStub = false
			}
			validator = {
				// composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator"
			}
			formatter = {
				generateStub = true
				generateXtendStub = true
			}
			projectWizard = {
				generate = true
			}
			junitSupport = {
				generateXtendStub = false
			}
		}
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy