Changeset 903


Ignore:
Timestamp:
Apr 27, 2011, 5:16:37 PM (9 years ago)
Author:
gav
Message:

Adjust dependencies, move jasper plugin declaration to BuildConfig?.groovy.
Commons-digester should now be available to JasperController? in deployed war.

Location:
branches/features/grailsUpgrade
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/features/grailsUpgrade/application.properties

    r879 r903  
    1212plugins.help-balloons=1.4
    1313plugins.hibernate=1.3.7
    14 plugins.jasper=1.1.3
    1514plugins.navigation=1.1.1
    1615plugins.quartz=0.4.2
  • branches/features/grailsUpgrade/grails-app/conf/BuildConfig.groovy

    r902 r903  
    1919
    2020grails.war.resources = { stagingDir, args ->
    21     // Remove some duplicate jars.
    22     delete file: "${stagingDir}/WEB-INF/lib/jasperreports-2.0.5.jar"
    23     delete file: "${stagingDir}/WEB-INF/lib/jasperreports-3.1.2.jar"
    24     delete file: "${stagingDir}/WEB-INF/lib/aspectjrt-1.5.4.jar"
    25     delete file: "${stagingDir}/WEB-INF/lib/commons-digester-1.7.jar"
    26     delete file: "${stagingDir}/WEB-INF/lib/iText-2.0.8.jar"
     21    // Remove some duplicate/not required jars.
     22    // From export plugin lib dir.
    2723    delete file: "${stagingDir}/WEB-INF/lib/iText-2.1.5.jar"
    28     delete file: "${stagingDir}/WEB-INF/lib/jfreechart-1.0.3.jar"
    29     delete file: "${stagingDir}/WEB-INF/lib/poi-3.0.2-FINAL-20080204.jar"
    30     delete file: "${stagingDir}/WEB-INF/lib/facebook-2.0.4.jar"
     24    delete file: "${stagingDir}/WEB-INF/lib/xercesImpl.jar"
     25    // From acegi plugin lib dir.
     26    delete file: "${stagingDir}/WEB-INF/lib/facebook-java-api-2.0.4.jar"
     27    delete file: "${stagingDir}/WEB-INF/lib/easymock.jar"
     28    delete file: "${stagingDir}/WEB-INF/lib/cas-client-core-3.1.1.jar"
     29    delete file: "${stagingDir}/WEB-INF/lib/openid4java-0.9.2.jar"
     30
    3131}
    3232
     
    6262        runtime 'mysql:mysql-connector-java:5.1.9'
    6363
     64        // Japser plugin.
     65        runtime('net.sf.jasperreports:jasperreports:3.7.2') {
     66            excludes 'antlr', 'commons-beanutils', 'commons-collections', 'commons-logging',
     67                    'ant', 'mondrian', 'commons-javaflow','barbecue', 'xml-apis-ext','xml-apis', 'xalan', 'groovy-all', 'hibernate', 'saaj-api', 'servlet-api',
     68                    'xercesImpl','xmlParserAPIs','spring-core','bsh', 'spring-beans', 'jaxen', 'barcode4j','batik-svg-dom','batik-xml','batik-awt-util','batik-dom',
     69                    'batik-css','batik-gvt','batik-script', 'batik-svggen','batik-util','batik-bridge','persistence-api','jdtcore','bcmail-jdk14','bcprov-jdk14','bctsp-jdk14'
     70        }
    6471        runtime('org.apache.poi:poi:3.5-FINAL') {
    65             excludes 'servlet-api', 'commons-logging', 'log4j'
    66         }
    67 
    68         runtime('net.sf.jasperreports:jasperreports:3.7.2') {
    69             excludes 'xml-apis'
     72            excludes 'log4j', 'commons-logging'
    7073        }
    7174
     
    7780        }
    7881    }
     82
    7983    plugins {
    8084        test ":geb:0.6-SNAPSHOT"
    8185        test ":spock:0.5-groovy-1.7"
     86        runtime( ':jasper:1.1.3' ) {
     87            transitive = false
     88        }
    8289    }
    8390
Note: See TracChangeset for help on using the changeset viewer.