openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awh...@apache.org
Subject svn commit: r430911 - /incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/ant/AbstractTask.java
Date Fri, 11 Aug 2006 22:53:59 GMT
Author: awhite
Date: Fri Aug 11 15:53:58 2006
New Revision: 430911

URL: http://svn.apache.org/viewvc?rev=430911&view=rev
Log:
Don't use ant classloader to find configuration providers?


Modified:
    incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/ant/AbstractTask.java

Modified: incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/ant/AbstractTask.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/ant/AbstractTask.java?rev=430911&r1=430910&r2=430911&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/ant/AbstractTask.java
(original)
+++ incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/ant/AbstractTask.java
Fri Aug 11 15:53:58 2006
@@ -155,8 +155,7 @@
         if (_conf == null)
             _conf = newConfiguration();
         if (_conf.getPropertiesResource() == null) {
-            ConfigurationProvider cp = Configurations.
-                loadDefaults(getClassLoader());
+            ConfigurationProvider cp = Configurations.loadDefaults(null);
             if (cp != null)
                 cp.setInto(_conf);
         }



Mime
View raw message