By cyclization of m-nitrobenzaldehyde (I) with 2-propoxyethyl acetoacetate (II) and ammonia in refluxing ethanol.