Jump to content
Changes to the Jaspersoft community edition download ×

Compiler classpath


ashuvikov

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...