Jump to content
Changes to the Jaspersoft community edition download ×

SUBREPORT_DIR


grototo

Recommended Posts

Hi folks,

 

I'm using IReport 3.0.0 + Eclipse.

I try to create a document with 2 subreports.

The first one is located in a directory almost like following:

C:\Eclipse\edition\subreportHeader.jasper

The second one is located in a directory like :

C:\Eclipse\edition\pack1\subreportHeader.jasper

 

It all work while using Ireport only.

But while using Java, the first subreport can't be found.
I created a new parameter (SUBREPORT_DIR) like : "../." in order to tell Java where to find the jasper report (in fact to compel java to see in the parent directory).

 

But still does'nt work.

 

I would be interested if you have any idea.

Thanks a lot.

Thomas

PS : please excuse my bad english : i'm french ! Still have to improve it!

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

hi folks
Have you make sure that in ur SUBREPORT_DIR are you getting the exact path of the SubReport where it is located.(ie)are u getting 'C:EclipseeditionsubreportHeader.jasper' this path in SUBREPORT_DIR.

 

Regards

Arun



Post Edited by arunsankarkk at 03/01/2010 12:00
Link to comment
Share on other sites

  • 10 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...