Changeset 913 for trunk/grails-app/conf/BuildConfig.groovy
- Timestamp:
- May 1, 2011, 12:46:31 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
/branches/features/grailsUpgrade merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/grails-app/conf/BuildConfig.groovy
-
Property
svn:mergeinfo
set to
/branches/features/grailsUpgrade/grails-app/conf/BuildConfig.groovy merged eligible /branches/features/purchaseOrders/grails-app/conf/BuildConfig.groovy merged eligible
r636 r913 1 1 grails.project.class.dir = "target/classes" 2 2 grails.project.test.class.dir = "target/test-classes" 3 grails.project.test.reports.dir 3 grails.project.test.reports.dir = "target/test-reports" 4 4 5 5 def env = System.getProperty('grails.env') … … 8 8 case "production": 9 9 //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" 11 11 break 12 12 case "development": 13 grails.project.war.file ="target/${appName}Dev.war"13 grails.project.war.file = "target/${appName}Dev.war" 14 14 break 15 15 default: 16 grails.project.war.file ="target/${appName}.war"16 grails.project.war.file = "target/${appName}.war" 17 17 break 18 18 } 19 19 20 20 grails.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. 27 23 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 40 30 } 41 31 … … 43 33 44 34 // inherit Grails' default dependencies 45 inherits( "global") {35 inherits("global") { 46 36 // uncomment to disable ehcache 47 37 // excludes 'ehcache' … … 51 41 52 42 repositories { 43 grailsHome() 53 44 grailsPlugins() 54 grails Home()45 grailsCentral() 55 46 56 47 // uncomment the below to enable remote dependency resolution … … 58 49 //mavenLocal() 59 50 mavenCentral() 51 mavenRepo "https://nexus.codehaus.org/content/repositories/snapshots" 60 52 //mavenRepo "http://snapshots.repository.codehaus.org" 61 53 //mavenRepo "http://repository.codehaus.org" 62 54 //mavenRepo "http://download.java.net/maven/2/" 63 55 //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' 64 73 } 65 74 … … 69 78 runtime 'mysql:mysql-connector-java:5.1.9' 70 79 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' 73 89 } 74 90 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') { 76 96 excludes 'xml-apis' 77 97 } 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 90 98 } 91 99 -
Property
svn:mergeinfo
set to
Note: See TracChangeset
for help on using the changeset viewer.