Community
Participate
Working Groups
M6a. After editing a file that experiences 6 Bug 335761 issues, a file starting [comment encoding = UTF-8 /] [module generateOCLstdlib('http://www.eclipse.org/ocl/3.1.0/Pivot','http://www.eclipse.org/emf/2002/Ecore')/] [import generateOclCommon/] [template public generate(pkg : Package, javaPackage : String, javaClass : String, sourceFile : String, uri : String) ? (pkg.eContainer() = null)] gets a "The module already imports 'generateOclCommon'" warning.
The problem is fixed and the fix has been contributed on HEAD. The same problem also appeared with "the module already extends" (even if Acceleo only takes into account single inheritance), it is also fixed. Unit tests have been changed to match the fix because now we will be able to detect duplicate imports/duplicate extends earlier.