mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ignore lack of ProductivityFeaturesRegistry.xml in unit test mode; remove dependency from RegExpSupport on resources
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
<orderEntry type="module" module-name="relaxng" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="spellchecker" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="xdebugger-impl" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="resources" scope="TEST" />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
|
||||
+3
-1
@@ -57,7 +57,9 @@ public class ProductivityFeaturesRegistryImpl extends ProductivityFeaturesRegist
|
||||
readFromXml("file:///ProductivityFeaturesRegistry.xml");
|
||||
}
|
||||
catch (Exception e) {
|
||||
LOG.error(e);
|
||||
if (!ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
LOG.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user