Jump to content
We've recently updated our Privacy Statement, available here ×

max_10

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by max_10

  1. Howdy I'm using the JasperReports library version 4.5.1 in my Java application, and I'm trying to upgrade to version 4.6.0. I am using the JasperReports ant task to build our *.jrxml files into *.jasper files at compile time. Here is the relevant excerpt from our build.xml file: <target name="compile-report" depends="init"> <taskdef name="jrc" classname="net.sf.jasperreports.ant.JRAntCompileTask" classpath="${javac.classpath}"/> <mkdir dir="${build.classes.dir}/usda/weru/weps/reports"/> <jrc tempdir="${build.classes.dir}/usda/weru/weps/reports" compiler="usda.weru.weps.reports.compile.JRJavacCompiler" destdir="${build.classes.dir}/usda/weru/weps/reports"> <src> <fileset dir="${basedir}/reports"> <include name="**/*.jrxml"/> </fileset> </src> <classpath path="${run.classpath}"/> </jrc> <!--copy the styles into the classpath--> <copy todir="${build.classes.dir}/usda/weru/weps/reports"> <fileset dir="${basedir}/reports"> <include name="**/*.jrtx"/> </fileset> </copy></target>[/code]Note that we are using a custom implementation of the JRJavacCompiler, but it is not the problem. Upgrading the library to 4.6.0 yields the following exception: My question is this: Why is JasperReports trying to save anything in C:Program FilesNetBeans 8.0? I specify a temp directory in the ant task, why does it not use that location? Here is the full text of the exception stack trace:
×
×
  • Create New...