FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   Delete empty sketchfunction deletes wrongly
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Delete empty sketchfunction deletes wrongly  (Read 661 times)
scafativ


Delete empty sketchfunction deletes wrongly
« on: Sep 6th, 2003, 9:10pm »

 
It seems as though P5 deletes from the sketch directory any "empty" project.  That is smart.  However, it doesn't seem to check that the data directory is empty before doing so.
 
I'm just starting work on a sketch that will require quite a few data files, and I had created the project and put a number of files in the data directory, but hadn't started writing any code yet.  When I restarted P5, my sketch (and data) were gone.
 
 
fry


WWW
Re: Delete empty sketchfunction deletes wrongly
« Reply #1 on: Sep 7th, 2003, 11:40am »

yup, sorry about that. i've had this on the todo list to fix but i'm sorry you got bit by it as well
 
fry


WWW
Re: Delete empty sketchfunction deletes wrongly
« Reply #2 on: Sep 21st, 2003, 6:10pm »

fixed for rev 0060. it now calculates the size of the contents of the folder, to make sure that other useful files weren't added.
 
this behavior can also be disabled by adding the following line to lib/pde.properties:
sketchbook.auto_clean = false
 
Pages: 1 

« Previous topic | Next topic »