Compare commits

...

2 Commits

Author SHA1 Message Date
Chao MENG
e0c4d177e1 chore: update plugin timestamp (#5402) 2022-06-23 16:53:48 +08:00
Liu Xinquan
29d3ce507f fix(TDQ-20360) snowflake jdbc connection context mode issue (#5391) 2022-06-17 16:37:59 +08:00
2 changed files with 9 additions and 1 deletions

View File

@@ -38,4 +38,5 @@
required="true">
</libraryNeeded>
</extension>
</plugin>

View File

@@ -377,6 +377,10 @@ public class LocalLibraryManager implements ILibraryManagerService, IChangedLibr
.process(new Exception(getClass().getSimpleName() + " resolve " + module.getModuleName() + " failed !"));
}
try {
// try maven uri first
if (jarFile == null) {
jarFile = getJarFile(module.getMavenUri());
}
// try the jar name if can't get jar with uri.
if (jarFile == null) {
jarFile = getJarFile(jarNeeded);
@@ -388,7 +392,10 @@ public class LocalLibraryManager implements ILibraryManagerService, IChangedLibr
ILibraryManagerUIService libUiService = GlobalServiceRegister.getDefault()
.getService(ILibraryManagerUIService.class);
libUiService.installModules(new String[] { jarNeeded });
// libUiService.installModules(new String[] { jarNeeded });
List<ModuleNeeded> moduleList = new ArrayList<ModuleNeeded>();
moduleList.add(module);
libUiService.installModules(moduleList);
}
jarFile = retrieveJarFromLocal(module);
if (jarFile == null) {