You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by vi...@apache.org on 2011/12/15 18:15:19 UTC
svn commit: r800290 - in /websites/production/openejb: ./ content/dev/
content/examples-trunk/
content/examples-trunk/bean-validation-design-by-contract/
content/examples-trunk/bean-validation-design-by-contract/src/main/java/org/superbiz/designbycontr...
Author: vishwanathk
Date: Thu Dec 15 17:15:17 2011
New Revision: 800290
Log:
TomEE-49 Correct SVN url and alignment
Added:
websites/production/openejb/content/dev/cdi-tck-webappsdeployer.html
- copied unchanged from r800289, websites/staging/openejb/trunk/content/dev/cdi-tck-webappsdeployer.html
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/README.html
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/README.html
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/pom.xml
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/pom.xml
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/org/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/org/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/org/superbiz/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/org/superbiz/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/org/superbiz/dynamic/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/org/superbiz/dynamic/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/org/superbiz/dynamic/mbean/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/org/superbiz/dynamic/mbean/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/org/superbiz/dynamic/mbean/DynamicMBeanHandler.java
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/org/superbiz/dynamic/mbean/DynamicMBeanHandler.java
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/org/superbiz/dynamic/mbean/ObjectName.java
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/main/java/org/superbiz/dynamic/mbean/ObjectName.java
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/DynamicMBeanClient.java
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/DynamicMBeanClient.java
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/DynamicMBeanClientTest.java
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/DynamicMBeanClientTest.java
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/DynamicRemoteMBeanClient.java
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/DynamicRemoteMBeanClient.java
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/simple/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/simple/
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/simple/Simple.java
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/simple/Simple.java
websites/production/openejb/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/simple/SimpleMBean.java
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/src/test/java/org/superbiz/dynamic/mbean/simple/SimpleMBean.java
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/README.html
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/README.html
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/pom.xml
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/pom.xml
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/main/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/main/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/main/java/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/main/java/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/main/java/org/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/main/java/org/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/main/java/org/superbiz/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/main/java/org/superbiz/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/main/java/org/superbiz/reloadable/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/main/java/org/superbiz/reloadable/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/main/java/org/superbiz/reloadable/pu/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/main/java/org/superbiz/reloadable/pu/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/main/java/org/superbiz/reloadable/pu/Person.java
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/main/java/org/superbiz/reloadable/pu/Person.java
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/main/java/org/superbiz/reloadable/pu/PersonManager.java
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/main/java/org/superbiz/reloadable/pu/PersonManager.java
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/main/resources/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/main/resources/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/main/resources/META-INF/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/main/resources/META-INF/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/main/resources/META-INF/persistence.xml
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/main/resources/META-INF/persistence.xml
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/test/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/test/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/test/java/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/test/java/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/superbiz/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/superbiz/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/superbiz/reloadable/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/superbiz/reloadable/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/superbiz/reloadable/pu/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/superbiz/reloadable/pu/
websites/production/openejb/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/superbiz/reloadable/pu/CacheActivationTest.java
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/reload-persistence-unit-properties/src/test/java/org/superbiz/reloadable/pu/CacheActivationTest.java
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/build.xml
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/build.xml
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/pom.xml
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/pom.xml
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/main/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/main/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/main/java/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/main/java/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/main/java/org/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/main/java/org/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/main/java/org/superbiz/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/main/java/org/superbiz/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/main/java/org/superbiz/mdb/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/main/java/org/superbiz/mdb/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/main/java/org/superbiz/mdb/ChatBean.java
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/main/java/org/superbiz/mdb/ChatBean.java
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/main/java/org/superbiz/mdb/ChatRespondCreator.java
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/main/java/org/superbiz/mdb/ChatRespondCreator.java
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/main/resources/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/main/resources/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/main/resources/META-INF/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/main/resources/META-INF/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/main/resources/META-INF/beans.xml
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/main/resources/META-INF/beans.xml
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/test/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/test/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/test/java/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/test/java/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/test/java/org/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/test/java/org/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/test/java/org/superbiz/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/test/java/org/superbiz/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/test/java/org/superbiz/mdb/
- copied from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/test/java/org/superbiz/mdb/
websites/production/openejb/content/examples-trunk/simple-mdb-and-cdi/src/test/java/org/superbiz/mdb/ChatBeanTest.java
- copied unchanged from r800289, websites/staging/openejb/trunk/content/examples-trunk/simple-mdb-and-cdi/src/test/java/org/superbiz/mdb/ChatBeanTest.java
websites/production/openejb/content/images/imports.png
- copied unchanged from r800289, websites/staging/openejb/trunk/content/images/imports.png
Modified:
websites/production/openejb/ (props changed)
websites/production/openejb/content/dev/source-code.html
websites/production/openejb/content/examples-trunk/bean-validation-design-by-contract/README.html
websites/production/openejb/content/examples-trunk/bean-validation-design-by-contract/src/main/java/org/superbiz/designbycontract/OlympicGamesManager.java
websites/production/openejb/content/examples-trunk/index.html
websites/production/openejb/content/examples-trunk/injection-of-entitymanager/src/test/java/org/superbiz/injection/jpa/MoviesTest.java
websites/production/openejb/content/examples-trunk/pom.xml
websites/production/openejb/content/examples-trunk/quartz-app/pom.xml
websites/production/openejb/content/examples-trunk/quartz-app/quartz-beans/pom.xml
websites/production/openejb/content/examples-trunk/quartz-app/quartz-beans/src/test/java/org/superbiz/quartz/QuartzMdbTest.java
websites/production/openejb/content/examples-trunk/quartz-app/quartz-ra/pom.xml
Propchange: websites/production/openejb/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Dec 15 17:15:17 2011
@@ -1 +1 @@
-/websites/staging/openejb/trunk:790824-798108
+/websites/staging/openejb/trunk:790824-800289
Modified: websites/production/openejb/content/dev/source-code.html
==============================================================================
--- websites/production/openejb/content/dev/source-code.html (original)
+++ websites/production/openejb/content/dev/source-code.html Thu Dec 15 17:15:17 2011
@@ -72,7 +72,8 @@
<h1>Source Code</h1>
</div>
-<p><a name="SourceCode-Browsing"></a></p>
+<p>Title: Source Code
+<a name="SourceCode-Browsing"></a></p>
<h1>Browsing</h1>
@@ -84,29 +85,29 @@
<h1>Downloading</h1>
<p>You can download (aka checkout) the sources of Apache OpenEJB with
-Subversion client using the following URL <a href="http://svn.apache.org/repos/asf/openejb/trunk/openejb3">http://svn.apache.org/repos/asf/openejb/trunk/openejb3</a>
+Subversion client using the following URL <a href="http://svn.apache.org/repos/asf/openejb/trunk/openejb">http://svn.apache.org/repos/asf/openejb/trunk/openejb</a>
.</p>
<p>Performing the checkout from the command line using the subversion client
is as easy as executing the following command:</p>
<blockquote>
- <p>$ svn co <a href="http://svn.apache.org/repos/asf/openejb/trunk/openejb3">http://svn.apache.org/repos/asf/openejb/trunk/openejb3</a></p>
+ <p>$ svn co <a href="http://svn.apache.org/repos/asf/openejb/trunk/openejb">http://svn.apache.org/repos/asf/openejb/trunk/openejb</a></p>
</blockquote>
<p>If you are experiencing problems with errors like "400 Bad Request
(http://svn.apache.org)", try using:</p>
<blockquote>
- <p>$ svn co <a href="https://svn.apache.org/repos/asf/openejb/trunk/openejb3">https://svn.apache.org/repos/asf/openejb/trunk/openejb3</a></p>
+ <p>$ svn co <a href="https://svn.apache.org/repos/asf/openejb/trunk/openejb">https://svn.apache.org/repos/asf/openejb/trunk/openejb</a></p>
</blockquote>
<p>or alternatively with Apache Maven 2 or later:</p>
<blockquote>
<p>mvn scm:checkout
- -DconnectionUrl=scm:svn:http://svn.apache.org/repos/asf/openejb/trunk/openejb3
- -DcheckoutDirectory=openejb3</p>
+ -DconnectionUrl=scm:svn:http://svn.apache.org/repos/asf/openejb/trunk/openejb
+ -DcheckoutDirectory=openejb</p>
</blockquote>
<p>It's not yet known how to see the progress of the checkout as mvn
@@ -135,17 +136,18 @@ All builders are available <a href="http
<p>To build the code, you'll need to grab a copy of <a href="http://maven.apache.org">Apache Maven</a>
version 2.0.4 or later. The standard build command is as follows:</p>
-<blockquote>
- <p>$ cd openejb3
- $ mvn -Dassemble clean install
- or alternatively when on Unix-like OSes
- $ cd openejb3
- $ mvn -o -Dmaven.{test,itest}.skip -Dassemble clean install
- Running with the <em>assemble</em> option turned on enables a profile that builds
- OpenEJB's assemblies (distros). They live in <em>assembly</em> directory. You can
- remove it from the command line if you're not interested in them - just
- remove -Dassemble from the command line and you're ready to go.</p>
-</blockquote>
+<pre><code>
+$ cd openejb3
+$ mvn -Dassemble clean install
+or alternatively when on Unix-like OSes
+$ cd openejb3
+$ mvn \-o \-Dmaven.\{test,itest\}.skip \-Dassemble clean install
+</code></pre>
+
+<p>Running with the <em>assemble</em> option turned on enables a profile that builds
+OpenEJB's assemblies (distros). They live in <em>assembly</em> directory. You can
+remove it from the command line if you're not interested in them - just
+remove -Dassemble from the command line and you're ready to go.</p>
<p><em>NOTE:</em> When importing a project into an IDE (Eclipse, NetBeans, IDEA) you
should run with the assemble profile on. It's because the assembly modules
@@ -158,23 +160,15 @@ on MacOS and Unices or <em>set MAVEN</em
<p>The output of that command should end with "BUILD SUCCESSFUL"</p>
-<pre><code>[INFO]
-</code></pre>
-
-<hr />
-
-<pre><code>[INFO]
-</code></pre>
-
-<p>Reactor Summary:
- [INFO]</p>
-
-<hr />
-
-<pre><code>[INFO]
-</code></pre>
-
-<p>OpenEJB ............................................... SUCCESS [3.722s]
+<pre><code>
+ [INFO]
+ ------------------------------------------------------------------------
+ [INFO]
+ Reactor Summary:
+ [INFO]
+ ------------------------------------------------------------------------
+ [INFO]
+ OpenEJB ............................................... SUCCESS [3.722s]
[INFO]
OpenEJB :: Dependencies ............................... SUCCESS [0.086s]
[INFO]
@@ -376,34 +370,23 @@ SUCCESS [0.271s]
OpenEJB :: Assembly :: Webapp ......................... SUCCESS [7.104s]
[INFO]
OpenEJB :: Assembly :: Java EE API Libraries .......... SUCCESS [1.787s]
- [INFO]</p>
-
-<hr />
-
-<pre><code>[INFO]
-</code></pre>
-
-<hr />
-
-<pre><code>[INFO]
-</code></pre>
-
-<p>BUILD SUCCESSFUL
- [INFO]</p>
-
-<hr />
-
-<pre><code>[INFO]
-</code></pre>
-
-<p>Total time: 5 minutes 40 seconds
+ [INFO]
+ ------------------------------------------------------------------------
+ [INFO]
+ ------------------------------------------------------------------------
+ [INFO]
+ BUILD SUCCESSFUL
+ [INFO]
+ ------------------------------------------------------------------------
+ [INFO]
+ Total time: 5 minutes 40 seconds
[INFO]
Finished at: Sat Jun 19 20:49:51 CEST 2010
[INFO]
Final Memory: 153M/338M
- [INFO]</p>
-
-<hr />
+ [INFO]
+ ------------------------------------------------------------------------
+</code></pre>
<p><a name="SourceCode-Running"></a></p>
@@ -414,14 +397,13 @@ turned on, you can find assemblies in th
<em>assembly</em> directory of each custom assembly. Go to the assembly directory
and have a look at its content.</p>
-<pre><code>jacek@devmac /Users/jacek/oss/openejb3/assembly
-$ ls -l
-total 8
-drwxr-xr-x 6 jacek staff 204 Jun 19 20:49 javaee-api-libs
-drwxr-xr-x 6 jacek staff 204 Jun 19 20:46
-</code></pre>
-
-<p>openejb-itests-standalone-client
+<pre><code>
+ jacek@devmac /Users/jacek/oss/openejb3/assembly
+ $ ls -l
+ total 8
+ drwxr-xr-x 6 jacek staff 204 Jun 19 20:49 javaee-api-libs
+ drwxr-xr-x 6 jacek staff 204 Jun 19 20:46
+openejb-itests-standalone-client
drwxr-xr-x 8 jacek staff 272 Jun 19 20:49 openejb-jetty
drwxr-xr-x 9 jacek staff 306 Jun 19 20:47 openejb-standalone
drwxr-xr-x 12 jacek staff 408 Jun 19 20:48 openejb-tomcat
@@ -429,7 +411,8 @@ drwxr-xr-x 6 jacek staff 204 Jun 19
drwxr-xr-x 6 jacek staff 204 Jun 19 20:46 openejb-webapp-common
-rw-r--r-- 1 jacek staff 1726 Jun 1 22:51 pom.xml
drwxr-xr-x 4 jacek staff 136 Jun 19 20:46 target
- drwxr-xr-x 4 jacek staff 136 Jun 1 22:51 test</p>
+ drwxr-xr-x 4 jacek staff 136 Jun 1 22:51 test
+</code></pre>
<p>The most common choice is to go to openejb-standalone which is exactly what
the name stands for - it lets you get OpenEJB up and running from a command
@@ -438,34 +421,31 @@ your EJBs right away. Looking at the <em
reveals the tar.gz'ed and zip'ed distributions. Unpack one and give it a
go.</p>
-<pre><code>jacek@devmac /Users/jacek/oss/openejb3/assembly/openejb-standalone/target
-$ jar -xvf openejb-3.2-SNAPSHOT.zip
- created: openejb-3.2-SNAPSHOT/
- ...
-
-jacek@devmac /Users/jacek/oss/openejb3/assembly/openejb-standalone/target
-$ cd openejb-3.2-SNAPSHOT
-
-jacek@devmac
-</code></pre>
+<pre><code>
+ jacek@devmac /Users/jacek/oss/openejb3/assembly/openejb-standalone/target
+ $ jar -xvf openejb-3.2-SNAPSHOT.zip
+ created: openejb-3.2-SNAPSHOT/
+ ...
-<p>/Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT
- $ chmod +x ./bin/openejb</p>
+ jacek@devmac /Users/jacek/oss/openejb3/assembly/openejb-standalone/target
+ $ cd openejb-3.2-SNAPSHOT
-<pre><code>jacek@devmac
-</code></pre>
+ jacek@devmac
+/Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT
+ $ chmod +x ./bin/openejb
-<p>/Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT
+ jacek@devmac
+/Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT
$ ./bin/openejb start
ERROR - Logging may not operate as expected. The directories for the
following files do not exist so no file can be created. See the list
below.
- ERROR - [0]</p>
+ ERROR - [0]
-<p>/Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT/conf/logs/transaction.log
- ERROR - [1]</p>
+/Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT/conf/logs/transaction.log
+ ERROR - [1]
-<p>/Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT/conf/logs/openejb.log
+/Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT/conf/logs/openejb.log
Apache OpenEJB 3.2-SNAPSHOT build: 20100619-08:45
http://openejb.apache.org/
log4j:WARN No appenders could be found for logger
@@ -476,37 +456,37 @@ below.
Jun 19, 2010 9:00:58 PM org.apache.cxf.bus.spring.BusApplicationContext
getConfigResources
INFO: No cxf.xml configuration file detected, relying on defaults.
- <em>* Starting Services *</em>
- NAME IP PORT <br />
- httpejbd 127.0.0.1 4204 <br />
- admin thread 127.0.0.1 4200 <br />
- ejbd 127.0.0.1 4201 <br />
- ejbd 127.0.0.1 4203 <br />
- hsql 127.0.0.1 9001 <br />
- telnet 127.0.0.1 4202 <br />
+ ** Starting Services **
+ NAME IP PORT
+ httpejbd 127.0.0.1 4204
+ admin thread 127.0.0.1 4200
+ ejbd 127.0.0.1 4201
+ ejbd 127.0.0.1 4203
+ hsql 127.0.0.1 9001
+ telnet 127.0.0.1 4202
-------
- Ready!</p>
+ Ready!
+</code></pre>
<p>There's another, slightly less error-prone approach using a shell script -
<em>try.sh</em> - that's tailor-made for that particular task - running OpenEJB 3
right after it's been built locally. No need to remember these
aforementioned steps but the mere name of the script itself</p>
-<pre><code>jacek@devmac /Users/jacek/oss/openejb3/assembly/openejb-standalone
-$ ./try.sh
-x openejb-3.2-SNAPSHOT/lib/xmlsec-1.4.3.jar
-...
-ERROR - Logging may not operate as expected. The directories for the
-</code></pre>
-
-<p>following files do not exist so no file can be created. See the list
+<pre><code>
+ jacek@devmac /Users/jacek/oss/openejb3/assembly/openejb-standalone
+ $ ./try.sh
+ x openejb-3.2-SNAPSHOT/lib/xmlsec-1.4.3.jar
+ ...
+ ERROR - Logging may not operate as expected. The directories for the
+following files do not exist so no file can be created. See the list
below.
- ERROR - [0]</p>
+ ERROR - [0]
-<p>/Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT/conf/logs/transaction.log
- ERROR - [1]</p>
+/Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT/conf/logs/transaction.log
+ ERROR - [1]
-<p>/Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT/conf/logs/openejb.log
+/Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT/conf/logs/openejb.log
Apache OpenEJB 3.2-SNAPSHOT build: 20100619-08:45
http://openejb.apache.org/
2010-06-19 21:09:35,780 - INFO - openejb.home =
@@ -520,12 +500,12 @@ below.
2010-06-19 21:09:53,376 - INFO - [Server@230cc23b]
: [Thread[main,5,main]
]: checkRunning(false) exited
- <em>* Starting Services *</em>
- NAME IP PORT <br />
- httpejbd 127.0.0.1 4204 <br />
- admin thread 127.0.0.1 4200 <br />
- ejbd 127.0.0.1 4201 <br />
- ejbd 127.0.0.1 4203 <br />
+ ** Starting Services **
+ NAME IP PORT
+ httpejbd 127.0.0.1 4204
+ admin thread 127.0.0.1 4200
+ ejbd 127.0.0.1 4201
+ ejbd 127.0.0.1 4203
2010-06-19 21:09:54,475 - INFO - [Server@230cc23b]
: Initiating startup sequence...
2010-06-19 21:09:54,479 - INFO - [Server@230cc23b]
@@ -542,10 +522,12 @@ below.
2010-06-19 21:09:54,656 - INFO - [Server@230cc23b]
: From command line, use [Ctrl]
+[C] to abort abruptly
- hsql 127.0.0.1 9001 <br />
- telnet 127.0.0.1 4202 <br />
+ hsql 127.0.0.1 9001
+ telnet 127.0.0.1 4202
-------
- Ready!</p>
+ Ready!
+
+</code></pre>
<p>The old 2 finger salute - Ctrl-C - stops the OpenEJB instance.</p>
@@ -560,25 +542,25 @@ debug options. There are essentially two
debugged at any point you wish. If you are in the directory where you
extracted the assembly to, just issue the following command...</p>
-<pre><code>jacek@devmac
-</code></pre>
-
-<p>Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT
+<pre><code>
+ jacek@devmac
+Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT
$ OPENEJB_OPTS="-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8001"
-./bin/openejb start</p>
+./bin/openejb start
+</code></pre>
<p>Debug and suspend until a debugger has been attached. This is helpful if
the code that is to be debugged happens to be some of the startup code. The
following command would achieve this mode...</p>
-<pre><code>jacek@devmac
-</code></pre>
-
-<p>Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT
+<pre><code>
+ jacek@devmac
+Users/jacek/oss/openejb3/assembly/openejb-standalone/target/openejb-3.2-SNAPSHOT
$ OPENEJB_OPTS="-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8001"
-./bin/openejb start</p>
+./bin/openejb start
+</code></pre>
<p>Once either mode is started, just attach your favourite development IDE or
debugger, and away you go.</p>
Modified: websites/production/openejb/content/examples-trunk/bean-validation-design-by-contract/README.html
==============================================================================
--- websites/production/openejb/content/examples-trunk/bean-validation-design-by-contract/README.html (original)
+++ websites/production/openejb/content/examples-trunk/bean-validation-design-by-contract/README.html Thu Dec 15 17:15:17 2011
@@ -144,7 +144,6 @@ import javax.validation.constraints.Size
*/
@Stateless
public class OlympicGamesManager {
- @NotNull
public String addSportMan(@Pattern(regexp = "^[A-Za-z]+$") String name, @Size(min = 2, max = 4) String country) {
if (country.equals("USA")) {
return null;
Modified: websites/production/openejb/content/examples-trunk/bean-validation-design-by-contract/src/main/java/org/superbiz/designbycontract/OlympicGamesManager.java
==============================================================================
--- websites/production/openejb/content/examples-trunk/bean-validation-design-by-contract/src/main/java/org/superbiz/designbycontract/OlympicGamesManager.java (original)
+++ websites/production/openejb/content/examples-trunk/bean-validation-design-by-contract/src/main/java/org/superbiz/designbycontract/OlympicGamesManager.java Thu Dec 15 17:15:17 2011
@@ -17,7 +17,6 @@
package org.superbiz.designbycontract;
import javax.ejb.Stateless;
-import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
@@ -26,7 +25,6 @@ import javax.validation.constraints.Size
*/
@Stateless
public class OlympicGamesManager {
- @NotNull
public String addSportMan(@Pattern(regexp = "^[A-Za-z]+$") String name, @Size(min = 2, max = 4) String country) {
if (country.equals("USA")) {
return null;
Modified: websites/production/openejb/content/examples-trunk/index.html
==============================================================================
--- websites/production/openejb/content/examples-trunk/index.html (original)
+++ websites/production/openejb/content/examples-trunk/index.html Thu Dec 15 17:15:17 2011
@@ -190,7 +190,8 @@
<h3>Proxy Beans</h3></li>
<li><a href="dynamic-dao-implementation/README.html">dynamic-dao-implementation</a></li>
-<li><a href="dynamic-implementation/README.html">dynamic-implementation</a></div></li>
+<li><a href="dynamic-implementation/README.html">dynamic-implementation</a></li>
+<li><a href="dynamic-proxy-to-access-mbean/README.html">dynamic-proxy-to-access-mbean</a></div></li>
</ul>
<p><div class="span-one-third"></p>
Modified: websites/production/openejb/content/examples-trunk/injection-of-entitymanager/src/test/java/org/superbiz/injection/jpa/MoviesTest.java
==============================================================================
--- websites/production/openejb/content/examples-trunk/injection-of-entitymanager/src/test/java/org/superbiz/injection/jpa/MoviesTest.java (original)
+++ websites/production/openejb/content/examples-trunk/injection-of-entitymanager/src/test/java/org/superbiz/injection/jpa/MoviesTest.java Thu Dec 15 17:15:17 2011
@@ -33,7 +33,8 @@ public class MoviesTest extends TestCase
p.put("movieDatabase.JdbcDriver", "org.hsqldb.jdbcDriver");
p.put("movieDatabase.JdbcUrl", "jdbc:hsqldb:mem:moviedb");
- final Context context = EJBContainer.createEJBContainer(p).getContext();
+ EJBContainer container = EJBContainer.createEJBContainer(p);
+ final Context context = container.getContext();
Movies movies = (Movies) context.lookup("java:global/injection-of-entitymanager/Movies");
@@ -49,6 +50,8 @@ public class MoviesTest extends TestCase
}
assertEquals("Movies.getMovies()", 0, movies.getMovies().size());
+
+ container.close();
}
}
//END SNIPPET: code
Modified: websites/production/openejb/content/examples-trunk/pom.xml
==============================================================================
--- websites/production/openejb/content/examples-trunk/pom.xml (original)
+++ websites/production/openejb/content/examples-trunk/pom.xml Thu Dec 15 17:15:17 2011
@@ -17,7 +17,7 @@
limitations under the License.
-->
-<!-- $Rev: 1195386 $ $Date: 2011-10-31 10:00:38 +0000 (Mon, 31 Oct 2011) $ -->
+<!-- $Rev: 1208817 $ $Date: 2011-11-30 21:52:15 +0000 (Wed, 30 Nov 2011) $ -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
@@ -37,6 +37,7 @@
<module>simple-stateless-with-descriptor</module>
<module>simple-singleton</module>
<module>simple-mdb</module>
+ <module>simple-mdb-and-cdi</module>
<module>simple-mdb-with-descriptor</module>
<module>simple-cmp2</module>
<module>simple-webservice</module>
@@ -91,6 +92,8 @@
<module>dynamic-implementation</module>
<module>cdi-alternative-and-stereotypes</module>
<module>cdi-events</module>
+ <module>dynamic-proxy-to-access-mbean</module>
+ <module>reload-persistence-unit-properties</module>
</modules>
<profiles>
<profile>
Modified: websites/production/openejb/content/examples-trunk/quartz-app/pom.xml
==============================================================================
--- websites/production/openejb/content/examples-trunk/quartz-app/pom.xml (original)
+++ websites/production/openejb/content/examples-trunk/quartz-app/pom.xml Thu Dec 15 17:15:17 2011
@@ -22,7 +22,7 @@
<artifactId>quartz-app</artifactId>
<version>1.1-SNAPSHOT</version>
<packaging>pom</packaging>
- <name>OpenEJB :: Examples :: Quartz Application</name>
+ <name>OpenEJB :: Examples :: Quartz</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Modified: websites/production/openejb/content/examples-trunk/quartz-app/quartz-beans/pom.xml
==============================================================================
--- websites/production/openejb/content/examples-trunk/quartz-app/quartz-beans/pom.xml (original)
+++ websites/production/openejb/content/examples-trunk/quartz-app/quartz-beans/pom.xml Thu Dec 15 17:15:17 2011
@@ -25,7 +25,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>quartz-beans</artifactId>
<packaging>jar</packaging>
- <name>Quartz Beans</name>
+ <name>OpenEJB :: Examples :: Quartz :: Quartz Beans</name>
<dependencies>
<dependency>
<groupId>org.superbiz.quartz</groupId>
@@ -92,4 +92,4 @@
</snapshotRepository>
</distributionManagement>
-</project>
\ No newline at end of file
+</project>
Modified: websites/production/openejb/content/examples-trunk/quartz-app/quartz-beans/src/test/java/org/superbiz/quartz/QuartzMdbTest.java
==============================================================================
--- websites/production/openejb/content/examples-trunk/quartz-app/quartz-beans/src/test/java/org/superbiz/quartz/QuartzMdbTest.java (original)
+++ websites/production/openejb/content/examples-trunk/quartz-app/quartz-beans/src/test/java/org/superbiz/quartz/QuartzMdbTest.java Thu Dec 15 17:15:17 2011
@@ -16,6 +16,7 @@
*/
package org.superbiz.quartz;
+import org.apache.openejb.config.OutputGeneratedDescriptors;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
@@ -31,7 +32,7 @@ public class QuartzMdbTest {
@BeforeClass
public static void beforeClass() throws Exception {
-
+ System.setProperty(OutputGeneratedDescriptors.OUTPUT_DESCRIPTORS, "false"); // just to avoid to dump files in /tmp
if (null == initialContext) {
Properties properties = new Properties();
properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
Modified: websites/production/openejb/content/examples-trunk/quartz-app/quartz-ra/pom.xml
==============================================================================
--- websites/production/openejb/content/examples-trunk/quartz-app/quartz-ra/pom.xml (original)
+++ websites/production/openejb/content/examples-trunk/quartz-app/quartz-ra/pom.xml Thu Dec 15 17:15:17 2011
@@ -25,7 +25,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>quartz-ra</artifactId>
<packaging>jar</packaging>
- <name>Quartz Resource Adapter</name>
+ <name>OpenEJB :: Examples :: Quartz :: Quartz Resource Adapter</name>
<description>
Maven doesn't allow rar files in the test classpath for some reason,
so we have to pull this trick to get it in the classpath.
@@ -56,4 +56,4 @@
<url>file://${basedir}/target/snapshot-repo/</url>
</snapshotRepository>
</distributionManagement>
-</project>
\ No newline at end of file
+</project>