Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
G
grails-plugin-jmesa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
infrastructure
grails-plugin-jmesa
Commits
253cac4e
Commit
253cac4e
authored
Mar 03, 2017
by
janosch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to grails 2.3.11
parent
97405788
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
394 additions
and
178 deletions
+394
-178
application.properties
application.properties
+2
-4
grails-app/conf/BuildConfig.groovy
grails-app/conf/BuildConfig.groovy
+30
-5
grails-app/conf/Config.groovy
grails-app/conf/Config.groovy
+22
-0
grails-app/conf/DataSource.groovy
grails-app/conf/DataSource.groovy
+50
-26
web-app/WEB-INF/applicationContext.xml
web-app/WEB-INF/applicationContext.xml
+20
-28
web-app/WEB-INF/sitemesh.xml
web-app/WEB-INF/sitemesh.xml
+1
-1
web-app/WEB-INF/tld/c.tld
web-app/WEB-INF/tld/c.tld
+17
-8
web-app/WEB-INF/tld/fmt.tld
web-app/WEB-INF/tld/fmt.tld
+8
-8
web-app/WEB-INF/tld/spring.tld
web-app/WEB-INF/tld/spring.tld
+244
-98
No files found.
application.properties
View file @
253cac4e
#Grails Metadata file
#
Tue Oct 26 13:30:52 CEST 2010
app.grails.version
=
1.3.4
#
Wed Mar 01 17:07:40 CET 2017
app.grails.version
=
2.3.11
app.name
=
jmesa
plugins.hibernate
=
1.3.4
plugins.tomcat
=
1.3.4
grails-app/conf/BuildConfig.groovy
View file @
253cac4e
...
...
@@ -2,16 +2,33 @@ grails.project.class.dir = "target/classes"
grails
.
project
.
test
.
class
.
dir
=
"target/test-classes"
grails
.
project
.
test
.
reports
.
dir
=
"target/test-reports"
//grails.project.war.file = "target/${appName}-${appVersion}.war"
grails
.
project
.
fork
=
[
// configure settings for compilation JVM, note that if you alter the Groovy version forked compilation is required
// compile: [maxMemory: 256, minMemory: 64, debug: false, maxPerm: 256, daemon:true],
// configure settings for the test-app JVM, uses the daemon by default
test:
[
maxMemory:
768
,
minMemory:
64
,
debug:
false
,
maxPerm:
256
,
daemon:
true
],
// configure settings for the run-app JVM
run:
[
maxMemory:
768
,
minMemory:
64
,
debug:
false
,
maxPerm:
256
,
forkReserve:
false
],
// configure settings for the run-war JVM
war:
[
maxMemory:
768
,
minMemory:
64
,
debug:
false
,
maxPerm:
256
,
forkReserve:
false
],
// configure settings for the Console UI JVM
console:
[
maxMemory:
768
,
minMemory:
64
,
debug:
false
,
maxPerm:
256
]
]
grails
.
project
.
dependency
.
resolver
=
"maven"
// or ivy
grails
.
project
.
dependency
.
resolution
=
{
// inherit Grails' default dependencies
inherits
(
"global"
)
{
inherits
(
"global"
)
{
// uncomment to disable ehcache
// excludes 'ehcache'
}
log
"warn"
// log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
repositories
{
grailsPlugins
()
grailsHome
()
repositories
{
grailsCentral
()
mavenLocal
()
mavenCentral
()
// uncomment the below to enable remote dependency resolution
// from public Maven repositories
...
...
@@ -28,4 +45,12 @@ grails.project.dependency.resolution = {
// runtime 'mysql:mysql-connector-java:5.1.5'
}
}
plugins
{
build
(
":release:3.0.1"
,
":rest-client-builder:1.0.3"
)
{
export
=
false
}
}
}
\ No newline at end of file
grails-app/conf/Config.groovy
0 → 100644
View file @
253cac4e
// configuration for plugin testing - will not be included in the plugin zip
log4j
=
{
// Example of changing the log pattern for the default console
// appender:
//
//appenders {
// console name:'stdout', layout:pattern(conversionPattern: '%c{2} %m%n')
//}
error
'org.codehaus.groovy.grails.web.servlet'
,
// controllers
'org.codehaus.groovy.grails.web.pages'
,
// GSP
'org.codehaus.groovy.grails.web.sitemesh'
,
// layouts
'org.codehaus.groovy.grails.web.mapping.filter'
,
// URL mapping
'org.codehaus.groovy.grails.web.mapping'
,
// URL mapping
'org.codehaus.groovy.grails.commons'
,
// core / classloading
'org.codehaus.groovy.grails.plugins'
,
// plugins
'org.codehaus.groovy.grails.orm.hibernate'
,
// hibernate integration
'org.springframework'
,
'org.hibernate'
,
'net.sf.ehcache.hibernate'
}
grails-app/conf/DataSource.groovy
View file @
253cac4e
dataSource
{
pooled
=
true
driverClassName
=
"org.hsqldb.jdbcDriver"
username
=
"sa"
password
=
""
pooled
=
true
jmxExport
=
true
driverClassName
=
"org.h2.Driver"
username
=
"sa"
password
=
""
}
hibernate
{
cache
.
use_second_level_cache
=
true
cache
.
use_query_cache
=
true
cache
.
provider_class
=
'net.sf.ehcache.hibernate.EhCacheProvider'
cache
.
use_second_level_cache
=
true
cache
.
use_query_cache
=
false
cache
.
region
.
factory_class
=
'net.sf.ehcache.hibernate.EhCacheRegionFactory'
// Hibernate 3
// cache.region.factory_class = 'org.hibernate.cache.ehcache.EhCacheRegionFactory' // Hibernate 4
singleSession
=
true
// configure OSIV singleSession mode
}
// environment specific settings
environments
{
development
{
dataSource
{
dbCreate
=
"create-drop"
// one of 'create', 'create-drop','update'
url
=
"jdbc:hsqldb:mem:devDB"
}
}
test
{
dataSource
{
dbCreate
=
"update"
url
=
"jdbc:hsqldb:mem:testDb"
}
}
production
{
dataSource
{
dbCreate
=
"update"
url
=
"jdbc:hsqldb:file:prodDb;shutdown=true"
}
}
}
\ No newline at end of file
development
{
dataSource
{
dbCreate
=
"create-drop"
// one of 'create', 'create-drop', 'update', 'validate', ''
url
=
"jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE"
}
}
test
{
dataSource
{
dbCreate
=
"update"
url
=
"jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE"
}
}
production
{
dataSource
{
dbCreate
=
"update"
url
=
"jdbc:h2:prodDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE"
properties
{
// See http://grails.org/doc/latest/guide/conf.html#dataSource for documentation
jmxEnabled
=
true
initialSize
=
5
maxActive
=
50
minIdle
=
5
maxIdle
=
25
maxWait
=
10000
maxAge
=
10
*
60000
timeBetweenEvictionRunsMillis
=
5000
minEvictableIdleTimeMillis
=
60000
validationQuery
=
"SELECT 1"
validationQueryTimeout
=
3
validationInterval
=
15000
testOnBorrow
=
true
testWhileIdle
=
true
testOnReturn
=
false
jdbcInterceptors
=
"ConnectionState"
defaultTransactionIsolation
=
java
.
sql
.
Connection
.
TRANSACTION_READ_COMMITTED
}
}
}
}
web-app/WEB-INF/applicationContext.xml
View file @
253cac4e
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns=
"http://www.springframework.org/schema/beans"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
>
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"
>
<bean
id=
"grailsApplication"
class=
"org.codehaus.groovy.grails.commons.GrailsApplicationFactoryBean"
>
<description>
Grails application factory bean
</description>
<property
name=
"grailsDescriptor"
value=
"/WEB-INF/grails.xml"
/>
<property
name=
"grailsResourceLoader"
ref=
"grailsResourceLoader"
/>
<property
name=
"grailsDescriptor"
value=
"/WEB-INF/grails.xml"
/>
<property
name=
"grailsResourceLoader"
ref=
"grailsResourceLoader"
/>
</bean>
<bean
id=
"pluginManager"
class=
"org.codehaus.groovy.grails.plugins.GrailsPluginManagerFactoryBean"
>
<description>
A bean that manages Grails plugins
</description>
<property
name=
"grailsDescriptor"
value=
"/WEB-INF/grails.xml"
/>
<property
name=
"application"
ref=
"grailsApplication"
/>
<property
name=
"grailsDescriptor"
value=
"/WEB-INF/grails.xml"
/>
<property
name=
"application"
ref=
"grailsApplication"
/>
</bean>
<bean
id=
"grailsConfigurator"
class=
"org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator"
>
<constructor-arg>
<ref
bean=
"grailsApplication"
/>
</constructor-arg>
<property
name=
"pluginManager"
ref=
"pluginManager"
/>
</bean>
<bean
id=
"grailsConfigurator"
class=
"org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator"
>
<constructor-arg>
<ref
bean=
"grailsApplication"
/>
</constructor-arg>
<property
name=
"pluginManager"
ref=
"pluginManager"
/>
</bean>
<bean
id=
"grailsResourceLoader"
class=
"org.codehaus.groovy.grails.commons.GrailsResourceLoaderFactoryBean"
/>
<bean
id=
"grailsResourceLoader"
class=
"org.codehaus.groovy.grails.commons.GrailsResourceLoaderFactoryBean"
>
<property
name=
"grailsResourceHolder"
ref=
"grailsResourceHolder"
/>
</bean>
<bean
id=
"characterEncodingFilter"
class=
"org.springframework.web.filter.CharacterEncodingFilter"
>
<property
name=
"encoding"
>
<value>
utf-8
</value>
</property>
</bean>
<bean
id=
"grailsResourceHolder"
scope=
"prototype"
class=
"org.codehaus.groovy.grails.commons.spring.GrailsResourceHolder"
>
<property
name=
"resources"
>
<value>
classpath*:**/grails-app/**/*.groovy
</value>
</property>
</bean>
<bean
id=
"characterEncodingFilter"
class=
"org.springframework.web.filter.CharacterEncodingFilter"
>
<property
name=
"encoding"
>
<value>
utf-8
</value>
</property>
</bean>
<bean
id=
"conversionService"
class=
"org.springframework.context.support.ConversionServiceFactoryBean"
/>
</beans>
\ No newline at end of file
web-app/WEB-INF/sitemesh.xml
View file @
253cac4e
...
...
@@ -5,7 +5,7 @@
<parser
content-type=
"text/html;charset=ISO-8859-1"
class=
"org.codehaus.groovy.grails.web.sitemesh.GrailsHTMLPageParser"
/>
<parser
content-type=
"text/html;charset=UTF-8"
class=
"org.codehaus.groovy.grails.web.sitemesh.GrailsHTMLPageParser"
/>
class=
"org.codehaus.groovy.grails.web.sitemesh.GrailsHTMLPageParser"
/>
</page-parsers>
<decorator-mappers>
...
...
web-app/WEB-INF/tld/c.tld
View file @
253cac4e
<?xml version="1.0" encoding="UTF-8" ?>
<taglib
xmlns=
"http://java.sun.com/xml/ns/j
2
ee"
<taglib
xmlns=
"http://java.sun.com/xml/ns/j
ava
ee"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://java.sun.com/xml/ns/j
2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0
.xsd"
version=
"2.
0
"
>
<description>
JSTL 1.
1
core library
</description>
xsi:schemaLocation=
"http://java.sun.com/xml/ns/j
avaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1
.xsd"
version=
"2.
1
"
>
<description>
JSTL 1.
2
core library
</description>
<display-name>
JSTL core
</display-name>
<tlib-version>
1.
1
</tlib-version>
<tlib-version>
1.
2
</tlib-version>
<short-name>
c
</short-name>
<uri>
http://java.sun.com/jsp/jstl/core
</uri>
...
...
@@ -74,7 +74,7 @@ not the body content should be processed.
<description>
Name of the exported scoped variable for the
resulting value of the test condition. The type
of the scoped variable is Boolean.
of the scoped variable is Boolean.
</description>
<name>
var
</name>
<required>
false
</required>
...
...
@@ -174,6 +174,9 @@ Collection of items to iterate over.
<required>
false
</required>
<rtexprvalue>
true
</rtexprvalue>
<type>
java.lang.Object
</type>
<deferred-value>
<type>
java.lang.Object
</type>
</deferred-value>
</attribute>
<attribute>
<description>
...
...
@@ -253,6 +256,9 @@ String of tokens to iterate over.
<required>
true
</required>
<rtexprvalue>
true
</rtexprvalue>
<type>
java.lang.String
</type>
<deferred-value>
<type>
java.lang.String
</type>
</deferred-value>
</attribute>
<attribute>
<description>
...
...
@@ -322,7 +328,7 @@ visibility.
<tag>
<description>
Like
<
%= ...
>
, but for expressions.
</description>
</description>
<name>
out
</name>
<tag-class>
org.apache.taglibs.standard.tag.rt.core.OutTag
</tag-class>
<body-content>
JSP
</body-content>
...
...
@@ -467,6 +473,9 @@ Expression to be evaluated.
<name>
value
</name>
<required>
false
</required>
<rtexprvalue>
true
</rtexprvalue>
<deferred-value>
<type>
java.lang.Object
</type>
</deferred-value>
</attribute>
<attribute>
<description>
...
...
web-app/WEB-INF/tld/fmt.tld
View file @
253cac4e
<?xml version="1.0" encoding="UTF-8" ?>
<taglib
xmlns=
"http://java.sun.com/xml/ns/j
2
ee"
<taglib
xmlns=
"http://java.sun.com/xml/ns/j
ava
ee"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://java.sun.com/xml/ns/j
2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0
.xsd"
version=
"2.
0
"
>
<description>
JSTL 1.
1
i18n-capable formatting library
</description>
xsi:schemaLocation=
"http://java.sun.com/xml/ns/j
avaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1
.xsd"
version=
"2.
1
"
>
<description>
JSTL 1.
2
i18n-capable formatting library
</description>
<display-name>
JSTL fmt
</display-name>
<tlib-version>
1.
1
</tlib-version>
<tlib-version>
1.
2
</tlib-version>
<short-name>
fmt
</short-name>
<uri>
http://java.sun.com/jsp/jstl/fmt
</uri>
...
...
@@ -55,7 +55,7 @@ and may contain a two-letter (upper-case)
country code (as defined by ISO-3166).
Language and country codes must be
separated by hyphen (-) or underscore
(_).
(_).
</description>
<name>
value
</name>
<required>
true
</required>
...
...
@@ -496,7 +496,7 @@ Date and/or time to be formatted.
<description>
Specifies whether the time, the date, or both
the time and date components of the given
date are to be formatted.
date are to be formatted.
</description>
<name>
type
</name>
<required>
false
</required>
...
...
web-app/WEB-INF/tld/spring.tld
View file @
253cac4e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment