Revision: 13689
http://gate.svn.sourceforge.net/gate/?rev=13689&view=rev
Author: valyt
Date: 2011-04-18 15:44:07 +0000 (Mon, 18 Apr 2011)
Log Message:
-----------
Restored the contents for the groovy files that aren't exactly groovy, so they
got misunderstood (and thus mangled).
Modified Paths:
--------------
mimir/trunk/grails-plugin-mimir/grails-app/conf/BuildConfig.groovy
mimir/trunk/grails-plugin-mimir/grails-app/conf/Config.groovy
mimir/trunk/grails-plugin-mimir/grails-app/conf/DataSource.groovy
Removed Paths:
-------------
mimir/trunk/grails-plugin-mimir/grails-app/conf/gate/mimir/
Modified: mimir/trunk/grails-plugin-mimir/grails-app/conf/BuildConfig.groovy
===================================================================
--- mimir/trunk/grails-plugin-mimir/grails-app/conf/BuildConfig.groovy
2011-04-18 15:38:03 UTC (rev 13688)
+++ mimir/trunk/grails-plugin-mimir/grails-app/conf/BuildConfig.groovy
2011-04-18 15:44:07 UTC (rev 13689)
@@ -15,3 +15,40 @@
*
* $Id$
*/
+
+ 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.dependency.resolution = {
+ // inherit Grails' default dependencies
+ 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()
+ grailsCentral()
+
+ // uncomment the below to enable remote dependency resolution
+ // from public Maven repositories
+ //mavenLocal()
+ //mavenCentral()
+ //mavenRepo "http://snapshots.repository.codehaus.org"
+ //mavenRepo "http://repository.codehaus.org"
+ //mavenRepo "http://download.java.net/maven/2/"
+ //mavenRepo "http://repository.jboss.com/maven2/"
+ }
+ dependencies {
+ // specify dependencies here under either 'build', 'compile',
'runtime', 'test' or 'provided' scopes eg.
+ plugins {
+ compile ':gwt:latest.integration'
+ runtime ":webflow:$grailsVersion"
+ }
+
+ // runtime 'mysql:mysql-connector-java:5.1.5'
+ }
+}
+
\ No newline at end of file
Modified: mimir/trunk/grails-plugin-mimir/grails-app/conf/Config.groovy
===================================================================
--- mimir/trunk/grails-plugin-mimir/grails-app/conf/Config.groovy
2011-04-18 15:38:03 UTC (rev 13688)
+++ mimir/trunk/grails-plugin-mimir/grails-app/conf/Config.groovy
2011-04-18 15:44:07 UTC (rev 13689)
@@ -15,6 +15,7 @@
*
* $Id$
*/
+
// external configuration location
grails.config.locations = ["file:mimir.groovy"]
if(System.properties["mimir.config"]) {
Modified: mimir/trunk/grails-plugin-mimir/grails-app/conf/DataSource.groovy
===================================================================
--- mimir/trunk/grails-plugin-mimir/grails-app/conf/DataSource.groovy
2011-04-18 15:38:03 UTC (rev 13688)
+++ mimir/trunk/grails-plugin-mimir/grails-app/conf/DataSource.groovy
2011-04-18 15:44:07 UTC (rev 13689)
@@ -15,3 +15,36 @@
*
* $Id$
*/
+
+dataSource {
+ pooled = true
+ driverClassName = "org.hsqldb.jdbcDriver"
+ username = "sa"
+ password = ""
+}
+hibernate {
+ cache.use_second_level_cache=true
+ cache.use_query_cache=true
+ cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider'
+}
+// environment specific settings
+environments {
+ development {
+ dataSource {
+ dbCreate = "update" // one of 'create',
'create-drop','update'
+ url = "jdbc:hsqldb:file:devDb;shutdown=true"
+ }
+ }
+ 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
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs