blob: 975cbaef78b86ae3b1ad2ccbe68a45d0e770bfcf [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 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.datamartdsl.GenerateDatamartDSL
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 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
*
* generated by Xtext \${version}
*
*/
"
Workflow {
component = XtextGenerator {
configuration = {
project = StandardProjectConfig {
baseName = "org.eclipse.osbp.xtext.datamartdsl"
rootPath = rootPath
genericIde = {
enabled = true
name = "org.eclipse.osbp.xtext.datamartdsl.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.datamartdsl.DatamartDSL"
fileExtensions = "datamart"
referencedResource = "platform:/resource/org.eclipse.osbp.xtext.datamartdsl/model/DatamartDSL.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"
referencedResource = "platform:/resource/org.eclipse.osbp.dsl.entity.xtext/model/entity.xcore"
referencedResource = "platform:/resource/org.eclipse.osbp.dsl.dto.xtext/model/dto.xcore"
referencedResource = "platform:/resource/org.eclipse.osbp.xtext.authorizationdsl/model/AuthorizationDSL.xcore"
referencedResource = "platform:/resource/org.eclipse.osbp.xtext.cubedsl/model/CubeDSL.xcore"
generateXtendStubs = false
serializer = {
generateStub = false
}
validator = {
// composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator"
}
generator = {
generateStub = false
generateJavaMain = false
generateXtendStub = false
}
}
}
}