fix
This commit is contained in:
@@ -82,14 +82,13 @@ public class Test extends riDBObject {
|
||||
File tempProject = getTempProject();
|
||||
File tempArchive = getTempArchive();
|
||||
//- создать бд.
|
||||
FileUtils.forceMkdir(tempProject);
|
||||
FileUtils.copyDirectory(dir, tempProject);
|
||||
//---
|
||||
db_project_info project = new db_project_info(tempProject);
|
||||
project.Open();
|
||||
project.Close();
|
||||
//-
|
||||
project.clearData();
|
||||
//-
|
||||
FileUtils.forceMkdir(tempProject);
|
||||
FileUtils.copyDirectory(dir, tempProject);
|
||||
//--
|
||||
ZipFolderPass zip = new ZipFolderPass();
|
||||
if (zip.Do(tempProject.getAbsolutePath(), tempArchive.getAbsolutePath())) {
|
||||
|
||||
Reference in New Issue
Block a user