Ignore:
Timestamp:
May 1, 2011, 12:46:31 PM (13 years ago)
Author:
gav
Message:

Svn merge -r875:r911 branches/features/grailsUpgrade/ into trunk/.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/grails-app/conf/BuildConfig.groovy

    r636 r913  
    11grails.project.class.dir = "target/classes"
    22grails.project.test.class.dir = "target/test-classes"
    3 grails.project.test.reports.dir = "target/test-reports"
     3grails.project.test.reports.dir = "target/test-reports"
    44
    55def env = System.getProperty('grails.env')
     
    88    case "production":
    99        //grails.project.war.file = "target/${appName}-${appVersion}.war"
    10         grails.project.war.file="target/${appName}Live.war"
     10        grails.project.war.file = "target/${appName}Live.war"
    1111        break
    1212    case "development":
    13         grails.project.war.file="target/${appName}Dev.war"
     13        grails.project.war.file = "target/${appName}Dev.war"
    1414        break
    1515    default:
    16         grails.project.war.file="target/${appName}.war"
     16        grails.project.war.file = "target/${appName}.war"
    1717        break
    1818}
    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"
    31     // Included by searchable plugin.
    32     delete file: "${stagingDir}/WEB-INF/lib/compass-2.1.0.jar"
    33     delete file: "${stagingDir}/WEB-INF/lib/compass-2.1.0-src.jar"
    34     delete file: "${stagingDir}/WEB-INF/lib/lucene-core.jar"
    35     delete file: "${stagingDir}/WEB-INF/lib/lucene-analyzers.jar"
    36     delete file: "${stagingDir}/WEB-INF/lib/lucene-highlighter.jar"
    37     delete file: "${stagingDir}/WEB-INF/lib/lucene-queries.jar"
    38     delete file: "${stagingDir}/WEB-INF/lib/lucene-snowball.jar"
    39     delete file: "${stagingDir}/WEB-INF/lib/lucene-spellchecker.jar"
     24    // From acegi plugin lib dir.
     25    delete file: "${stagingDir}/WEB-INF/lib/facebook-java-api-2.0.4.jar"
     26    delete file: "${stagingDir}/WEB-INF/lib/easymock.jar"
     27    delete file: "${stagingDir}/WEB-INF/lib/cas-client-core-3.1.1.jar"
     28    delete file: "${stagingDir}/WEB-INF/lib/openid4java-0.9.2.jar"
     29
    4030}
    4131
     
    4333
    4434    // inherit Grails' default dependencies
    45     inherits( "global" ) {
     35    inherits("global") {
    4636        // uncomment to disable ehcache
    4737        // excludes 'ehcache'
     
    5141
    5242    repositories {
     43        grailsHome()
    5344        grailsPlugins()
    54         grailsHome()
     45        grailsCentral()
    5546
    5647        // uncomment the below to enable remote dependency resolution
     
    5849        //mavenLocal()
    5950        mavenCentral()
     51        mavenRepo "https://nexus.codehaus.org/content/repositories/snapshots"
    6052        //mavenRepo "http://snapshots.repository.codehaus.org"
    6153        //mavenRepo "http://repository.codehaus.org"
    6254        //mavenRepo "http://download.java.net/maven/2/"
    6355        //mavenRepo "http://repository.jboss.com/maven2/"
     56    }
     57
     58    plugins {
     59        runtime ':acegi:0.5.3'
     60        runtime ':export:0.7'
     61        runtime ':filterpane:0.7'
     62        runtime ':help-balloons:1.4'
     63        runtime(':jasper:1.1.3') {
     64            transitive = false
     65        }
     66        runtime ':navigation:1.1.1'
     67        runtime ':quartz:0.4.2'
     68        runtime ':richui:0.8'
     69        runtime ':searchable:0.6-SNAPSHOT'
     70
     71        test ':geb:0.6-SNAPSHOT'
     72        test ':spock:0.5-groovy-1.7'
    6473    }
    6574
     
    6978        runtime 'mysql:mysql-connector-java:5.1.9'
    7079
    71         runtime ('org.apache.poi:poi:3.5-FINAL') {
    72             excludes 'servlet-api', 'commons-logging', 'log4j'
     80        // Japser plugin.
     81        runtime('net.sf.jasperreports:jasperreports:3.7.2') {
     82            excludes 'antlr', 'commons-beanutils', 'commons-collections', 'commons-logging',
     83                    'ant', 'mondrian', 'commons-javaflow','barbecue', 'xml-apis-ext','xml-apis', 'xalan', 'groovy-all', 'hibernate', 'saaj-api', 'servlet-api',
     84                    'xercesImpl','xmlParserAPIs','spring-core','bsh', 'spring-beans', 'jaxen', 'barcode4j','batik-svg-dom','batik-xml','batik-awt-util','batik-dom',
     85                    'batik-css','batik-gvt','batik-script', 'batik-svggen','batik-util','batik-bridge','persistence-api','jdtcore','bcmail-jdk14','bcprov-jdk14','bctsp-jdk14'
     86        }
     87        runtime('org.apache.poi:poi:3.5-FINAL') {
     88            excludes 'log4j', 'commons-logging'
    7389        }
    7490
    75         runtime ('net.sf.jasperreports:jasperreports:3.7.2') {
     91        // Origin unknown, still required?
     92        runtime('org.apache.ant:ant:1.7.1')
     93        runtime('org.apache.ant:ant-launcher:1.7.1')
     94
     95        test('org.seleniumhq.selenium:selenium-htmlunit-driver:latest.release') {
    7696            excludes 'xml-apis'
    7797        }
    78 
    79         runtime ('org.compass-project:compass:2.1.4')
    80         runtime ('org.apache.lucene:lucene-core:2.4.1')
    81         runtime ('org.apache.lucene:lucene-analyzers:2.4.1')
    82         runtime ('org.apache.lucene:lucene-highlighter:2.4.1')
    83         runtime ('org.apache.lucene:lucene-queries:2.4.1')
    84         runtime ('org.apache.lucene:lucene-snowball:2.4.1')
    85         runtime ('org.apache.lucene:lucene-spellchecker:2.4.1')
    86 
    87         runtime ('org.apache.ant:ant:1.7.1')
    88         runtime ('org.apache.ant:ant-launcher:1.7.1')
    89 
    9098    }
    9199
Note: See TracChangeset for help on using the changeset viewer.