• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 622
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No reply yet
 
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic