-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Burt Beckwith
committed
Sep 29, 2012
1 parent
9716b16
commit ed858be
Showing
8 changed files
with
54 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src/java"/> | ||
<classpathentry kind="src" path="src/groovy"/> | ||
<classpathentry kind="src" path="grails-app/conf"/> | ||
<classpathentry kind="src" path="grails-app/controllers"/> | ||
<classpathentry kind="src" path="grails-app/domain"/> | ||
<classpathentry kind="src" path="grails-app/services"/> | ||
<classpathentry kind="src" path="grails-app/taglib"/> | ||
<classpathentry kind="src" path="test/integration"/> | ||
<classpathentry kind="src" path="test/unit"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="con" path="com.springsource.sts.grails.core.CLASSPATH_CONTAINER"/> | ||
<classpathentry kind="output" path="web-app/WEB-INF/classes"/> | ||
</classpath> | ||
<classpathentry kind="src" path="src/java"/> | ||
<classpathentry kind="src" path="grails-app/conf"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="src" path=".link_to_grails_plugins/release-2.0.4/src/groovy"> | ||
<attributes> | ||
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" path=".link_to_grails_plugins/release-2.0.4/src/java"> | ||
<attributes> | ||
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" path=".link_to_grails_plugins/rest-client-builder-1.0.2/src/groovy"> | ||
<attributes> | ||
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.grails.ide.eclipse.core.CLASSPATH_CONTAINER"/> | ||
<classpathentry kind="output" path="target/eclipseclasses"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,6 @@ grails | |
plugin.xml | ||
*.zip | ||
target | ||
|
||
web-app | ||
*.log | ||
.settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
#Grails Metadata file | ||
#Fri Sep 28 08:30:25 SAST 2012 | ||
app.grails.version=2.1.1 | ||
app.name=cors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,6 @@ | ||
// 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' | ||
|
||
warn 'org.mortbay.log' | ||
error 'org.codehaus.groovy.grails', | ||
'org.springframework', | ||
'org.hibernate', | ||
'net.sf.ehcache.hibernate' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,14 @@ | ||
dataSource { | ||
pooled = true | ||
driverClassName = "org.h2.Driver" | ||
username = "sa" | ||
password = "" | ||
pooled = true | ||
driverClassName = 'org.h2.Driver' | ||
username = 'sa' | ||
password = '' | ||
dbCreate = 'update' | ||
url = 'jdbc:h2:mem:testDb' | ||
} | ||
|
||
hibernate { | ||
cache.use_second_level_cache = true | ||
cache.use_query_cache = false | ||
cache.region.factory_class = 'net.sf.ehcache.hibernate.EhCacheRegionFactory' | ||
} | ||
// environment specific settings | ||
environments { | ||
development { | ||
dataSource { | ||
dbCreate = "create-drop" // one of 'create', 'create-drop', 'update', 'validate', '' | ||
url = "jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000" | ||
} | ||
} | ||
test { | ||
dataSource { | ||
dbCreate = "update" | ||
url = "jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000" | ||
} | ||
} | ||
production { | ||
dataSource { | ||
dbCreate = "update" | ||
url = "jdbc:h2:prodDb;MVCC=TRUE;LOCK_TIMEOUT=10000" | ||
pooled = true | ||
properties { | ||
maxActive = -1 | ||
minEvictableIdleTimeMillis=1800000 | ||
timeBetweenEvictionRunsMillis=1800000 | ||
numTestsPerEvictionRun=3 | ||
testOnBorrow=true | ||
testWhileIdle=true | ||
testOnReturn=true | ||
validationQuery="SELECT 1" | ||
} | ||
} | ||
} | ||
cache.use_second_level_cache = false | ||
cache.use_query_cache = false | ||
cache.provider_class = 'org.hibernate.cache.EhCacheProvider' | ||
} |