By cyclocondensation of a mixture of isopropyl(m-nitrobenzylidene)acetylacetate (II), 2-methoxyethyl acetylacetate (I) and NH3 in refluxing ethanol.