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.
IndexProgramming Questions & HelpOther Libraries › How to use old and new library versions
Page Index Toggle Pages: 1
How to use old and new library versions (Read 951 times)
How to use old and new library versions
Feb 19th, 2010, 1:24am
 
Hi, is it possible to have an old and new version of a library install? you see I still need to have the old library because if I update and replace all my sketches wont be able to compile, so I wonder if its possible to keep the old version of the library and the new version, any suggestions?

I already try a different name for the new version but is not appearing in the Processing IDE, and also if the rename works I think it may break something in the package

Cheers
rS
Re: How to use old and new library versions
Reply #1 - Feb 19th, 2010, 2:25am
 
Yes, I think you are out of luck, unless you recompile one version to use a different package name...
A workaround would be to have a script (shell, cmd, etc.) to switch library folders depending on the sketch to run...
Re: How to use old and new library versions
Reply #2 - Feb 19th, 2010, 3:13am
 
NOOOOOOOOOOOOOOOO! Shocked

Quote:
A workaround would be to have a script (shell, cmd, etc.) to switch library folders depending on the sketch to run...

How can I do that?

Cheers
rS
Re: How to use old and new library versions
Reply #3 - Feb 19th, 2010, 6:32am
 
Use the rename facility provided by your system (Windows? MacOS? Linux?)
Nothing automated in my mind, just a manual, but easier, switch...
Needing a restart of PDE each time!
Page Index Toggle Pages: 1