автоматическая инициализация
This commit is contained in:
2024-05-22 00:38:37 +03:00
parent 8de3474fa4
commit edb6714ea8
4 changed files with 6 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ public class Visualiser extends Component {
//http://www.seostella.com/ru/article/2012/02/05/formatirovanie-daty-v-java.html
@Override
public void GetVersionInfo() {
version = 1101;
version = 1102;
String pattern = "MMM dd yyyy HH:mm:ss";
DateFormat df = new SimpleDateFormat(pattern, Locale.ENGLISH);
date_text = df.format(getClassBuildTime());

View File

@@ -25,7 +25,7 @@ public class RemoteInitialiseUser extends ConnectionPass<RemoteFile> {
}
@Override
protected void ServerAction() throws Exception {
String workspace_name = Utils.getDateName(".visual_sapfor_workspace");
String workspace_name = Utils.getDateName("visual_sapfor_workspace");
ShowMessage1("Создание рабочего пространства...");
target = new RemoteFile(user.connection.sftpChannel.getHome(), workspace_name);
user.connection.sftpChannel.mkdir(target.full_name);