You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Alexander Wagner <an...@apache.org> on 2014/12/02 16:02:39 UTC

CMS diff: Embedded Configuration

Clone URL (Committers only):
https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/embedded-configuration.mdtext

Alexander Wagner

Index: trunk/content/embedded-configuration.mdtext
===================================================================
--- trunk/content/embedded-configuration.mdtext	(revision 1642790)
+++ trunk/content/embedded-configuration.mdtext	(working copy)
@@ -1,4 +1,5 @@
 Title: Embedded Configuration
+
 <a name="EmbeddedConfiguration-Defaults,OverridesandOrder"></a>
 #  Defaults, Overrides and Order
 
@@ -74,7 +75,7 @@
     p.put("log4j.category.OpenEJB.startup.config ", " debug");
     
     // create some resources
-    p.put("movieDatabase = new://Resource?type", "DataSource");
+    p.put("movieDatabase", "new://Resource?type=DataSource");
     p.put("movieDatabase.JdbcDriver ", " org.hsqldb.jdbcDriver");
     p.put("movieDatabase.JdbcUrl ", " jdbc:hsqldb:mem:moviedb");
     


Re: CMS diff: Embedded Configuration

Posted by Jonathan Gallimore <jo...@gmail.com>.
I've applied this. It usually takes a little while for the site to refresh.
Many thanks for the patch!

Jon

On Tue, Dec 2, 2014 at 3:02 PM, Alexander Wagner <an...@apache.org>
wrote:

> Clone URL (Committers only):
>
> https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/embedded-configuration.mdtext
>
> Alexander Wagner
>
> Index: trunk/content/embedded-configuration.mdtext
> ===================================================================
> --- trunk/content/embedded-configuration.mdtext (revision 1642790)
> +++ trunk/content/embedded-configuration.mdtext (working copy)
> @@ -1,4 +1,5 @@
>  Title: Embedded Configuration
> +
>  <a name="EmbeddedConfiguration-Defaults,OverridesandOrder"></a>
>  #  Defaults, Overrides and Order
>
> @@ -74,7 +75,7 @@
>      p.put("log4j.category.OpenEJB.startup.config ", " debug");
>
>      // create some resources
> -    p.put("movieDatabase = new://Resource?type", "DataSource");
> +    p.put("movieDatabase", "new://Resource?type=DataSource");
>      p.put("movieDatabase.JdbcDriver ", " org.hsqldb.jdbcDriver");
>      p.put("movieDatabase.JdbcUrl ", " jdbc:hsqldb:mem:moviedb");
>
>
>