|
|
@ -4,10 +4,12 @@ import com.fr.base.FRContext; |
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
import com.fr.design.RestartHelper; |
|
|
|
import com.fr.design.RestartHelper; |
|
|
|
import com.fr.design.extra.After; |
|
|
|
import com.fr.design.extra.After; |
|
|
|
|
|
|
|
import com.fr.design.extra.LoginCheckContext; |
|
|
|
import com.fr.design.extra.PluginHelper; |
|
|
|
import com.fr.design.extra.PluginHelper; |
|
|
|
import com.fr.design.extra.Process; |
|
|
|
import com.fr.design.extra.Process; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.plugin.PluginVerifyException; |
|
|
|
import com.fr.plugin.PluginVerifyException; |
|
|
|
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.*; |
|
|
|
|
|
|
|
|
|
|
@ -38,6 +40,10 @@ public class InstallOnlineExecutor implements Executor { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void run(final Process<String> process) { |
|
|
|
public void run(final Process<String> process) { |
|
|
|
|
|
|
|
if(StringUtils.isBlank(DesignerEnvManager.getEnvManager().getBBSName())){ |
|
|
|
|
|
|
|
LoginCheckContext.fireLoginCheckListener(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if(StringUtils.isNotBlank(DesignerEnvManager.getEnvManager().getBBSName())) { |
|
|
|
String username = DesignerEnvManager.getEnvManager().getBBSName(); |
|
|
|
String username = DesignerEnvManager.getEnvManager().getBBSName(); |
|
|
|
String password = DesignerEnvManager.getEnvManager().getBBSPassword(); |
|
|
|
String password = DesignerEnvManager.getEnvManager().getBBSPassword(); |
|
|
|
try { |
|
|
|
try { |
|
|
@ -51,6 +57,7 @@ public class InstallOnlineExecutor implements Executor { |
|
|
|
FRContext.getLogger().error(e.getMessage(), e); |
|
|
|
FRContext.getLogger().error(e.getMessage(), e); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
new Command() { |
|
|
|
new Command() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|