Jump to content

[Resolved]JasperCompileManager.compileReportToFile


Peanut

Recommended Posts

Hello,

 

when you execute JasperCompileManager.compileReportToFile(jasperDesign, sNomFicJasperAbs); Jasper generates a temporary file xyz.java in its own directory.

Is it possible to specify the place for this xyz.java file to be generated ?

(I don't have the permission to write in the bin directory)

Post edited by: Peanut, at: 2006/11/02 09:30

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

You can either

  • use the JDT report compiler which doesn't need to write a .java file (simply include the JDT jar on your application classpath to use it)

set the compiler temp dir property via code (JRProperties.COMPILER_TEMP_DIR) or properties file (net.sf.jasperreports.compiler.temp.dir)[/ul]

 

HTH,

Lucian

Link to comment
Share on other sites

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