no message
This commit is contained in:
@@ -175,7 +175,7 @@ public class db_project_info extends DBObject {
|
||||
Home = Paths.get(parent_in.Home.getAbsolutePath(), name).toFile();
|
||||
parent.SaveVersionToBuild(name);
|
||||
if (!Home.mkdir()) throw new PassException("Не удалось создать папку для версии");
|
||||
creationDate = Utils.getDateNumber(); //----------------------------------------------------------------------------->>>
|
||||
creationDate = CommonUtils.getDateNumber(); //----------------------------------------------------------------------------->>>
|
||||
CreateVisualiserData();
|
||||
parent.AddVersion(this);
|
||||
//если это делать раньше, папка версии учтется как подпапка.
|
||||
@@ -188,7 +188,7 @@ public class db_project_info extends DBObject {
|
||||
name = Home.getName();
|
||||
description = description_;
|
||||
if (create_data) {
|
||||
creationDate = Utils.getDateNumber(); //----------------------------------------------------------------------------->>>
|
||||
creationDate = CommonUtils.getDateNumber(); //----------------------------------------------------------------------------->>>
|
||||
CreateVisualiserData();
|
||||
}
|
||||
}
|
||||
@@ -205,7 +205,7 @@ public class db_project_info extends DBObject {
|
||||
if (stored_info == null) {
|
||||
name = Home.getName();
|
||||
description = "";
|
||||
creationDate = Utils.getDateNumber(); //----------------------------------------------------------------------------->>>
|
||||
creationDate = CommonUtils.getDateNumber(); //----------------------------------------------------------------------------->>>
|
||||
db.Insert(this);
|
||||
} else
|
||||
ExtractStoredInfo(stored_info);
|
||||
@@ -921,7 +921,7 @@ public class db_project_info extends DBObject {
|
||||
last_version.description = description_in;
|
||||
last_version.original = last_modification.name;
|
||||
last_version.Home = versionDirectory;
|
||||
last_version.creationDate = Utils.getDateNumber(); //----------------------------------------------------------------------------->>>
|
||||
last_version.creationDate = CommonUtils.getDateNumber(); //----------------------------------------------------------------------------->>>
|
||||
last_version.CreateVisualiserData();
|
||||
this.AddVersion(last_version);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user