mirror of
https://github.com/apache/openjpa.git
synced 2025-02-20 17:05:15 +00:00
Don't use ant classloader to find configuration providers?
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@430911 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aba057d644
commit
174bbd211f
@ -155,8 +155,7 @@ public abstract class AbstractTask extends MatchingTask {
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user