nicomart Posted April 8, 2009 Share Posted April 8, 2009 Hi all, I want to call a subreport. Its jasper file is located inD:/workspace/myproject/build/classes/MyDirectories/myReport.jasper My settings are :classpath : D:/workspace/myproject/build/classes$subreportdir : "/mydirectories/"subreport expression : $subreportdir + "myReport.jasper" When I use this with Ireport 3.5.0 I got the message"file not found exception /myDirectories/myReport.jasper"as if Ireport did not pay attention to the classpath. When I set the $subreportdir to "D:/workspace/myproject/build/classes/myDirectories/" it works, but I cannot use it when deploying in my Java project... I tried to open my jrxml file using Ireport 3.1 and it works perfectly, with both the first and second settings. Is there any regression between IR3.1 and IR3.5, or any new parameter to set for this type of operation ? Thanks NicoPost Edited by Nicolas Martin at 04/08/09 14:24 Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted April 8, 2009 Share Posted April 8, 2009 This is a bug of JR 3.5.0 (already fixed in the svn repository).Giulio Link to comment Share on other sites More sharing options...
nicomart Posted April 9, 2009 Author Share Posted April 9, 2009 ok, thanks for your answerNico 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