grototo Posted March 1, 2010 Share Posted March 1, 2010 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.jasperThe 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 More sharing options...
arunsankarkk Posted March 1, 2010 Share Posted March 1, 2010 hi folksHave 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 ArunPost Edited by arunsankarkk at 03/01/2010 12:00 Link to comment Share on other sites More sharing options...
grototo Posted January 5, 2011 Author Share Posted January 5, 2011 It's ok. I finally got it!Thanks. 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