mirror of
https://github.com/apache/openjpa.git
synced 2025-02-22 18:32:06 +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)
|
if (_conf == null)
|
||||||
_conf = newConfiguration();
|
_conf = newConfiguration();
|
||||||
if (_conf.getPropertiesResource() == null) {
|
if (_conf.getPropertiesResource() == null) {
|
||||||
ConfigurationProvider cp = Configurations.
|
ConfigurationProvider cp = Configurations.loadDefaults(null);
|
||||||
loadDefaults(getClassLoader());
|
|
||||||
if (cp != null)
|
if (cp != null)
|
||||||
cp.setInto(_conf);
|
cp.setInto(_conf);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user