blob: cc98933a5c69b643e2fee7556ede9725c89cd14a [file] [log] [blame]
/**
*
* 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 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
*/
module org.eclipse.osbp.xtext.functionlibrarydsl.GenerateFunctionLibraryDsl
import org.eclipse.emf.mwe.utils.*
import org.eclipse.xtext.xtext.generator.*
import org.eclipse.xtext.xtext.generator.model.project.*
var rootPath = ".."
var fileHeaderText = "/**
*
* Copyright (c) 2011, 2017 - 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 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
* generated by Xtext \${version}
*
*/
"
Workflow {
component = XtextGenerator {
configuration = {
project = StandardProjectConfig {
baseName = "org.eclipse.osbp.xtext.functionlibrarydsl"
rootPath = rootPath
genericIde = {
enabled = true
name = "org.eclipse.osbp.xtext.functionlibrarydsl.ide"
}
runtimeTest = {
enabled = true
}
eclipsePlugin = {
enabled = true
}
eclipsePluginTest = {
enabled = false
}
createEclipseMetaData = true
}
code = {
encoding = "UTF-8"
lineDelimiter = "\n"
fileHeader = fileHeaderText
}
}
language = StandardLanguage {
name = "org.eclipse.osbp.xtext.functionlibrarydsl.FunctionLibraryDsl"
fileExtensions = "functionlibrary"
referencedResource = "platform:/resource/org.eclipse.osbp.xtext.functionlibrarydsl/model/FunctionLibraryDSL.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"
}
parserGenerator = {
debugGrammar = true
}
fragment = com.itemis.xtext.codebuff.CodebuffGrammarGeneratorFragment {}
generator = {
generateStub = false
generateJavaMain = false
generateXtendStub = false
}
}
}
}