Question: how to convert jrxml to jasper file?
Answer: You can do direct compile via compile button (hammer logo) on iReport designer.
You can use ant to compile as shown in the Ant Compile Sample. ... 
You can also use the JasperCompileManager class to compile from your java code.