Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
6176646e
Commit
6176646e
authored
Jan 16, 2025
by
Riegel
Browse files
Fix: Export of ZIP entries in subdirectories
parent
9bd18e59
Pipeline
#10907
passed with stage
in 2 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/utils/ArchivePacker.java
View file @
6176646e
...
@@ -35,6 +35,7 @@ public class ArchivePacker {
...
@@ -35,6 +35,7 @@ public class ArchivePacker {
}
}
CityDoctorModel
model
=
entry
.
getModel
();
CityDoctorModel
model
=
entry
.
getModel
();
Path
filePath
=
tmpDir
.
resolve
(
entry
.
getFullFileName
());
Path
filePath
=
tmpDir
.
resolve
(
entry
.
getFullFileName
());
Files
.
createDirectories
(
filePath
.
getParent
());
model
.
saveAs
(
filePath
.
toString
(),
model
.
isValidated
());
model
.
saveAs
(
filePath
.
toString
(),
model
.
isValidated
());
}
}
zipFolder
(
tmpDir
.
toFile
(),
outputPath
.
toFile
());
zipFolder
(
tmpDir
.
toFile
(),
outputPath
.
toFile
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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