Abdellazizhammami / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Deletion of build files #793

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Change the "build.path" options in preferences (add it) to a path like 
C:\Arduino\builds\
2.Open a sketch and compile it. The builds files are now in the folder
3.Open another sketch and close it.
4. All the files are deleted in the builds folder

What is the expected output? What do you see instead?
Only the files created by the buildings process should be deleted. Not the one 
that the applications doesn't touch.
If you put a path like C:\Users\*Users*\Documents, EVERYTHING in the My 
documents will be deleted permanantly!!! Even the subfolders

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
Version 1.0. Windows 7. But that should be a bug since version 0018, the change 
that we don't use the folder "applet"

Please provide any additional information below.
When you specify a path like this, it should create a subdir with the project 
name, or use an array of file name to delete only those.

Original issue reported on code.google.com by johnny.l...@gmail.com on 15 Jan 2012 at 8:00