Skip to content

Commit

Permalink
Different magic potion for 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
qqilihq committed Aug 6, 2024
1 parent 867092d commit 384641c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
import org.knime.core.node.port.PortType;
import org.knime.core.node.port.PortTypeRegistry;
import org.knime.core.node.streamable.PartitionInfo;
import org.knime.core.node.workflow.WorkflowManager;
import org.knime.core.util.IEarlyStartup;
import org.knime.workbench.repository.RepositoryManager;
import org.knime.workbench.repository.model.Category;
import org.knime.workbench.repository.model.IContainerObject;
Expand Down Expand Up @@ -178,7 +178,9 @@ private static void printUsage() {

@Override
public Object start(final IApplicationContext context) throws Exception {
WorkflowManager.ROOT.toString(); // attention: magic potion, do not remove!
// attention: magic potion, do not remove!
IEarlyStartup.runAfterProfilesLoaded();
IEarlyStartup.runBeforeWFMClassLoaded();
String log4Jconfiguration = System.getProperty("log4j.configuration");
if (log4Jconfiguration == null) {
System.setProperty(KNIMEConstants.PROPERTY_DISABLE_LOG4J_CONFIG, "true");
Expand Down

0 comments on commit 384641c

Please sign in to comment.