Community
Participate
Working Groups
I've been using the Ant-based builder and using the dsl.dir.name property to give the eclipse project a different name to the dsl. When doing this, during the megamodel build an error is reported that the /dsl/Syntax/dsl-parser.jar resource can't be found. I've traced this back to an issue in the AMMAScripts/build.megamodel.xml file. In the second parameter of the ant action the property dsl.name not dsl.dir.name is used to define the location of the dsl-parser.jar file; see snippet below antAction { '${dsl.ext}', 'Inject ${dsl.name} File to ${dsl.name} Model', '${dslscripts.dir}/injector.xml', context = param { properties { 'MUri' = 'uri', } }, parameters = [ param { '${mm.location}', properties { 'MMUri' = 'uri', } } param { '/${dsl.name}/Syntax/${dsl.name}-parser.jar', **** issue here **** properties { 'EBNFInjectorUri' = 'uri', 'classNamePrefix' = 'classNamePrefix', } } ] }