I’m trying to compile a jrxml using ant.
I’ve created my jrxml on iReports so I dont have a build.xml.
When runing ant command, it asks for a build.xml.
I created this file in the same repertory as my jrxml but I dont know what I should put into it to link my jrxml to my scriptlet jar.
I’ll apreaciate your help, I’m a kind of lost..
I’m trying to compile a jrxml using ant. I’ve created my jrxml on iReports
Share
You can compile the report template with help of the net.sf.jasperreports.ant.JRAntCompileTask ant task.
The sample taken from here:
The quote from the site:
The working sample:
The SampleJRScriptlet class:
The report template to compile (the report_with_scriplet.jrxml file):
My ant script (the compile_report.xml file):
The folder structure:
After the running sript folder structure will be: