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

f1outsourcing

Members
  • Posts

    8
  • Joined

  • Last visited

f1outsourcing's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. ​jasperserver-remote/src/main/java/com/jaspersoft/jasperserver/remote/exporters/CsvExporter.java currently has: @Override public void configureExporter(JRExporter exporter, HashMap exportParameters) throws Exception { if (exportParams != null && exportParams.getFieldDelimiter() != null) { exporter.setParameter(JRCsvExporterParameter.FIELD_DELIMITER, exportParams.getFieldDelimiter()); } }[/code]​ ​Adding the line below also doesn't work because of deprecated code exporter.setParameter(JRCsvExporterParameter.FIELD_ENCLOSURE, exportParams.getFieldEnclosure());[/code]​ Changing the code to this, results in no report being generated via the api. When I just comment out the line with exporter.setConfiguration(configuration); then it generates. So it looks like this setConfiguration is doing more than just setting the 2 parameters. @Override public void configureExporter(JRExporter exporter, HashMap exportParameters) throws Exception { if (exportParams != null) { SimpleCsvExporterConfiguration configuration = new SimpleCsvExporterConfiguration(); configuration.setFieldDelimiter("~"); configuration.setFieldEnclosure("="); exporter.setConfiguration(configuration); }[/code]​ ​Anybody an idea on how to enable the FieldEnclosure parameter on csv via Rest V2? ​ ​ ​
  2. What files need to be edited in jasper source (6.3.0) to add something to the formats here. (I have already the TXT in the reportViewer, now i would like to schedule it)
  3. Didnt see the complete url, is indeed the src. I was able to change and build the JRAbstractCsvExporter.class and replace it in the jasperreports-6.3.0.jar
  4. I already have the jasperreports-6.3.0.jar​, i need the JRAbstractCsvExporter.java not the ./net/sf/jasperreports/engine/export/JRCsvExporter.class. Is it even possible/allowed to create jasperreports-6.3.0.jar from source?
  5. jasperserver-repo/net/sf/jasperreports/jasperreports/6.3.0/jasperreports-6.3.0.jar I want to comment lines out that are forcing fieldEnclosure to be set in JRAbstractCsvExporter.java
  6. Please remember the case sensitivity of linux, so if you create the zip with JasperReports-Server-cp-6.3.0-src in the default_master.properties the js-path and maven dirs should not be having the lower case paths
  7. We just had to install old version from war. Looks like your installation procedure requires access to more than the jasper server. I would recommend to remove this from 'future' installations if it is there. /tmp/jasperreports-server-cp-6.0.1-bin/buildomatic/bin/app-server.xml:60: java.sql.SQLException: Could not connect: Access denied for user 'jsuser'@'%' to database 'mysql'
×
×
  • Create New...