We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProcessing DevelopmentLibraries,  Tool Development › Many libraries will need to be rebuilt for 0094+
Page Index Toggle Pages: 1
Many libraries will need to be rebuilt for 0094+ (Read 2071 times)
Many libraries will need to be rebuilt for 0094+
Nov 30th, 2005, 2:54pm
 
from revisions.txt for rev 0096:

- added methods for libraries to be able to get sketch folder paths.
 the variable 'folder', which was changed to 'path' for rev 0094 is
 now called 'sketchPath', and won't change again. see the javadoc
 reference on dev.processing.org for more details on this and the
 additional functions:
 + sketchPath() returns the path to a file in the sketch folder.
 + dataPath() returns the path to a file inside the data folder.
 + createPath() will take any path and make sure that the
   interstitial folders exist. this is used by saveFrame() and
   savePath() to make sure that the parent folders exist.
   for instance, saveFrame("image/blah.tif") will use createPath()
   to ensure that the folder "image" exists inside the sketch folder.
 + savePath() is like sketchPath() but uses createPath() to make
   sure that it's save to save there.
 this will probably break the libraries again, but hopefully with
 this change, they should stop breaking going forward.
Page Index Toggle Pages: 1