From 67fbee737d2b0806689ff25250dc95c36b423187 Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Tue, 12 Jan 2016 16:14:18 +0100 Subject: [PATCH] Keep only sqlite3 persistence as default. To include mysql and other, uncomment related code in demo-safe.ecf and demo_cms_execution. --- examples/demo/demo-safe.ecf | 23 ++++++++++------------- examples/demo/src/demo_cms_execution.e | 2 +- src/configuration/cms_default_setup.e | 2 +- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/examples/demo/demo-safe.ecf b/examples/demo/demo-safe.ecf index b00a415..587b741 100644 --- a/examples/demo/demo-safe.ecf +++ b/examples/demo/demo-safe.ecf @@ -1,16 +1,17 @@ - + Example/demo for Eiffel ROC CMS library - /EIFGENs$ - /CVS$ /.svn$ + /CVS$ + /EIFGENs$ - + @@ -29,19 +30,15 @@ - - - - - - + + + diff --git a/examples/demo/src/demo_cms_execution.e b/examples/demo/src/demo_cms_execution.e index c73948f..80db4d6 100644 --- a/examples/demo/src/demo_cms_execution.e +++ b/examples/demo/src/demo_cms_execution.e @@ -35,7 +35,7 @@ feature -- CMS storage do a_setup.storage_drivers.force (create {CMS_STORAGE_SQLITE3_BUILDER}.make, "sqlite3") -- a_setup.storage_drivers.force (create {CMS_STORAGE_STORE_MYSQL_BUILDER}.make, "mysql") - a_setup.storage_drivers.force (create {CMS_STORAGE_STORE_ODBC_BUILDER}.make, "odbc") +-- a_setup.storage_drivers.force (create {CMS_STORAGE_STORE_ODBC_BUILDER}.make, "odbc") end feature -- CMS modules diff --git a/src/configuration/cms_default_setup.e b/src/configuration/cms_default_setup.e index e15b9b8..d1e0f6c 100644 --- a/src/configuration/cms_default_setup.e +++ b/src/configuration/cms_default_setup.e @@ -179,6 +179,6 @@ feature -- Element change note - copyright: "2011-2015, Jocelyn Fiat, Javier Velilla, Eiffel Software and others" + copyright: "2011-2016, Jocelyn Fiat, Javier Velilla, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" end