blob: d013fb205ebafcaed8c7f6a6752d05581ebf8f30 [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.authorizationdsl.GenerateAuthorizationDSL
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, 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
*
* generated by Xtext \${version}
*
*/
"
Workflow {
component = XtextGenerator {
configuration = {
project = StandardProjectConfig {
baseName = "org.eclipse.osbp.xtext.authorizationdsl"
rootPath = rootPath
genericIde = {
enabled = true
name = "org.eclipse.osbp.xtext.authorizationdsl.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.authorizationdsl.AuthorizationDSL"
fileExtensions = "authorization"
referencedResource = "platform:/resource/org.eclipse.osbp.xtext.authorizationdsl/model/AuthorizationDSL.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.blip/model/BlipDSL.xcore"
generateXtendStubs = false
serializer = {
generateStub = false
}
validator = {
// composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator"
}
generator = {
generateStub = false
generateJavaMain = false
generateXtendStub = false
}
}
}
}