| 1 | |
| 2 | == !MapGuide Maestro Source Code == |
| 3 | This page contains instructions for downloading and compiling [wiki:maestro MapGuide Maestro]. |
| 4 | |
| 5 | == Prerequisites == |
| 6 | The code will only compile with Microsoft Visual Studio 2005 or newer. The reason for this is the use of the System.Windows.Forms components, which are supported by Mono, but only at run time. In turn this means it can only compile on Windows. You can grab a free-of-charge copy of Visual Studio for C# by visiting [http://www.microsoft.com/express/vcsharp/ this link]. |
| 7 | |
| 8 | You will also need a subversion (SVN) client. I recommend the [http://tortoisesvn.net/downloads TortoiseSVN plugin] for Windows, as well as the [http://ankhsvn.open.collab.net/ AnkhSVN plugin] for Visual Studio. |
| 9 | |
| 10 | == Downloading the code == |
| 11 | After installing TortoisSVN, complete these steps in order: |
| 12 | |
| 13 | 1. Create a new folder, called Maestro |
| 14 | 2. Right click the folder, and select SVN Checkout |
| 15 | 3. As the Repository Url, enter: http://svn.osgeo.org/mapguide/trunk/Tools/Maestro |
| 16 | 4. Click OK |
| 17 | |
| 18 | The repository should allow anonymous checkouts, if not try using you [OSGeo ID] credentials. |
| 19 | If you use a command line based SVN agent, this line should do the same: |
| 20 | {{{ |
| 21 | svn co http://svn.osgeo.org/mapguide/trunk/Tools/Maestro Maestro |
| 22 | }}} |
| 23 | |
| 24 | == Compiling the code == |
| 25 | Enter the folder Maestro/Maestro, and double click the file "Update DEBUG environment.bat". This will copy required files into the bin/Debug folder. Then doubleclick the solution file "OSGeo.MapGuide.Maestro.sln". Once loaded, press F5 to run the application in debug mode. |
| 26 | |
| 27 | === Getting code updates === |
| 28 | From time to time, you can check for updates, by right clicking the folder and choosing SVN Update. The TortoiseSVN context menu also gives access to code change history. |