How to get the modules from Google code via SVN
BlitzMax Forums/Brucey's Modules/How to get the modules from Google code via SVN
| ||
1. Install TortoiseSVN and restart your computer. 2. Create a folder "C:\BlitzMax\mod\bah.mod". 3. Right-click on this folder and select the "SVN Checkout" menu item. 4. In the repository url field, enter "http://maxmods.googlecode.com/svn/trunk/". 5. Press OK and wait. 6. Copy the folders from "C:\BlitzMax\mod\bah.mod\maxmods" to "C:\BlitzMax\mod\bah.mod" and delete the "C:\BlitzMax\mod\bah.mod\maxmods" folder. 7. Compile whatever modules you want to use. |
| ||
or from the commandline / batch file, with sliksvn installed: 1) install SlikSVN 2) Create a folder "C:\BlitzMax\mod\bah.mod". 3) "c:\program files\SlikSvn\bin\svn.exe" checkout http://maxmods.googlecode.com/svn/trunk/ c:\blitzmax\mod\bah.mod Any time you wish to check for updates, just re-run #3 (e.g. stick it in a batchfile for periodic refreshes) |
| ||
Sticky this thread please... |
| ||
Both solution will download every modules of Brucey. While this is acceptable it may take a while to download/build every modules and especially those that you may not need. Imagine that you only whant the CEGUI module, thanks to TortoiseSVN you could also do this : • Follow the 2 first steps of Leadwerks. • Use the mouse contextual menu (right clic) on or inside your bah.mod folder and choose SVN Checkout • Paste this url in the URL of repository "http://maxmods.googlecode.com/svn/trunk/cegui.mod/" (you can browse them from the "http://maxmods.googlecode.com/svn/trunk/" url) • Add \cegui.mod\ to the line "C:\BlitzMax\mod\bah.mod\cegui.mod\" (next time tortoise will add this automatically :) • Click OK (Tortoise download the mod files and automatically create the mod folder for you) • When it's done compile the module :) To update the module: • Right clic on the module folder (here cegui.mod) and choose SVN Update. Don't forget to compile the modules each time you update it ;-) HTH :) |