[GREENFOOT-401] Auto-detect and warn when a project is opened from a zip file
One thing that users do on Windows, especially in Greenfoot, is receive a zipped project, and then double click the project file inside to open the project. This is not obviously wrong on Windows, which treats zips as folders. But when you double click to open the project, Windows unzips only the project file (and not the source files, images, etc) to a temporary directory, and opens it. From the user's point of view, all the classes seem to be missing.
We should be able to detect this reasonably easy: if a project file is on its own in a directory, with no .java/.class files (especially if the project file makes reference to some), it is probably because it's been opened from a zip. We should pop up a warning saying they probably want to extract the zip and try again (but allow them to continue if they want to?).
- Issue type: Bug
- Priority: Medium