Community
Participate
Working Groups
Hello, The ATL injector was not working properly when calling it by Java code. The injection seams to work but some elements are not created correctly. There is problem with the lookup mechanism because in the injection the target model is not "setIsTarget = true" and the optimized allInstances() did not find all the elements. The problem is solved by adding "targetModel.setIsTarget(true);" after the creation of the target model and "targetModel.setIsTarget(false);" after the injection. The patch correcting this problem is attached. B.R. Guillaume Doux.
Created attachment 163889 [details] Patch for the ATL parser correction
Hello, Your patch has been commited on CVS HEAD. Thanks a lot!
This was released for ATL 3.1 or earlier - closing.