106 |
Welcome to Grails
107 |
Congratulations, you have successfully started your first Grails application! At the moment
108 | this is the default page, feel free to modify it to either redirect to a controller or display whatever
109 | content you may choose. Below is a list of controllers that are currently deployed in this application,
110 | click on each to execute its default action:
111 |
112 |
113 |
Available Controllers:
114 |
115 |
116 | - ${c.fullName}
117 |
118 |
119 |
120 |
121 |
122 |
123 |
--------------------------------------------------------------------------------
/test/features/apps/grails/grails-app/conf/Config.groovy:
--------------------------------------------------------------------------------
1 | // locations to search for config files that get merged into the main config;
2 | // config files can be ConfigSlurper scripts, Java properties files, or classes
3 | // in the classpath in ConfigSlurper format
4 |
5 | // grails.config.locations = [ "classpath:${appName}-config.properties",
6 | // "classpath:${appName}-config.groovy",
7 | // "file:${userHome}/.grails/${appName}-config.properties",
8 | // "file:${userHome}/.grails/${appName}-config.groovy"]
9 |
10 | // if (System.properties["${appName}.config.location"]) {
11 | // grails.config.locations << "file:" + System.properties["${appName}.config.location"]
12 | // }
13 |
14 | grails.project.groupId = appName // change this to alter the default package name and Maven publishing destination
15 | grails.mime.file.extensions = true // enables the parsing of file extensions from URLs into the request format
16 | grails.mime.use.accept.header = false
17 | grails.mime.types = [
18 | all: '*/*',
19 | atom: 'application/atom+xml',
20 | css: 'text/css',
21 | csv: 'text/csv',
22 | form: 'application/x-www-form-urlencoded',
23 | html: ['text/html','application/xhtml+xml'],
24 | js: 'text/javascript',
25 | json: ['application/json', 'text/json'],
26 | multipartForm: 'multipart/form-data',
27 | rss: 'application/rss+xml',
28 | text: 'text/plain',
29 | xml: ['text/xml', 'application/xml']
30 | ]
31 |
32 | // URL Mapping Cache Max Size, defaults to 5000
33 | //grails.urlmapping.cache.maxsize = 1000
34 |
35 | // What URL patterns should be processed by the resources plugin
36 | grails.resources.adhoc.patterns = ['/images/*', '/css/*', '/js/*', '/plugins/*']
37 |
38 | // The default codec used to encode data with ${}
39 | grails.views.default.codec = "none" // none, html, base64
40 | grails.views.gsp.encoding = "UTF-8"
41 | grails.converters.encoding = "UTF-8"
42 | // enable Sitemesh preprocessing of GSP pages
43 | grails.views.gsp.sitemesh.preprocess = true
44 | // scaffolding templates configuration
45 | grails.scaffolding.templates.domainSuffix = 'Instance'
46 |
47 | // Set to false to use the new Grails 1.2 JSONBuilder in the render method
48 | grails.json.legacy.builder = false
49 | // enabled native2ascii conversion of i18n properties files
50 | grails.enable.native2ascii = true
51 | // packages to include in Spring bean scanning
52 | grails.spring.bean.packages = []
53 | // whether to disable processing of multi part requests
54 | grails.web.disable.multipart=false
55 |
56 | // request parameters to mask when logging exceptions
57 | grails.exceptionresolver.params.exclude = ['password']
58 |
59 | // configure auto-caching of queries by default (if false you can cache individual queries with 'cache: true')
60 | grails.hibernate.cache.queries = false
61 |
62 | environments {
63 | development {
64 | grails.logging.jul.usebridge = true
65 | }
66 | production {
67 | grails.logging.jul.usebridge = false
68 | // TODO: grails.serverURL = "http://www.changeme.com"
69 | }
70 | }
71 |
72 | // log4j configuration
73 | log4j = {
74 | // Example of changing the log pattern for the default console appender:
75 | //
76 | //appenders {
77 | // console name:'stdout', layout:pattern(conversionPattern: '%c{2} %m%n')
78 | //}
79 |
80 | error 'org.codehaus.groovy.grails.web.servlet', // controllers
81 | 'org.codehaus.groovy.grails.web.pages', // GSP
82 | 'org.codehaus.groovy.grails.web.sitemesh', // layouts
83 | 'org.codehaus.groovy.grails.web.mapping.filter', // URL mapping
84 | 'org.codehaus.groovy.grails.web.mapping', // URL mapping
85 | 'org.codehaus.groovy.grails.commons', // core / classloading
86 | 'org.codehaus.groovy.grails.plugins', // plugins
87 | 'org.codehaus.groovy.grails.orm.hibernate', // hibernate integration
88 | 'org.springframework',
89 | 'org.hibernate',
90 | 'net.sf.ehcache.hibernate'
91 | }
92 |
--------------------------------------------------------------------------------
/test/features/apps/grails/web-app/WEB-INF/tld/spring.tld:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |