Success! Looks like we've fixed this one. According to our records the fix was applied for
a recent build.
folder name 'deploy' seems to cause infinite loop creating folders too deep to delete
I hit the deploy button on my Sencha Touch 2 project and created a new folder called 'deploy' and selected that folder. Designer locked up creating multiple sub directories within that folder called deploy. By the time I closed the program, it had created so many sub directories that I am now getting a windows error saying the paths to the actual .js files are too long and cannot be deleted. I'm a little hesitant to try it again on my own computer as I can't find out how to actually get rid of these folders!
Using Version 2.0.0 Build 311 on Windows 7 Pro
Update: A little Googling provided a utility that removes windows files where the paths are too long.
Assume you deployed to within your project path. You can see why that would be bad! We do a very rough check to make sure your not doing this. If you could update me with the path to your project and the path you used for your deploy directory (in settings) that could help improve the circular folder copy check. Saving others your plight.
Ahh...I see. I am new to Designer and for some reason it did not occur to me to not put the deploy folder in the project folder! I'm not familiar with what that button should do exactly.
The path I was trying to deploy to when it created too many folders
I changed it to this
and it does prevent me from deploying, although until I read your response I didn't understand why. (no error message). Of course I tried it with a folder outside of the project path and it works.
Thanks to your test case we were able to integrate some more robust checking for absolute paths.
So I'm not sure this was related to the path being too long.
It was because the user was using the path to output that was inside the original project directory
a simple explanation:
cp -r project project/deploy
copying recursively where the destination is inside of the source is bad