By cyclization of isobutyl 2-(2-nitrobenzylidene)acetoacetate (I) and methyl 3-aminocrotonate (II) in refluxing ethanol.