This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reports(iReport) folder doesn't goes into jar file

 
Kunal Lakhani
Ranch Hand
Posts: 622
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created an application in myeclipse. I have used iReport for generating reports. It works fine in myeclipse. But, now i have converted the app into jar. And, none of the report opens. On extracting the jar, i found that reports folder is missing. The reports folder contains .jasper files. I created jar through myeclipse itself.

This is the structure

MyApp
----src
---------org.nit.forms
---------org.nit.dao
............
----lib
----reports

On extracting the jar i found org folder (containing packages), META-INF folder and required jar, but no reports folder needed to generate reports

What should i do?
 
Kunal Lakhani
Ranch Hand
Posts: 622
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After googling i found a way where all files (.jasper) present in the reports folder is added to the jar. On extracting, i found that jasper files (files which where in reports folder) are placed with other jars. But, still the report system doesn't works. It shows blank frame.
In my code the location of jasper files is given as reports/abc.jasper
 
Kunal Lakhani
Ranch Hand
Posts: 622
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No reply yet
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic