Skip to content

Commit

Permalink
Feature/#781 (#782)
Browse files Browse the repository at this point in the history
* #781 remove PDF export
  • Loading branch information
schoicsiro authored Oct 13, 2023
1 parent 11fee72 commit 0103d97
Show file tree
Hide file tree
Showing 51 changed files with 0 additions and 10,591 deletions.
34 changes: 0 additions & 34 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ dependencies {
implementation 'org.apache.tika:tika-parsers:1.3'
implementation "commons-fileupload:commons-fileupload:1.3.1"

implementation 'net.sf.jasperreports:jasperreports:6.4.1'
implementation 'net.sf.jasperreports:jasperreports-functions:6.4.1'
implementation 'au.org.ala:jasper-liberation-fonts-2.00.1:1.3'
implementation 'net.glxn:qrgen:1.4'
implementation 'org.apache.xmlgraphics:batik-bridge:1.9'
implementation 'org.apache.xmlgraphics:batik-svggen:1.9'
Expand Down Expand Up @@ -218,35 +215,4 @@ bootWar {

publish {
dependsOn assemble
}


tasks.register('reportCompile') {
ant.property(name: 'jasper.path', value: 'jasperreports-6.4.1.jar')

// ant.taskdef(resource: "com/abc/ant/antlib.xml", classpath: ant.properties['jasper.path'], loaderref: 'abc')


println "\n- Starting JasperReports *.jrxml compilation process..."
println configurations.runtimeClasspath.asPath
// define the Jasper Reports Compile Task
ant.taskdef(name:'reportCompile', classname: 'net.sf.jasperreports.ant.JRAntCompileTask', classpath: configurations.runtimeClasspath.asPath)

// remove existing jasper files
ant.delete{
fileset('dir':'grails-app/conf/reports', 'defaultexcludes':'yes'){
include('name':'**/*.jasper')
}
}

// create a temporary directory for use by the jasper compiler
ant.mkdir(dir:'target/jasper')

// compile the reports
ant.reportCompile(srcdir:'grails-app/conf/reports', destdir:'grails-app/conf/reports', tempdir:'target/jasper', keepJava:true, xmlvalidation:true){
include(name:'**/*.jrxml')
// include(classpath: configurations.developmentOnly.asPath)
// include(name:'**/*.jrtx')
}
println "-------\n- JasperReports compilation process finished"
}

This file was deleted.

3 changes: 0 additions & 3 deletions grails-app/conf/jasperreports.properties

This file was deleted.

6,048 changes: 0 additions & 6,048 deletions grails-app/conf/reports/profiles/Acacia-paradoxa-DC.json

This file was deleted.

117 changes: 0 additions & 117 deletions grails-app/conf/reports/profiles/PROFILES.jrxml

This file was deleted.

42 changes: 0 additions & 42 deletions grails-app/conf/reports/profiles/PROFILES_backcover.jrxml

This file was deleted.

Loading

0 comments on commit 0103d97

Please sign in to comment.