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

jbmorla

Members
  • Posts

    10
  • Joined

  • Last visited

jbmorla's Achievements

  1. Hi, I have a group called "Customer" and I would like to display a dummy value to the top left of the group, aligned horizontally with the first line of the group. At the moment I have this setup: <variable name="vargroup" class="java.lang.Integer" resetType="Group" resetGroup="Customer"> <variableExpression><![CDATA[1]]></variableExpression> <initialValueExpression><![CDATA[1]]></initialValueExpression> </variable> But as the variable belongs to the "Details", it prints on every line. I'd like to have a group zone to the left of the details. That's easy to do with Oracle Reports.
  2. I just tried three times, the report creation wizard does not show the read fields button, so the Design view is blank, and if I right click the report name in the object browser and select "Query", then I get the read fields button but the Design view remains blank. If I select the Cherry template, the fields appear.
  3. Hi, If I create a new report with the Cherry template and a Sql query issued against Sample DB, the fields are created in the Design View. But if I use the Blank A4 template, they are not. What do I need to insert in a new template in order for it to trigger the fields creation?
  4. I realize that the .jrxml document has to be filled in the next stage by the data source.
  5. Hi, I have this line in the sample Coffee.jrxml: <property name="com.jaspersoft.studio.data.defaultdataadapter" value="Sample DB"/> But I can't find where "Sample DB" is defined.
  6. I have found this tutorial on how to create an Ant buildfile in Eclipse Kepler: link I will try to integrate in Jasper Studio the ant tasks and Jasperxxx.java sources to compile and fill a report from a DOS CMD shell, as indicated in this tutorial: That's because I don't see in the Jasper Studio workbench how to compile the java source that comes with the demo CsvDataSource project.
  7. Hi, I'm trying to recreate the sample reports named CsvDataSourceReport.jrxml from the samples in the Jasper Demo. So I create folders for build, data, doc, reports, src, and I tried to create a build.xml file by copying the build.xml that comes with the demo. But the project can not be built. I'm looking for help on how to write a build.xml file for a Jasper Studio 5 project.
  8. Oops I must have missed a step somehow. If I change the CLASSPATH to .; Everything works fine.
  9. Hi, my CLASSPATH is: E:jasperreports-5.5.0demosamplescsvdatasource>echo %CLASSPATH% E:jasperreports-5.5.0distjasperreports-5.5.0.jar;E:jasperreports-5.5.0lib;.; I have copied this .jar in dist and in lib:commons-logging-1.1.3.jar When I am under "E:jasperreports-5.5.0demosamplescsvdatasource" and I run "ant compile", I get a classnotfound error. E:jasperreports-5.5.0demosamplescsvdatasource>ant compile Buildfile: E:jasperreports-5.5.0demosamplescsvdatasourcebuild.xml compile: compile: BUILD FAILED E:jasperreports-5.5.0demosamplescsvdatasourcebuild.xml:15: The following error occurred while executing this line: E:jasperreports-5.5.0demosamplesbuild.xml:62: Could not create type jrc due to java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at net.sf.jasperreports.engine.util.JRLoader.<clinit>(JRLoader.java:68) at net.sf.jasperreports.engine.JRPropertiesUtil.loadProperties(JRPropertiesUtil.java:99) at net.sf.jasperreports.engine.DefaultJasperReportsContext.initProperties(DefaultJasperReportsContext.java:94) at net.sf.jasperreports.engine.DefaultJasperReportsContext.<init>(DefaultJasperReportsContext.java:71) at net.sf.jasperreports.engine.DefaultJasperReportsContext.<clinit>(DefaultJasperReportsContext.java:59) at net.sf.jasperreports.engine.SimpleJasperReportsContext.<init>(SimpleJasperReportsContext.java:53) at net.sf.jasperreports.ant.JRBaseAntTask.<init>(JRBaseAntTask.java:47) at net.sf.jasperreports.ant.JRAntCompileTask.<init>(JRAntCompileTask.java:77) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.apache.tools.ant.AntTypeDefinition.innerCreateAndSet(AntTypeDefinition.java:328) at org.apache.tools.ant.AntTypeDefinition.createAndSet(AntTypeDefinition.java:274) at org.apache.tools.ant.AntTypeDefinition.icreate(AntTypeDefinition.java:219) at org.apache.tools.ant.AntTypeDefinition.create(AntTypeDefinition.java:206) at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:285) at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:263) at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:429) at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163) at org.apache.tools.ant.Task.perform(Task.java:347) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1248) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
  10. Hi, I think that in order to generate a .jasper file I need a build.xml file, so that I cant use an ant task. But in the Jasper Studio interface, there is no Export->General->ant option. Do I need a Jasper Studio plugin for Eclipse in order for Eclipse to export a build.xml file? Alternatively I could use a Java program to do it, but I can't find a generic java source.
×
×
  • Create New...