Title: RE: [jasperreports-questions] Package names soon to be changed

Hello Rao,

Thanks for the reply.

Please See Below for my understandings and comments.

Pls advise.

Thanks,
Kalpesh

-----Original Message-----
From: Rao Peruri [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 26, 2006 5:45 AM
To: Kalpesh Chordia
Cc: jasperreports-questions@lists.sourceforge.net; Teodor Danciu
Subject: Re: [jasperreports-questions] Package names soon to be changed


Hi Kalpesh,

We were a vendor.  We handed over the code to the customer and didnt
have to migrate to the new net.sf package structure.

Having said that jrprint files are essentially represented as
net.sf.jasperreports.engine.JasperPrint  files.  The JasperPrint object
has an empty constructor.  So I guess it should be possible to
a) include both the old and new jasper reports jar files in the class path
[Kalpesh] both the jars are in the classpath
b) open the old JRPRINT files using the old jasper jar file
[Kalpesh] Loaded old jrprint using old jar file
JasperPrint jasperPrint = (JasperPrint)JRLoader.loadObject(oldJRP);
c) construct the net.sf....JasperPrint using the contents of the old
JasperPrint
[Kalpesh] JRPrint is an empty constructor. How do I construct new JRPrint using old jrprint ?
net.sf.jasperreports.engine.JasperPrint newJRP = new net.sf.jasperreports.engine.JasperPrint();
d) Serialise the JasperPrint object to JRPRINT.
[Kalpesh] I have not understood this step.
Let me know if you need any further help on this matter.

Regards
Rao

Kalpesh Chordia wrote:
> Hello Rao,

> How you had deled with the existing jrprint files with the new
> packaging structure for converting jrprint to html etc.  We are in a
> desperate need of it.

> I hope you will help.

> Regards,
> Kalpesh
>
>     -----Original Message-----
>     *From:* Rama Mohan Pacific Net [mailto:[EMAIL PROTECTED]]
>     *Sent:* Sunday, May 23, 2004 4:05 PM
>     *To:* jasperreports-questions@lists.sourceforge.net
>     *Cc:* Teodor Danciu
>     *Subject:* [jasperreports-questions] Package names soon to be changed
>
>     Hi Teodor,
>     
>     Our application uses some of the Jasper API.  Specifically for
>     filling, converting JRPRINT to HTML,  printing, etc.  However, a
>     move to change the root package name from dori to net.sf should be
>     OK with us.
>     
>     Best Regards
>     Rao
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to