Thanks to Ananth and the community. I did in that way and it works, now I trying to compile and existing report and show me compilation errors like this below:
If somebody can help, I will appreciate it.
Compiling to file... .\quote.jasper -> .\quote.java Errors compiling .\quote.jasper! it.businesslogic.ireport.ReportClassLoader@284112 net.sf.jasperreports.engine.JRException: Errors were encountered when compiling
report expressions class file: 1. org.aspcfs.utils.JasperScriptletUtils cannot be resolved or is not a type value = (java.lang.String)(((org.aspcfs.utils.JasperScriptletUtils) (
(net.sf.jasperreports.engine.JRAbstractScriptlet)parameter_REPORT_SCRIPTLET.getValue())).getLabel((
(java.util.Map)parameter_CENTRIC_DICTIONARY.getValue()), "reports.quotes.quote.quotation", "QUOTATION"));
<-----------------------------------> 2. org.aspcfs.modules.contacts.base.Contact cannot be resolved or is not a type
value = (java.lang.String)(org.aspcfs.modules.contacts.base.Contact.getNameLastFirst((
(java.lang.String)field_enteredbyl
astname.getValue()),
((java.lang.String)field_enteredbyfirstname.getValue())));
<--------------------------------------> 3. org.aspcfs.utils.JasperScriptletUtils cannot be resolved or is not a type value = (java.lang.String)(((org.aspcfs.utils.JasperScriptletUtils) (
(net.sf.jasperreports.engine.JRAbstractScriptlet)parameter_REPORT_SCRIPTLET.getValue())).getLabel((
(java.util.Map)parameter_CENTRIC_DICTIONARY.getValue()), "reports.quotes.quote.date", "DATE"));
<----------------------------------->
etc.........
.............
78 errors at net.sf.jasperreports.engine.design.JRJdtCompiler.compileReport(JRJdtCompiler.java:122) at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:127) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:109) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:420) at java.lang.Thread.run(Thread.java:595)