tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r561876 - /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
Date Wed, 01 Aug 2007 17:16:58 GMT
Author: dblevins
Date: Wed Aug  1 10:16:56 2007
New Revision: 561876

URL: http://svn.apache.org/viewvc?view=rev&rev=561876
Log:
Accidentally checked in the ConfigurationFactory with DebuggableVmHackery enabled. Sorry.

Modified:
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java?view=diff&rev=561876&r1=561875&r2=561876
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
Wed Aug  1 10:16:56 2007
@@ -124,8 +124,11 @@
 
         chain.add(new InitEjbDeployments());
 
-        chain.add(new DebuggableVmHackery());
-
+        String debuggableVmHackery = SystemInstance.get().getProperty("openejb.debuggable-vm-hackery",
"false");
+        if (debuggableVmHackery.equalsIgnoreCase("true")){
+            chain.add(new DebuggableVmHackery());
+        }
+        
         chain.add(new CmpJpaConversion());
         chain.add(new OpenEjb2Conversion());
         chain.add(new SunConversion());



Mime
View raw message