Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
vadere
vadere
Commits
de5772b8
Commit
de5772b8
authored
Jul 20, 2018
by
Stefan Schuhbaeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug in movement of not migratable files
parent
9afe5ec3
Pipeline
#62848
failed with stages
in 2 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
VadereSimulator/src/org/vadere/simulator/projects/migration/Migration.java
...rc/org/vadere/simulator/projects/migration/Migration.java
+1
-1
No files found.
VadereSimulator/src/org/vadere/simulator/projects/migration/Migration.java
View file @
de5772b8
...
...
@@ -112,7 +112,7 @@ public class Migration {
stats
.
upToDate
++;
}
}
catch
(
MigrationException
e
)
{
moveFileAddExtension
(
scenarioFilePath
,
legacyDir
,
NONMIGRATABLE_EXTENSION
,
dirName
.
equals
(
SCENARIO_DIR
));
moveFileAddExtension
(
scenarioFilePath
,
legacyDir
,
NONMIGRATABLE_EXTENSION
,
!
dirName
.
equals
(
SCENARIO_DIR
));
logger
.
error
(
"!> Can't migrate the scenario to latest version, removed it from the directory ("
+
e
.
getMessage
()
+
") If you can fix this problem manually, do so and then remove ."
+
NONMIGRATABLE_EXTENSION
+
" from the file in the "
+
LEGACY_DIR
+
"-directory "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment