| /** |
| * |
| * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation |
| * |
| */ |
| |
| module org.eclipse.osbp.xtext.messagedsl.GenerateMessageDsl |
| |
| import org.eclipse.emf.mwe.utils.* |
| import org.eclipse.xtext.xtext.generator.* |
| import org.eclipse.xtext.xtext.generator.model.project.* |
| |
| var rootPath = ".." |
| |
| Workflow { |
| |
| component = XtextGenerator { |
| configuration = { |
| project = StandardProjectConfig { |
| baseName = "org.eclipse.osbp.xtext.messagedsl" |
| rootPath = rootPath |
| genericIde = { |
| enabled = true |
| name = "org.eclipse.osbp.xtext.messagedsl.ide" |
| } |
| runtimeTest = { |
| enabled = true |
| } |
| eclipsePlugin = { |
| enabled = true |
| } |
| eclipsePluginTest = { |
| enabled = false |
| } |
| createEclipseMetaData = true |
| } |
| code = { |
| encoding = "UTF-8" |
| lineDelimiter = "\n" |
| fileHeader = "/*\n * generated by Xtext \${version}\n */" |
| } |
| } |
| |
| language = StandardLanguage { |
| name = "org.eclipse.osbp.xtext.messagedsl.MessageDsl" |
| fileExtensions = "message" |
| |
| referencedResource = "platform:/resource/org.eclipse.osbp.xtext.messagedsl/model/MessageDSL.xcore" |
| |
| referencedResource = "platform:/resource/org.eclipse.osbp.xtext.oxtype/model/OXtype.ecore" |
| referencedResource = "platform:/resource/org.eclipse.osbp.xtext.oxtype/model/OXtype.genmodel" |
| referencedResource = "platform:/resource/org.eclipse.osbp.dsl.common.xtext/model/types.xcore" |
| |
| generateXtendStubs = false |
| |
| serializer = { |
| generateStub = false |
| } |
| validator = { |
| // composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator" |
| } |
| |
| generator = { |
| generateStub = false |
| generateJavaMain = false |
| generateXtendStub = false |
| } |
| |
| } |
| } |
| } |
| |
| |