The ZIP archive generated by start.ktor.io should place files in a top-level directory #4909
Replies: 4 comments 1 reply
-
|
As far as I can tell, this is already the current behaviour... |
Beta Was this translation helpful? Give feedback.
-
|
Just created a new sample project. The ZIP file still does not contain a top-level directory.
|
Beta Was this translation helpful? Give feedback.
-
|
Here is a sample Spring Boot project for comparison
|
Beta Was this translation helpful? Give feedback.
-
|
Oh, I thought you were saying the opposite! I guess this behaviour is a little different between operating systems, so nobody's noticed the issue before. This should be doable for the website by introducing an option to include a nested dir, though we can't change the default API behaviour to avoid breaking Intellij / CLI. I created an issue to address this https://youtrack.jetbrains.com/issue/KTOR-9287/Include-a-nested-directory-in-the-generated-archive |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Same as start.spring.io when generating the ZIP file, all files should be put in a top-level directory, so that when I extract the zip file i get a directory named the same as the ZIP file.
As a former user of start.spring.io I suspected the same behaviour, and now I have to remove all the extracted files from my git root directory.
Beta Was this translation helpful? Give feedback.
All reactions