ashuvikov Posted November 30, 2006 Share Posted November 30, 2006 Hi, I try to compile JasperDesign into JasperReport using JasperCompileManager.compileReport(). Because I use my own classes I have to set classpath, which I do using JRProperties.setProperty(JRProperties.COMPILER_CLASSPATH, "..."). But it still cannot find my classes. Looking in the code I noticed that JRAbstractCompiler calls verifyDesign() _before_ dealing with classpath. But JRVerifier tries to load classes to verify their type, and classpath is not yet set at this point. Is it a bug or did I misunderstood the code? If it's not a bug then how to compile my report? Thank you,Andrey Shuvikov Link to comment Share on other sites More sharing options...
lucianc Posted December 6, 2006 Share Posted December 6, 2006 You can find a patch which seems related to this here. You could test it and provide some feedback so that we will have more information when investigating this issue. Regards,Lucian 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