2006 IR Open Discussion Posted August 20, 2006 Share Posted August 20, 2006 By: Ilievski Bozidar - bobi1978 easy migration to new JasperReports version 2003-12-12 01:42 Hi. I have about 100 reports that are compiled with jasperreport0.3.1 version. Is there an easy way to recompile all this reports with the new JasperReports0.5.0 classes? And what about 0.5.1 version that will come soon or later, shall I do 100 recompilation again? Thanks. Bobi. By: Teodor Danciu - teodord RE: easy migration to new JasperReports versi 2003-12-12 01:53 Hi, There is an Ant task available for compiling multiple XML report design files. Check the "antcompile" sample provided with the 0.5.0 version. Thank you, Teodor By: Navaneetha Krishnan J - navaneethanj RE: easy migration to new JasperReports version 2003-12-12 01:54 Dear Teodor, I too have same two questions. Small difference is i am using jasper reports 0.4.5. Please give some tips to do it. Thanks, Navaneethan. By: Ilievski Bozidar - bobi1978 RE: RE: 2003-12-12 05:44 Teodor thanks for your help. To Navaneetha Krishnan J : You should download Ant Tool from: http://cvs.apache.org/dist/ant/v1.6beta3/bin/ Unpack it to some folder (ex: C:ant). Then set environment variable: ANT_HOME = C:ant After that add "C:antbin" to your PATH variable. Now you can use the ant tool. There are build.xml files with all the examples that come with JasperReports0.5.0. This build.xml file is used by ant tool, so when you write: ant compile the tool looks in build.xml file for a tag with name="compile" and compiles your xml design to produce .jasper file. And so on... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now