My Tomcat 8 installation folder contained a symbolic link to a folder (A) for some project of mine. When uninstalling tomcat, the contents of my project folder (A) was removed.
Which operating system was this on?
Windows 10
(In reply to Mark Thomas from comment #1) > Which operating system was this on? Windows 10
Thanks for the additional information. NSIS (the tool we use to build the Tomcat installer) follows symbolic links so the recursive delete which is part of the uninstall was responsible for removing the contents of the symlinked directory. I have modified the uninstaller so it first removes all symlinks from the Tomcat installation directory and any sub-directories before it does the recursive deletes. The fix has been applied to 9.0.x for 9.0.0.M4 onwards, 8.0.x for 8.0.33 onwards, 7.0.x for 7.0.69 onwards and 6.0.x for 6.0.46 onwards.