==License== New BSD License Copyright (c) 2009, http://www.realxtend.org/ All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the realXtend nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ==Building ModreX== ===Build reqirements=== ====Windows==== Only requirement for Windows is the build tool. Supported build tools are Microsoft Visual C# 2008, mono and nant. http://www.microsoft.com/express/vcsharp/ http://www.mono-project.com/ http://nant.sourceforge.net/ ====Linux==== See: http://opensimulator.org/wiki/Dependencies#Linux and http://opensimulator.org/wiki/Build_Instructions#Linux.2FMac_OS_X.2FFreeBSD ===Getting the source and compiling=== 1. To start the build process, first get the latest OpenSim source codes. More information how to get OpenSim source code, see: http://opensimulator.org/wiki/Download 2. After getting the OpenSim source, get the ModreX sources. To do this, follow these instructions: * Navigate to addon-modules directory under OpenSim trunk * Check out the ModreX source to directory ModreX with command: svn checkout http://forge.opensimulator.org/svn/modrex/trunk ModreX * To access the svn use 'anonymous' as the username and a blank password * Note: it is very important that you check out the source spesificly to ModreX direcotry under addon-modules directory! If this is not done properly next steps will produce errors. 3. Now before building, you must run the prebuilding script that will create the project files from the prebuild.xml. Go to OpenSim trunk root directory and run the runprebuild.bat or ./runprebuild.sh depending from the operating system you are using. 4. Now the project files should be successfully built and the project is ready for building. * With Visual C#, open OpenSim.sln and build it. ModreX projects should be inside the solution under ModularRex sub-solution. * With mono/nant, run nant 5. After successful build, some dependency files should have been automaticly copied to bin/ScriptEngines/Lib and bin/ScriptEngines/PythonScript directories. If they however do not exist, manually copy them from addon-modules/ModreX/ModularRex/ScriptEngines/.