Updating+Classes


 * A bunch of easy steps for making "CLASSY" revisions**


 * A: Make sure that you have Subversion working**

1 . Install TortoiseSVN 32 bit or 64 bit client from @http://tortoisesvn.net/downloads. To check what kind of operating system you have. 2. Copy your old classes directory to a safe spot. 3. I created a new classes folder in the spot that Flash is expecting it. 4. Right-click on the new classes folder and choose **SVN Checkout**. Make sure the URL of repository is  []  and the checkout directory is your classes folder. Click OK. 5. All the classes will be copied into this folder from the Subversion repository and special icons - initially checkmarks should show on each file. 1 . Install [|ZigVersion] (the main site seems to have gone down but this is one of several places to get v1.2.3) 2. When you run ZigVersion the first time, click Get a License (the non-commercial license is free). Now that the website seems to be down, you may have to "borrow" another flasher's license. 3. When asked to Connect to a Server, supply the URL for New Server: **http://67.212.74.130/svn/clips** and click Connect. 4. Copy your old classes directory to a safe spot. 5. Select the classes folder from the server and drag it into a new finder window to the place that Flash is expecting it to be located. Then choose __Check Out__ not export:) 6. The instructions below are for using Tortoise under Windows. Please see @http://zigzig.com/downloads/zigversion-getting-started.pdf for instructions about updating, editing files and committing (checking in) finished copies.
 * Windows**
 * MAC**

1. Right click on the class (or the whole classes folder) and choose **SVN Update**. This ensures that you have the latest version from the subversion server.
 * B: Keep your classes up-to-date often**

2. Make whatever changes are needed to the class. Test them out thoroughly!!!!! Watch for backwards compatibility issues. 3. Remember to change the date in the "Help Doc Last Updated: Feb 25, 2010" line of code found near the top of the class.as file. 4. Remember to change the date in the getVersionInfo function. 5. Add code needed to Zen doc the changes. 6. Save a copy of your revisions dated on your local system. 7. Right click on the class and choose **SVN Commit**. Resolve any conflicts. This makes sure that your version is available to the whole team. 8. Upload the new version of the class to ftp://isenegger.ca/Common Source/classes. 9. Download initclasses.fla from the root of common source, compile it, and then upload initclasses.swf to a2WrapperDevelopment/lib/common 10. Under common source, download the latest version of the wrapper "clips_v2_b###.fla" (use the biggest number) and make sure that the latest version of 'clips_###.as' (which is in class/edu/clips/actions) is in your directory in lib/actions/ (otherwise the wrapper won't compile). Then Compile the wrapper (clips_v2_b###.fla) make sure you have no errors. Upload clips_v2_b###.swf to the root of a2WrapperDevelopment.
 * C:** **Make the changes to the class.**

1. Update the Classes sheet of the the **CLIPS Project at a Glance** Google Doc. 2. Update the Zen doc for the class at @http://www.isenegger.ca/tapatoo/docs/ by selecting the class(es) to update and pressing the "Document Local" button. 3. Check out the Zen docs to see if you like what you see. 4. For major changes, it might be nice to email the team to let them know as well.
 * D:** **Let the rest of the team know what you have done.**


 * E: Repeat as necessary!**