From 39aa93fb619c942cf33c1bcd22801829bbe2d0da Mon Sep 17 00:00:00 2001 From: skuro Date: Thu, 4 Aug 2011 16:52:08 +0000 Subject: [PATCH] #37 alfresco-global.properties instead of the old application.propertie git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@327 04253f4f-3451-0410-a141-5562f1e59037 --- ...{application.properties => alfresco-global.properties} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/main/resources/archetype-resources/src/main/properties/local/{application.properties => alfresco-global.properties} (97%) diff --git a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/main/resources/archetype-resources/src/main/properties/local/application.properties b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/main/resources/archetype-resources/src/main/properties/local/alfresco-global.properties similarity index 97% rename from maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/main/resources/archetype-resources/src/main/properties/local/application.properties rename to maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/main/resources/archetype-resources/src/main/properties/local/alfresco-global.properties index 303f4776..e19988db 100644 --- a/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/main/resources/archetype-resources/src/main/properties/local/application.properties +++ b/maven-alfresco-archetypes/maven-alfresco-extension-archetype/src/main/resources/archetype-resources/src/main/properties/local/alfresco-global.properties @@ -41,15 +41,15 @@ integrity.failOnError=true # database connection properties # MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server) -db.driver=org.gjt.mm.mysql.Driver -db.url=jdbc:mysql://localhost/${alfresco.db.name} +db.driver=org.h2.Driver +db.url=jdbc:h2:${alfresco.data.location}/h2_data/${alfresco.db.name} db.username=${alfresco.db.username} db.password=${alfresco.db.password} db.pool.initial=10 db.pool.max=100 -# MySQL dialect -hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect +# H2 dialect +hibernate.dialect=org.hibernate.dialect.H2Dialect # Property to control whether schema updates are performed automatically.